Skip to content
CVE PROGRAM SOURCE RECORD8.3 High

CVE-2024-47712

wifi: wilc1000: fix potential RCU dereference issue in wilc_parse_join_bss_param

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • e556006de4ea93abe2b46cba202a2556c544b8b2 to < 5a24cedc243ace5ed7c1016f52a7bfc8f5b07815affected
  • b4bbf38c350acb6500cbe667b1e2e68f896e4b38 to < 557418e1704605a81c9e26732449f71b1d40ba1eaffected
  • d80fc436751cfa6b02a8eda74eb6cce7dadfe5a2 to < bf090f4fe935294361eabd9dc5a949fdd77d3d1baffected
  • 745003b5917b610352f52fe0d11ef658d6471ec2 to < b040b71d99ee5e17bb7a743dc01cbfcae8908ce1affected
  • 4bfd20d5f5c62b5495d6c0016ee6933bd3add7ce to < 84398204c5df5aaf89453056cf0647cda9664d2baffected
  • 205c50306acf58a335eb19fa84e40140f4fe814f to < 2f944e6255c2fc1c9bd9ee32f6b14ee0b2a51eb5affected
  • 205c50306acf58a335eb19fa84e40140f4fe814f to < 79510414a7626317f13cc9073244ab7a8deb3192affected
  • 205c50306acf58a335eb19fa84e40140f4fe814f to < 6d7c6ae1efb1ff68bc01d79d94fdf0388f86cdd8affected
  • 5800ec78775c0cd646f71eb9bf8402fb794807deaffected
  • dd50d3ead6e3707bb0a5df7cc832730c93ace3a7affected
  • 5.4.273 to < 5.4.285affected
  • 5.10.214 to < 5.10.227affected
  • 5.15.153 to < 5.15.168affected
  • 6.1.83 to < 6.1.113affected
  • 6.6.23 to < 6.6.54affected
  • 6.7.11 to < 6.8affected
  • 6.8.2 to < 6.9affected

Linux Linux

Default version status: affected

  • 6.9affected
  • 0 to < 6.9unaffected
  • 5.4.285 to ≤ 5.4.*unaffected
  • 5.10.227 to ≤ 5.10.*unaffected
  • 5.15.168 to ≤ 5.15.*unaffected
  • 6.1.113 to ≤ 6.1.*unaffected
  • 6.6.54 to ≤ 6.6.*unaffected
  • 6.10.13 to ≤ 6.10.*unaffected
  • 6.11.2 to ≤ 6.11.*unaffected
  • 6.12 to ≤ *unaffected

References