CVE-2024-58072

wifi: rtlwifi: remove unused check_buddy_priv

State
Published
Severity
Not scored
Published
Mar 6, 2025
Updated
Oct 15, 2026
Reserved
Mar 6, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 26634c4b1868323f49f8cd24c3493b57819867fd to before f801e754efa21bd61b3cc15ec7565696165b272fAffected
  • 26634c4b1868323f49f8cd24c3493b57819867fd to before 1b9cbd8a9ae68b32099fbb03b2d5ffa0c5e0dcc9Affected
  • 26634c4b1868323f49f8cd24c3493b57819867fd to before 8e2fcc68fbaab3ad9f5671fee2be0956134b740aAffected
  • 26634c4b1868323f49f8cd24c3493b57819867fd to before 1e39b0486cdb496cdfba3bc89886150e46acf6f4Affected
  • 26634c4b1868323f49f8cd24c3493b57819867fd to before 465d01ef6962b82b1f0ad1f3e58b398dbd35c1c1Affected
  • 26634c4b1868323f49f8cd24c3493b57819867fd to before 543e3e9f2e9e47ded774c74e680f28a0ca362aeeAffected
  • 26634c4b1868323f49f8cd24c3493b57819867fd to before 006e803af7408c3fc815b0654fc5ab43d34f0154Affected
  • 26634c4b1868323f49f8cd24c3493b57819867fd to before 2fdac64c3c35858aa8ac5caa70b232e03456e120Affected
LinuxLinux
  • 3.10Affected
  • before 3.10Not affected
  • 5.4.291 through 5.4.*Not affected
  • 5.10.235 through 5.10.*Not affected
  • 5.15.179 through 5.15.*Not affected
  • 6.1.129 through 6.1.*Not affected
  • 6.6.76 through 6.6.*Not affected
  • 6.12.13 through 6.12.*Not affected
  • 6.13.2 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.