wifi: rtlwifi: remove unused check_buddy_priv
Summary
| CVE | CVE-2024-58072 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-03-06 16:15:53 UTC |
| Updated | 2026-05-12 13:16:27 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-416
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 26634c4b1868323f49f8cd24c3493b57819867fd f801e754efa21bd61b3cc15ec7565696165b272f git | Not specified |
| CNA | Linux | Linux | affected 26634c4b1868323f49f8cd24c3493b57819867fd 1b9cbd8a9ae68b32099fbb03b2d5ffa0c5e0dcc9 git | Not specified |
| CNA | Linux | Linux | affected 26634c4b1868323f49f8cd24c3493b57819867fd 8e2fcc68fbaab3ad9f5671fee2be0956134b740a git | Not specified |
| CNA | Linux | Linux | affected 26634c4b1868323f49f8cd24c3493b57819867fd 1e39b0486cdb496cdfba3bc89886150e46acf6f4 git | Not specified |
| CNA | Linux | Linux | affected 26634c4b1868323f49f8cd24c3493b57819867fd 465d01ef6962b82b1f0ad1f3e58b398dbd35c1c1 git | Not specified |
| CNA | Linux | Linux | affected 26634c4b1868323f49f8cd24c3493b57819867fd 543e3e9f2e9e47ded774c74e680f28a0ca362aee git | Not specified |
| CNA | Linux | Linux | affected 26634c4b1868323f49f8cd24c3493b57819867fd 006e803af7408c3fc815b0654fc5ab43d34f0154 git | Not specified |
| CNA | Linux | Linux | affected 26634c4b1868323f49f8cd24c3493b57819867fd 2fdac64c3c35858aa8ac5caa70b232e03456e120 git | Not specified |
| CNA | Linux | Linux | affected 3.10 | Not specified |
| CNA | Linux | Linux | unaffected 3.10 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.291 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.235 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.179 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.129 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.76 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.13 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.13.2 6.13.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.14 * original_commit_for_fix | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| lists.debian.org/debian-lts-announce/2025/05/msg00030.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/006e803af7408c3fc815b0654fc5ab43d34f0154 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/1e39b0486cdb496cdfba3bc89886150e46acf6f4 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/2fdac64c3c35858aa8ac5caa70b232e03456e120 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/8e2fcc68fbaab3ad9f5671fee2be0956134b740a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/465d01ef6962b82b1f0ad1f3e58b398dbd35c1c1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/f801e754efa21bd61b3cc15ec7565696165b272f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/543e3e9f2e9e47ded774c74e680f28a0ca362aee | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/03/msg00028.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| git.kernel.org/stable/c/1b9cbd8a9ae68b32099fbb03b2d5ffa0c5e0dcc9 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.