CVE-2024-50005
Linux Kernel RCU Dereference Vuln in mac802154 Scan Worker
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.
INFO
Published Date :
Oct. 21, 2024, 7:15 p.m.
Last Modified :
Nov. 7, 2024, 7:27 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-50005
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-50005
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-50005
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Nov. 07, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://git.kernel.org/stable/c/540138377b22f601f06f55ebfa3ca171dcab471a No Types Assigned https://git.kernel.org/stable/c/540138377b22f601f06f55ebfa3ca171dcab471a Patch Changed Reference Type https://git.kernel.org/stable/c/bff1709b3980bd7f80be6786f64cc9a9ee9e56da No Types Assigned https://git.kernel.org/stable/c/bff1709b3980bd7f80be6786f64cc9a9ee9e56da Patch Changed Reference Type https://git.kernel.org/stable/c/d18f669461811dfe2915d5554ab2a9834f810013 No Types Assigned https://git.kernel.org/stable/c/d18f669461811dfe2915d5554ab2a9834f810013 Patch Changed Reference Type https://git.kernel.org/stable/c/e676e4ea76bbe7f1156d8c326b9b6753849481c2 No Types Assigned https://git.kernel.org/stable/c/e676e4ea76bbe7f1156d8c326b9b6753849481c2 Patch Added CWE NIST CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.5 up to (excluding) 6.6.55 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.10.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.11 up to (excluding) 6.11.3 *cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:* -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 21, 2024
Action Type Old Value New Value Added 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. Added Reference kernel.org https://git.kernel.org/stable/c/e676e4ea76bbe7f1156d8c326b9b6753849481c2 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/540138377b22f601f06f55ebfa3ca171dcab471a [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/d18f669461811dfe2915d5554ab2a9834f810013 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/bff1709b3980bd7f80be6786f64cc9a9ee9e56da [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-50005
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-50005
weaknesses.