CVE-2024-47712 wifi: wilc1000: fix potential RCU dereference issue in wilc_parse_join_bss_param

High 8.3 Published Updated

A use-after-free vulnerability in the Linux kernel's wilc1000 WiFi driver allows attackers to cause system crashes or potentially execute code via improper RCU handling.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-47712?

CVE-2024-47712 is a high-severity use after free vulnerability in Linux kernel, published on 21 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-476

Which versions are affected by CVE-2024-47712?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-47712?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2024-47712 being exploited?

There is no known exploitation of CVE-2024-47712 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-51184, AZL-51264, BELL-CVE-2024-47712, DEBIAN-CVE-2024-47712, GHSA-pgpc-54gc-3694, UBUNTU-CVE-2024-47712.

Is CVE-2024-47712 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free