wifi: rtlwifi: remove unused check_buddy_priv
In the Linux kernel, the following vulnerability has been resolved: wifi: rtlwifi: remove unused check_buddy_priv Commit 2461c7d60f9f ("rtlwifi: Update header file") introduced a global list of private data structures. Later on, commit 26634c4b1868 ("rtlwifi Modify existing bits to match vendor version 2013.02.07") started adding the private data to that list at probe time and added a hook, check_buddy_priv to find the private data from a similar device. However, that function was never used. Besides, though there is a lock for that list, it is never used. And when the probe fails, the private data is never removed from the list. This would cause a second probe to access freed memory. Remove the unused hook, structures and members, which will prevent the potential race condition on the list and its corruption during a second probe when probe fails.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.235, 5.15.179, 5.4.291, 6.1.129, 6.12.13, 6.13.2, 6.6.76
- CVEs
- CVE-2024-58072
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 03:24 UTC · Revision 1
Source evidence
wifi: rtlwifi: remove unused check_buddy_priv
core-osv · Original sourcePublished 6 Mar 2025, 15:54 UTC
In the Linux kernel, the following vulnerability has been resolved: wifi: rtlwifi: remove unused check_buddy_priv Commit 2461c7d60f9f ("rtlwifi: Update header file") introduced a global list of private data structures. Later on, commit 26634c4b1868 ("rtlwifi Modify existing bits to match vendor version 2013.02.07") started adding the private data to that list at probe time and added a hook, check_buddy_priv to find the private data from a similar device. However, that function was never used. Besides, though there is a lock for that list, it is never used. And when the probe fails, the private data is never removed from the list. This would cause a second probe to access freed memory. Remove the unused hook, structures and members, which will prevent the potential race condition on the list and its corruption during a second probe when probe fails.
osv:CVE-2024-58072
Kernel
Fixed versions: 5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.76, 6.12.13, 6.13.2
Complete source record
{
"id": "fa08365d0e75f551270a2d698c0ad0036537157bb44b1463b516028c0af96538",
"url": "https://osv.dev/vulnerability/CVE-2024-58072",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "wifi: rtlwifi: remove unused check_buddy_priv",
"summary": "In the Linux kernel, the following vulnerability has been resolved: wifi: rtlwifi: remove unused check_buddy_priv Commit 2461c7d60f9f (\"rtlwifi: Update header file\") introduced a global list of private data structures. Later on, commit 26634c4b1868 (\"rtlwifi Modify existing bits to match vendor version 2013.02.07\") started adding the private data to that list at probe time and added a hook, check_buddy_priv to find the private data from a similar device. However, that function was never used. Besides, though there is a lock for that list, it is never used. And when the probe fails, the private data is never removed from the list. This would cause a second probe to access freed memory. Remove the unused hook, structures and members, which will prevent the potential race condition on the list and its corruption during a second probe when probe fails.",
"evidence": "osv:CVE-2024-58072",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.4.291",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.235",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.179",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.129",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.76",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.13",
"evidence": "/affected/1/ranges"
},
{
"value": "6.13.2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2024-58072",
"aliases": [
"CVE-2024-58072"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "26634c4b1868323f49f8cd24c3493b57819867fd"
},
{
"fixed": "f801e754efa21bd61b3cc15ec7565696165b272f"
},
{
"fixed": "1b9cbd8a9ae68b32099fbb03b2d5ffa0c5e0dcc9"
},
{
"fixed": "8e2fcc68fbaab3ad9f5671fee2be0956134b740a"
},
{
"fixed": "1e39b0486cdb496cdfba3bc89886150e46acf6f4"
},
{
"fixed": "465d01ef6962b82b1f0ad1f3e58b398dbd35c1c1"
},
{
"fixed": "543e3e9f2e9e47ded774c74e680f28a0ca362aee"
},
{
"fixed": "006e803af7408c3fc815b0654fc5ab43d34f0154"
},
{
"fixed": "2fdac64c3c35858aa8ac5caa70b232e03456e120"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58072.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.10.0"
},
{
"fixed": "5.4.291"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.235"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.179"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.129"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.76"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.13"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.13.2"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58072.json"
}
}
],
"modified": "2026-10-28T02:30:46.730303538Z",
"provider": "osv",
"references": [
"https://cert-portal.siemens.com/productcert/html/ssa-265688.html",
"https://cert-portal.siemens.com/productcert/html/ssa-784472.html",
"https://git.kernel.org/stable/c/006e803af7408c3fc815b0654fc5ab43d34f0154",
"https://git.kernel.org/stable/c/1b9cbd8a9ae68b32099fbb03b2d5ffa0c5e0dcc9",
"https://git.kernel.org/stable/c/1e39b0486cdb496cdfba3bc89886150e46acf6f4",
"https://git.kernel.org/stable/c/2fdac64c3c35858aa8ac5caa70b232e03456e120",
"https://git.kernel.org/stable/c/465d01ef6962b82b1f0ad1f3e58b398dbd35c1c1",
"https://git.kernel.org/stable/c/543e3e9f2e9e47ded774c74e680f28a0ca362aee",
"https://git.kernel.org/stable/c/8e2fcc68fbaab3ad9f5671fee2be0956134b740a",
"https://git.kernel.org/stable/c/f801e754efa21bd61b3cc15ec7565696165b272f",
"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html",
"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58072.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-58072",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58072.json"
}
},
"related_cves": [
{
"value": "CVE-2024-58072",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 514490,
"published_at": "2025-03-06T15:54:11.665+00:00"
}