In the Linux kernel, the following vulnerability has been resolved:
clk: mediatek: mt7622-apmixedsys: Fix an error handling path in clkmt8135apmixed_probe()
'clkdata' is allocated with mtkdevmallocclkdata(). So calling mtkfreeclkdata() explicitly in the remove function would lead to a double-free.
Remove the redundant call.
{ "vanir_signatures": [ { "deprecated": false, "signature_type": "Function", "target": { "file": "drivers/clk/mediatek/clk-mt7622-apmixedsys.c", "function": "clk_mt7622_apmixed_remove" }, "signature_version": "v1", "digest": { "length": 263.0, "function_hash": "51064147827736776128684346630113971811" }, "id": "CVE-2024-27433-06bdef90", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a32e88f2b20259f5fe4f8eed598bbc85dc4879ed" }, { "deprecated": false, "signature_type": "Function", "target": { "file": "drivers/clk/mediatek/clk-mt7622-apmixedsys.c", "function": "clk_mt7622_apmixed_remove" }, "signature_version": "v1", "digest": { "length": 263.0, "function_hash": "51064147827736776128684346630113971811" }, "id": "CVE-2024-27433-8199e8d0", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fa761ce7a1d15cca1a306b3635f81a22b15fee5b" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "drivers/clk/mediatek/clk-mt7622-apmixedsys.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "87377324902354117268279517950990294619", "208220391048408513835700840489497758026", "190049407457219032493106893155360300823", "225441882232218578211679149948019398357" ], "threshold": 0.9 }, "id": "CVE-2024-27433-8877d5c5", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a32e88f2b20259f5fe4f8eed598bbc85dc4879ed" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "drivers/clk/mediatek/clk-mt7622-apmixedsys.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "87377324902354117268279517950990294619", "208220391048408513835700840489497758026", "190049407457219032493106893155360300823", "225441882232218578211679149948019398357" ], "threshold": 0.9 }, "id": "CVE-2024-27433-df74adcb", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fa761ce7a1d15cca1a306b3635f81a22b15fee5b" } ] }