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.
References
Configurations
Configuration 1 (hide)
|
History
08 Nov 2024, 16:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
24 Oct 2024, 14:17
Type | Values Removed | Values Added |
---|---|---|
References | () https://git.kernel.org/stable/c/2f944e6255c2fc1c9bd9ee32f6b14ee0b2a51eb5 - Patch | |
References | () https://git.kernel.org/stable/c/557418e1704605a81c9e26732449f71b1d40ba1e - Patch | |
References | () https://git.kernel.org/stable/c/6d7c6ae1efb1ff68bc01d79d94fdf0388f86cdd8 - Patch | |
References | () https://git.kernel.org/stable/c/79510414a7626317f13cc9073244ab7a8deb3192 - Patch | |
References | () https://git.kernel.org/stable/c/84398204c5df5aaf89453056cf0647cda9664d2b - Patch | |
References | () https://git.kernel.org/stable/c/b040b71d99ee5e17bb7a743dc01cbfcae8908ce1 - Patch | |
References | () https://git.kernel.org/stable/c/bf090f4fe935294361eabd9dc5a949fdd77d3d1b - Patch | |
CWE | CWE-476 | |
Summary |
|
|
CPE | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.5 |
First Time |
Linux linux Kernel
Linux |
21 Oct 2024, 12:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-10-21 12:15
Updated : 2024-11-08 16:15
NVD link : CVE-2024-47712
Mitre link : CVE-2024-47712
CVE.ORG link : CVE-2024-47712
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-476
NULL Pointer Dereference