CVE-2024-58072CWE-416

CVE-2024-58072

High · published March 6, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
11.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00214 · 11.1th percentile
Weakness
CWE-416 · Use After Free
Published
2025-03-06T21:15Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 3.10, < 5.4.2915.4.291
linux/linux_kernel≥ 5.5, < 5.10.2355.10.235
linux/linux_kernel≥ 5.11, < 5.15.1795.15.179
linux/linux_kernel≥ 5.16, < 6.1.1296.1.129
linux/linux_kernel≥ 6.2, < 6.6.766.6.76
linux/linux_kernel≥ 6.7, < 6.12.136.12.13
linux/linux_kernel≥ 6.13, < 6.13.26.13.2
References (12)
EPSS history
Timeline
  • 06 MAR 15:54Z
    wifi: rtlwifi: remove unused check_buddy_priv
    cvelistv5