First published: Mon Oct 21 2024(Updated: )
In the Linux kernel, the following vulnerability has been resolved: wifi: wilc1000: fix potential RCU dereference issue in wilc_parse_join_bss_param In the `wilc_parse_join_bss_param` function, the TSF field of the `ies` structure is accessed after the RCU read-side critical section is unlocked. According to RCU usage rules, this is illegal. Reusing this pointer can lead to unpredictable behavior, including accessing memory that has been updated or causing use-after-free issues. This possible bug was identified using a static analysis tool developed by myself, specifically designed to detect RCU-related issues. To address this, the TSF value is now stored in a local variable `ies_tsf` before the RCU lock is released. The `param->tsf_lo` field is then assigned using this local variable, ensuring that the TSF value is safely accessed.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Linux kernel | >=5.4.273<5.5 | |
Linux Linux kernel | >=5.10.214<5.10.227 | |
Linux Linux kernel | >=5.15.153<5.15.168 | |
Linux Linux kernel | >=6.1.83<6.1.113 | |
Linux Linux kernel | >=6.6.23<6.6.54 | |
Linux Linux kernel | >=6.7.11<6.8 | |
Linux Linux kernel | >=6.8.2<6.9 | |
Linux Linux kernel | >6.9<6.10.13 | |
Linux Linux kernel | >=6.11<6.11.2 | |
debian/linux | <=5.10.223-1<=5.10.226-1 | 6.1.115-1 6.1.119-1 6.12.5-1 6.12.6-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.