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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-03-06 · Modified: 2026-11-05
- Aliases: UBUNTU-CVE-2024-58072, DEBIAN-CVE-2024-58072
- Record: https://cvemate.com/vulnerability/CVE-2024-58072 · JSON: https://cvemate.com/vulnerability/CVE-2024-58072/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.214%, percentile 12.53%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 140)

- debian linux (Debian): \< 6.1.129-1 \| \< 6.12.13-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-216.236 \| \< 5.15.0-140.150 \| \< 6.8.0-64.67
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1146.156 \| \< 5.15.0-1084.91 \| \< 6.8.0-1032.34
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1084.91~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1146.156~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1032.34~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1146.156+fips1 \| \< 5.15.0-1084.91+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1151.158 \| \< 5.15.0-1089.98 \| \< 6.8.0-1034.39
- ubuntu linux-azure-4.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 58)

- <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>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://ubuntu.com/security/CVE-2024-58072>
- <https://www.cve.org/CVERecord?id=CVE-2024-58072>
- <https://git.kernel.org/linus/2fdac64c3c35858aa8ac5caa70b232e03456e120>
- <https://ubuntu.com/security/notices/USN-7510-1>
- <https://ubuntu.com/security/notices/USN-7510-2>
- <https://ubuntu.com/security/notices/USN-7511-1>
- <https://ubuntu.com/security/notices/USN-7511-2>
- <https://ubuntu.com/security/notices/USN-7512-1>
- <https://ubuntu.com/security/notices/USN-7516-1>

---

Data as of 2026-12-05T04:24:05.292Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
