High severity · published Mar 6, 2025
CVE-2024-58072
wifi: rtlwifi: remove unused check_buddy_priv
7.8
CVSS
0.2%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 12% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
3.10 before 5.4.291; 5.5 before 5.10.235; 5.11 before 5.15.179; 5.16 before 6.1.129; 6.2 before 6.6.76; 6.7 before 6.12.13; +1 more · source: NVD
LI
Linux · Linux
26634c4b1868323f49f8cd24c3493b57819867fd before f801e754efa21bd61b3cc15ec7565696165b272f; 26634c4b1868323f49f8cd24c3493b57819867fd before 1b9cbd8a9ae68b32099fbb03b2d5ffa0c5e0dcc9; 26634c4b1868323f49f8cd24c3493b57819867fd before 8e2fcc68fbaab3ad9f5671fee2be0956134b740a; 26634c4b1868323f49f8cd24c3493b57819867fd before 1e39b0486cdb496cdfba3bc89886150e46acf6f4; 26634c4b1868323f49f8cd24c3493b57819867fd before 465d01ef6962b82b1f0ad1f3e58b398dbd35c1c1; 26634c4b1868323f49f8cd24c3493b57819867fd before 543e3e9f2e9e47ded774c74e680f28a0ca362aee; +3 more · source: vendor
SS
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem · Siemens
0; 0 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-58072
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-58072
Patch
https://git.kernel.org/stable/c/006e803af7408c3fc815b0654fc5ab43d34f0154
Patch
https://git.kernel.org/stable/c/1b9cbd8a9ae68b32099fbb03b2d5ffa0c5e0dcc9
Patch
https://git.kernel.org/stable/c/1e39b0486cdb496cdfba3bc89886150e46acf6f4
Patch
https://git.kernel.org/stable/c/2fdac64c3c35858aa8ac5caa70b232e03456e120
Patch
https://git.kernel.org/stable/c/465d01ef6962b82b1f0ad1f3e58b398dbd35c1c1
Patch
https://git.kernel.org/stable/c/543e3e9f2e9e47ded774c74e680f28a0ca362aee
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
