# CVE-2024-50005: mac802154: Fix potential RCU dereference issue in mac802154_scan_worker

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-10-21T18:53:59.259Z
- Modified: 2026-06-17T08:03:22.033Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from e2c3e6f53a7a8a00ffeed127cfd1b397c3b016f8 before e676e4ea76bbe7f1156d8c326b9b6753849481c2; from e2c3e6f53a7a8a00ffeed127cfd1b397c3b016f8 before 540138377b22f601f06f55ebfa3ca171dcab471a; from e2c3e6f53a7a8a00ffeed127cfd1b397c3b016f8 before d18f669461811dfe2915d5554ab2a9834f810013; from e2c3e6f53a7a8a00ffeed127cfd1b397c3b016f8 before bff1709b3980bd7f80be6786f64cc9a9ee9e56da; 6.5 (not affected: before 6.5; from 6.6.55 up to 6.6.*; from 6.10.14 up to 6.10.*; from 6.11.3 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.5 before 6.6.55; from 6.7 before 6.10.14; from 6.11 before 6.11.3; 6.12

## References

- <https://git.kernel.org/stable/c/e676e4ea76bbe7f1156d8c326b9b6753849481c2> (patch)
- <https://git.kernel.org/stable/c/540138377b22f601f06f55ebfa3ca171dcab471a> (patch)
- <https://git.kernel.org/stable/c/d18f669461811dfe2915d5554ab2a9834f810013> (patch)
- <https://git.kernel.org/stable/c/bff1709b3980bd7f80be6786f64cc9a9ee9e56da> (patch)

## Sources

- CVE List: [CVE-2024-50005](https://www.cve.org/CVERecord?id=CVE-2024-50005), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-50005](https://nvd.nist.gov/vuln/detail/CVE-2024-50005), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-50005 · Whole record: https://cve.day/CVE-2024-50005.json · Rebuilt by cve.day 2026-11-25T22:58:47.091Z
