CVE-2024-58072

Source
https://cve.org/CVERecord?id=CVE-2024-58072
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-58072.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-58072
Downstream
Related
Published
2025-03-06T15:54:11.665Z
Modified
2026-03-20T12:39:58.655937Z
Summary
wifi: rtlwifi: remove unused check_buddy_priv
Details

In the Linux kernel, the following vulnerability has been resolved:

wifi: rtlwifi: remove unused checkbuddypriv

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, checkbuddypriv 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58072.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.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/osv-test-cve-osv-conversion/osv-output/CVE-2024-58072.json"