{"id":"CVE-2024-58072","summary":"wifi: rtlwifi: remove unused check_buddy_priv","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: rtlwifi: remove unused check_buddy_priv\n\nCommit 2461c7d60f9f (\"rtlwifi: Update header file\") introduced a global\nlist of private data structures.\n\nLater on, commit 26634c4b1868 (\"rtlwifi Modify existing bits to match\nvendor version 2013.02.07\") started adding the private data to that list at\nprobe time and added a hook, check_buddy_priv to find the private data from\na similar device.\n\nHowever, that function was never used.\n\nBesides, though there is a lock for that list, it is never used. And when\nthe probe fails, the private data is never removed from the list. This\nwould cause a second probe to access freed memory.\n\nRemove the unused hook, structures and members, which will prevent the\npotential race condition on the list and its corruption during a second\nprobe when probe fails.","modified":"2026-03-20T12:39:58.655937Z","published":"2025-03-06T15:54:11.665Z","related":["ALSA-2025:20095","ALSA-2025:20518","SUSE-SU-2025:01919-1","SUSE-SU-2025:1177-1","SUSE-SU-2025:1178-1","SUSE-SU-2025:1180-1","SUSE-SU-2025:1293-1","SUSE-SU-2025:20190-1","SUSE-SU-2025:20192-1","SUSE-SU-2025:20260-1","SUSE-SU-2025:20270-1","USN-7521-2"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58072.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/006e803af7408c3fc815b0654fc5ab43d34f0154"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1b9cbd8a9ae68b32099fbb03b2d5ffa0c5e0dcc9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1e39b0486cdb496cdfba3bc89886150e46acf6f4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2fdac64c3c35858aa8ac5caa70b232e03456e120"},{"type":"WEB","url":"https://git.kernel.org/stable/c/465d01ef6962b82b1f0ad1f3e58b398dbd35c1c1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/543e3e9f2e9e47ded774c74e680f28a0ca362aee"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8e2fcc68fbaab3ad9f5671fee2be0956134b740a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f801e754efa21bd61b3cc15ec7565696165b272f"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58072.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58072"},{"type":"PACKAGE","url":"https://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"}}],"schema_version":"1.7.5"}