Bug 2320243 (CVE-2024-47712) - CVE-2024-47712 kernel: wifi: wilc1000: fix potential RCU dereference issue in wilc_parse_join_bss_param
Summary: CVE-2024-47712 kernel: wifi: wilc1000: fix potential RCU dereference issue in...
Keywords:
Status: NEW
Alias: CVE-2024-47712
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2320378
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 13:04 UTC by OSIDB Bzimport
Modified: 2024-10-21 20:42 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-21 13:04:57 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.