In the Linux kernel, the following vulnerability has been resolved:
wifi: ath12k: fix memory leak in ath12kservicereadyextevent
Currently, in ath12kservicereadyextevent(), svcrdyext.macphycaps is not freed in the failure case, causing a memory leak. The following trace is observed in kmemleak:
unreferenced object 0xffff8b3eb5789c00 (size 1024): comm "softirq", pid 0, jiffies 4294942577 hex dump (first 32 bytes): 00 00 00 00 01 00 00 00 00 00 00 00 7b 00 00 10 ............{... 01 00 00 00 00 00 00 00 01 00 00 00 1f 38 00 00 .............8.. backtrace (crc 44e1c357): _kmallocnoprof+0x30b/0x410 ath12kwmimacphycapsparse+0x84/0x100 [ath12k] ath12kwmitlviter+0x5e/0x140 [ath12k] ath12kwmisvcrdyextparse+0x308/0x4c0 [ath12k] ath12kwmitlviter+0x5e/0x140 [ath12k] ath12kservicereadyextevent.isra.0+0x44/0xd0 [ath12k] ath12kwmioprx+0x2eb/0xd70 [ath12k] ath12khtcrxcompletionhandler+0x1f4/0x330 [ath12k] ath12kcerecvprocesscb+0x218/0x300 [ath12k] ath12kpciceworkqueue+0x1b/0x30 [ath12k] processonework+0x219/0x680 bhworker+0x198/0x1f0 taskletaction+0x13/0x30 handlesoftirqs+0xca/0x460 _irqexitrcu+0xbe/0x110 irqexitrcu+0x9/0x30
Free svcrdyext.macphycaps in the error case to fix this memory leak.
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/ee626f5d79d5817bb21d6f048dc0da4c4e383443/cves/2025/39xxx/CVE-2025-39890.json",
"cna_assigner": "Linux"
}[
{
"digest": {
"length": 531.0,
"function_hash": "54206749216049817174836136848702275364"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3a392f874ac83a77ad0e53eb8aafdbeb787c9298",
"deprecated": false,
"id": "CVE-2025-39890-0283f2c6",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "ath12k_service_ready_ext_event",
"file": "drivers/net/wireless/ath/ath12k/wmi.c"
}
},
{
"digest": {
"length": 531.0,
"function_hash": "54206749216049817174836136848702275364"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1089f65b2de78c7837ef6b4f26146a5a5b0b9749",
"deprecated": false,
"id": "CVE-2025-39890-187eebd7",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "ath12k_service_ready_ext_event",
"file": "drivers/net/wireless/ath/ath12k/wmi.c"
}
},
{
"digest": {
"length": 531.0,
"function_hash": "54206749216049817174836136848702275364"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@89142d34d5602c7447827beb181fa06eb08b9d5c",
"deprecated": false,
"id": "CVE-2025-39890-29e2265f",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "ath12k_service_ready_ext_event",
"file": "drivers/net/wireless/ath/ath12k/wmi.c"
}
},
{
"digest": {
"length": 531.0,
"function_hash": "54206749216049817174836136848702275364"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@99dbad1b01d3b2f361a9db55c1af1212be497a3d",
"deprecated": false,
"id": "CVE-2025-39890-718c622e",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "ath12k_service_ready_ext_event",
"file": "drivers/net/wireless/ath/ath12k/wmi.c"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"151203781367106503430214595928590400695",
"303477719185583528211405864128730000911",
"160326796229596461889421308844546507486",
"170229627790614660804418036229724812021"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3a392f874ac83a77ad0e53eb8aafdbeb787c9298",
"deprecated": false,
"id": "CVE-2025-39890-88322598",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/wireless/ath/ath12k/wmi.c"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"151203781367106503430214595928590400695",
"303477719185583528211405864128730000911",
"160326796229596461889421308844546507486",
"170229627790614660804418036229724812021"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1089f65b2de78c7837ef6b4f26146a5a5b0b9749",
"deprecated": false,
"id": "CVE-2025-39890-9bafab15",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/wireless/ath/ath12k/wmi.c"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"151203781367106503430214595928590400695",
"303477719185583528211405864128730000911",
"160326796229596461889421308844546507486",
"170229627790614660804418036229724812021"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@99dbad1b01d3b2f361a9db55c1af1212be497a3d",
"deprecated": false,
"id": "CVE-2025-39890-bc489079",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/wireless/ath/ath12k/wmi.c"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"151203781367106503430214595928590400695",
"303477719185583528211405864128730000911",
"160326796229596461889421308844546507486",
"170229627790614660804418036229724812021"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@89142d34d5602c7447827beb181fa06eb08b9d5c",
"deprecated": false,
"id": "CVE-2025-39890-bed31fd7",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "drivers/net/wireless/ath/ath12k/wmi.c"
}
}
]