In the Linux kernel, the following vulnerability has been resolved:
clk: Fix memory leak in devmclknotifier_register()
devmclknotifier_register() allocates a devres resource for clk notifier but didn't register that to the device, so the notifier didn't get unregistered on device detach and the allocated resource was leaked.
Fix the issue by registering the resource through devres_add().
This issue was found with kmemleak on a Chromebook.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53674.json"
}[
{
"digest": {
"length": 343.0,
"function_hash": "136734311984473790627284186676327685996"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@efbbda79b2881a04dcd0e8f28634933d79e17e49",
"deprecated": false,
"id": "CVE-2023-53674-0cccafbb",
"signature_type": "Function",
"target": {
"function": "devm_clk_notifier_register",
"file": "drivers/clk/clk.c"
},
"signature_version": "v1"
},
{
"digest": {
"length": 343.0,
"function_hash": "136734311984473790627284186676327685996"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7fb933e56f77a57ef7cfc59fc34cbbf1b1fa31ff",
"deprecated": false,
"id": "CVE-2023-53674-0f37f55a",
"signature_type": "Function",
"target": {
"function": "devm_clk_notifier_register",
"file": "drivers/clk/clk.c"
},
"signature_version": "v1"
},
{
"digest": {
"length": 343.0,
"function_hash": "136734311984473790627284186676327685996"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cb1b04fd4283fc8f9acefe0ddc61ba072ed44877",
"deprecated": false,
"id": "CVE-2023-53674-15c73681",
"signature_type": "Function",
"target": {
"function": "devm_clk_notifier_register",
"file": "drivers/clk/clk.c"
},
"signature_version": "v1"
},
{
"digest": {
"length": 343.0,
"function_hash": "136734311984473790627284186676327685996"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@49451db71b746df990888068961f1033f7c9b734",
"deprecated": false,
"id": "CVE-2023-53674-3bfd8bc0",
"signature_type": "Function",
"target": {
"function": "devm_clk_notifier_register",
"file": "drivers/clk/clk.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"163756796846913535826918998818567645758",
"21871091217667841671024313842986269152",
"40657147632586412282510009860249501831",
"78169778613717306549544221171342707184"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@efbbda79b2881a04dcd0e8f28634933d79e17e49",
"deprecated": false,
"id": "CVE-2023-53674-52cdaf64",
"signature_type": "Line",
"target": {
"file": "drivers/clk/clk.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"163756796846913535826918998818567645758",
"21871091217667841671024313842986269152",
"40657147632586412282510009860249501831",
"78169778613717306549544221171342707184"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7fb933e56f77a57ef7cfc59fc34cbbf1b1fa31ff",
"deprecated": false,
"id": "CVE-2023-53674-6f0901ac",
"signature_type": "Line",
"target": {
"file": "drivers/clk/clk.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"163756796846913535826918998818567645758",
"21871091217667841671024313842986269152",
"40657147632586412282510009860249501831",
"78169778613717306549544221171342707184"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cb1b04fd4283fc8f9acefe0ddc61ba072ed44877",
"deprecated": false,
"id": "CVE-2023-53674-a292ae61",
"signature_type": "Line",
"target": {
"file": "drivers/clk/clk.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"163756796846913535826918998818567645758",
"21871091217667841671024313842986269152",
"40657147632586412282510009860249501831",
"78169778613717306549544221171342707184"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@49451db71b746df990888068961f1033f7c9b734",
"deprecated": false,
"id": "CVE-2023-53674-b41a4bc7",
"signature_type": "Line",
"target": {
"file": "drivers/clk/clk.c"
},
"signature_version": "v1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53674.json"