In the Linux kernel, the following vulnerability has been resolved:
clk: mediatek: fix of_iomap memory leak
Smatch reports: drivers/clk/mediatek/clk-mtk.c:583 mtkclksimpleprobe() warn: 'base' from ofiomap() not released on lines: 496.
This problem was also found in linux-next. In mtkclksimpleprobe(), base is not released when handling errors if clkdata is not existed, which may cause a leak. So free_base should be added here to release base.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53424.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53424.json"
[
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3db7285e044144fd88a356f5b641b9cd4b231a77",
"digest": {
"line_hashes": [
"238961272032759726035923306953331360776",
"41788767702329452724931486189603228376",
"134768238568706175191811114258436576567",
"48389019004993919067243831360354218109",
"105964316576547347996959007959275554310",
"273935583618961644236796309134514398353",
"93881511983265543513011901088454395423",
"204905946082405819981979469940204545216",
"94972990219383577257007338441295508376"
],
"threshold": 0.9
},
"id": "CVE-2023-53424-7f9cc701",
"deprecated": false,
"target": {
"file": "drivers/clk/mediatek/clk-mtk.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3db7285e044144fd88a356f5b641b9cd4b231a77",
"digest": {
"function_hash": "147231182092552176565610807026169124011",
"length": 2853.0
},
"id": "CVE-2023-53424-9b081475",
"deprecated": false,
"target": {
"file": "drivers/clk/mediatek/clk-mtk.c",
"function": "__mtk_clk_simple_probe"
}
}
]