wifi: rtlwifi: remove unused check_buddy_priv
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.4.291, Kernel 5.15.179, Kernel 6.1.129 and 12 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=3.10 <5.4.291, >=5.11 <5.15.179, >=5.16 <6.1.129, >=5.5 <5.10.235, >=6.13 <6.13.2, >=6.2 <6.6.76, >=6.7 <6.12.13, >=26634c4b1868323f49f8cd24c3493b57819867fd <1b9cbd8a9ae68b32099fbb03b2d5ffa0c5e0dcc9, >=26634c4b1868323f49f8cd24c3493b57819867fd <1e39b0486cdb496cdfba3bc89886150e46acf6f4, >=26634c4b1868323f49f8cd24c3493b57819867fd <2fdac64c3c35858aa8ac5caa70b232e03456e120, >=26634c4b1868323f49f8cd24c3493b57819867fd <465d01ef6962b82b1f0ad1f3e58b398dbd35c1c1, >=26634c4b1868323f49f8cd24c3493b57819867fd <543e3e9f2e9e47ded774c74e680f28a0ca362aee, >=26634c4b1868323f49f8cd24c3493b57819867fd <8e2fcc68fbaab3ad9f5671fee2be0956134b740a, >=26634c4b1868323f49f8cd24c3493b57819867fd <f801e754efa21bd61b3cc15ec7565696165b272f, =3.10, >=26634c4b1868323f49f8cd24c3493b57819867fd <006e803af7408c3fc815b0654fc5ab43d34f0154 | 5.4.291, 5.15.179, 6.1.129, 5.10.235, 6.13.2, 6.6.76, 6.12.13, 1b9cbd8a9ae68b32099fbb03b2d5ffa0c5e0dcc9, 1e39b0486cdb496cdfba3bc89886150e46acf6f4, 2fdac64c3c35858aa8ac5caa70b232e03456e120, 465d01ef6962b82b1f0ad1f3e58b398dbd35c1c1, 543e3e9f2e9e47ded774c74e680f28a0ca362aee, 8e2fcc68fbaab3ad9f5671fee2be0956134b740a, f801e754efa21bd61b3cc15ec7565696165b272f, 006e803af7408c3fc815b0654fc5ab43d34f0154 |
| linux-kernel: Kernel | >=3.10.0 <5.4.291, >=5.11.0 <5.15.179, >=5.16.0 <6.1.129, >=5.5.0 <5.10.235, >=6.13.0 <6.13.2, >=6.2.0 <6.6.76, >=6.7.0 <6.12.13 | 5.4.291, 5.15.179, 6.1.129, 5.10.235, 6.13.2, 6.6.76, 6.12.13 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket