CVE-2024-47712: wifi: wilc1000: fix potential RCU dereference issue in wilc_parse_join_bss_param
In the Linux kernel, the following vulnerability has been resolved:
wifi: wilc1000: fix potential RCU dereference issue in wilcparsejoinbssparam
In the wilcparsejoinbssparam 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 iestsf before the RCU lock is released. The param->tsflo field is then assigned using this local variable, ensuring that the TSF value is safely accessed.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.129-1~deb11u1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-47712?
CVE-2024-47712 is classified as a medium-severity vulnerability in the Linux kernel.
How do I fix CVE-2024-47712?
To fix CVE-2024-47712, update your Linux kernel to a version that is not affected, such as 6.1.123-1 or a later version.
Which Linux kernel versions are affected by CVE-2024-47712?
CVE-2024-47712 affects various Linux kernel versions including those between 5.4.273 to 6.9 and certain ranges within those.
What is the impact of CVE-2024-47712?
The impact of CVE-2024-47712 may include potential exploitation through an RCU dereference issue in the wilc_parse_join_bss_param function.
How can I verify if my system is vulnerable to CVE-2024-47712?
You can verify if your system is vulnerable to CVE-2024-47712 by checking the kernel version against the affected version ranges.