CVE-2024-58072

wifi: rtlwifi: remove unused check_buddy_priv

No CVSS score yet EPSS 0.21%

Published 6 Mar 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2024-58072

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-58072 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.5% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 26634c4b1868323f49f8cd24c3493b57819867fd, before f801e754efa21bd61b3cc15ec7565696165b272f
affected from 26634c4b1868323f49f8cd24c3493b57819867fd, before 1b9cbd8a9ae68b32099fbb03b2d5ffa0c5e0dcc9
affected from 26634c4b1868323f49f8cd24c3493b57819867fd, before 8e2fcc68fbaab3ad9f5671fee2be0956134b740a
affected from 26634c4b1868323f49f8cd24c3493b57819867fd, before 1e39b0486cdb496cdfba3bc89886150e46acf6f4
affected from 26634c4b1868323f49f8cd24c3493b57819867fd, before 465d01ef6962b82b1f0ad1f3e58b398dbd35c1c1
affected from 26634c4b1868323f49f8cd24c3493b57819867fd, before 543e3e9f2e9e47ded774c74e680f28a0ca362aee
affected from 26634c4b1868323f49f8cd24c3493b57819867fd, before 006e803af7408c3fc815b0654fc5ab43d34f0154
affected from 26634c4b1868323f49f8cd24c3493b57819867fd, before 2fdac64c3c35858aa8ac5caa70b232e03456e120
Other versions: unaffected
Linux
affected 3.10
unaffected before 3.10
unaffected from 5.4.291 up to and including 5.4.*
unaffected from 5.10.235 up to and including 5.10.*
unaffected from 5.15.179 up to and including 5.15.*
unaffected from 6.1.129 up to and including 6.1.*
unaffected from 6.6.76 up to and including 6.6.*
unaffected from 6.12.13 up to and including 6.12.*
unaffected from 6.13.2 up to and including 6.13.*
unaffected 6.14 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-58072 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-58072

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-58072
trivy image --scanners vuln IMAGE | grep CVE-2024-58072

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-58072 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.