Skip to main content
← All vulnerabilities
CVE-2024-47712

wifi: wilc1000: fix potential RCU dereference issue in wilc_parse_join_bss_param

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.4.285, 5.10.227, 5.15.168, 6.1.113, 6.6.54, and 2 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 5.4.273 · fixed in 5.4.285; From 5.10.214 · fixed in 5.10.227; From 5.15.153 · fixed in 5.15.168; From 6.1.83 · fixed in 6.1.113; From 6.6.23 · fixed in 6.6.54; From 6.7.11 · fixed in 6.8; From 6.8.2 · fixed in 6.9

  • Linux Linux

    6.9

References 8

git.kernel.org