CVE-2024-50005 Details
Description
In the Linux kernel, the following vulnerability has been resolved: mac802154: Fix potential RCU dereference issue in mac802154_scan_worker In the `mac802154_scan_worker` function, the `scan_req->type` field was accessed after the RCU read-side critical section was unlocked. According to RCU usage rules, this is illegal and can lead to unpredictable behavior, such as 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 `scan_req->type` value is now stored in a local variable `scan_req_type` while still within the RCU read-side critical section. The `scan_req_type` is then used after the RCU lock is released, ensuring that the type value is safely accessed without violating RCU rules.
A vulnerability in the Linux kernel's mac802154 module was introduced by improper handling of the RCU (Read-Copy-Update) mechanism in the scan worker function. The issue arose because the scan request type was accessed after exiting the RCU read-side critical section, violating RCU rules and potentially leading to unpredictable behavior, such as use-after-free errors. This vulnerability was identified through static analysis. The problem has been fixed by storing the scan request type in a local variable while still within the RCU critical section, and then using this variable after the RCU lock is released, ensuring safe access to the data.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. The specific commit containing the fix is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 22, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/540138377b22f601f06f55ebfa3ca171dcab471a | kernel.org | Patch |
| https://git.kernel.org/stable/c/bff1709b3980bd7f80be6786f64cc9a9ee9e56da | kernel.org | Patch |
| https://git.kernel.org/stable/c/d18f669461811dfe2915d5554ab2a9834f810013 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e676e4ea76bbe7f1156d8c326b9b6753849481c2 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.5, < 6.6.55 >= 6.7, < 6.10.14 >= 6.11, < 6.11.3 6.12 rc1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 7, 2024 | Initial Analysis | [email protected] |
| Oct 21, 2024 | New CVE Received | kernel.org |