In the Linux kernel, the following vulnerability has been resolved:
wifi: ath11k: fix memory leak in WMI firmware stats
Memory allocated for firmware pdev, vdev and beacon statistics are not released during rmmod.
Fix it by calling ath11kfwstats_free() function before hardware unregister.
While at it, avoid calling ath11kfwstats_free() while processing the firmware stats received in the WMI event because the local list is getting spliced and reinitialised and hence there are no elements in the list after splicing.
Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53602.json"
}"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53602.json"
[
{
"id": "CVE-2023-53602-0e93ae91",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@55248d36beb79d3a61c9fb3122dc377fff523c89",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "71955275075173780407555673592781440915",
"length": 890.0
},
"target": {
"function": "ath11k_update_stats_event",
"file": "drivers/net/wireless/ath/ath11k/wmi.c"
}
},
{
"id": "CVE-2023-53602-173589ee",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@86f9330a49d1464849482298dd34d361859183eb",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"64422169915542141472235917362605531060",
"276610960952870771530924425766750177714",
"150994718591598649842830542183735364956"
]
},
"target": {
"file": "drivers/net/wireless/ath/ath11k/mac.c"
}
},
{
"id": "CVE-2023-53602-230fd37e",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@86f9330a49d1464849482298dd34d361859183eb",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"137627207736740099434256381371100834449",
"100934051486578218416632647027980800898",
"218672658441051652791492618795438611474"
]
},
"target": {
"file": "drivers/net/wireless/ath/ath11k/wmi.c"
}
},
{
"id": "CVE-2023-53602-25dcf252",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@55248d36beb79d3a61c9fb3122dc377fff523c89",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"64422169915542141472235917362605531060",
"276610960952870771530924425766750177714",
"150994718591598649842830542183735364956"
]
},
"target": {
"file": "drivers/net/wireless/ath/ath11k/mac.c"
}
},
{
"id": "CVE-2023-53602-2ad811df",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6aafa1c2d3e3fea2ebe84c018003f2a91722e607",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "122334349209510358086879307944696897803",
"length": 254.0
},
"target": {
"function": "ath11k_mac_destroy",
"file": "drivers/net/wireless/ath/ath11k/mac.c"
}
},
{
"id": "CVE-2023-53602-5320f3ac",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@86f9330a49d1464849482298dd34d361859183eb",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "71955275075173780407555673592781440915",
"length": 890.0
},
"target": {
"function": "ath11k_update_stats_event",
"file": "drivers/net/wireless/ath/ath11k/wmi.c"
}
},
{
"id": "CVE-2023-53602-91e4c35c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@55248d36beb79d3a61c9fb3122dc377fff523c89",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "122334349209510358086879307944696897803",
"length": 254.0
},
"target": {
"function": "ath11k_mac_destroy",
"file": "drivers/net/wireless/ath/ath11k/mac.c"
}
},
{
"id": "CVE-2023-53602-99d4e729",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6aafa1c2d3e3fea2ebe84c018003f2a91722e607",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"137627207736740099434256381371100834449",
"100934051486578218416632647027980800898",
"218672658441051652791492618795438611474"
]
},
"target": {
"file": "drivers/net/wireless/ath/ath11k/wmi.c"
}
},
{
"id": "CVE-2023-53602-a742871e",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@55248d36beb79d3a61c9fb3122dc377fff523c89",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"137627207736740099434256381371100834449",
"100934051486578218416632647027980800898",
"218672658441051652791492618795438611474"
]
},
"target": {
"file": "drivers/net/wireless/ath/ath11k/wmi.c"
}
},
{
"id": "CVE-2023-53602-a7a7a956",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6aafa1c2d3e3fea2ebe84c018003f2a91722e607",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "163994375198217417155118684843103105529",
"length": 951.0
},
"target": {
"function": "ath11k_update_stats_event",
"file": "drivers/net/wireless/ath/ath11k/wmi.c"
}
},
{
"id": "CVE-2023-53602-b43fcbcc",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@86f9330a49d1464849482298dd34d361859183eb",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "122334349209510358086879307944696897803",
"length": 254.0
},
"target": {
"function": "ath11k_mac_destroy",
"file": "drivers/net/wireless/ath/ath11k/mac.c"
}
},
{
"id": "CVE-2023-53602-b4da800f",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6aafa1c2d3e3fea2ebe84c018003f2a91722e607",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"64422169915542141472235917362605531060",
"276610960952870771530924425766750177714",
"150994718591598649842830542183735364956"
]
},
"target": {
"file": "drivers/net/wireless/ath/ath11k/mac.c"
}
}
]