CVE-2024-50005

mac802154: Fix potential RCU dereference issue in mac802154_scan_worker

No CVSS score yet EPSS 0.22%

Published 21 Oct 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2024-50005

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-50005 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.5% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 22 Oct 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from e2c3e6f53a7a8a00ffeed127cfd1b397c3b016f8, before e676e4ea76bbe7f1156d8c326b9b6753849481c2
affected from e2c3e6f53a7a8a00ffeed127cfd1b397c3b016f8, before 540138377b22f601f06f55ebfa3ca171dcab471a
affected from e2c3e6f53a7a8a00ffeed127cfd1b397c3b016f8, before d18f669461811dfe2915d5554ab2a9834f810013
affected from e2c3e6f53a7a8a00ffeed127cfd1b397c3b016f8, before bff1709b3980bd7f80be6786f64cc9a9ee9e56da
Other versions: unaffected
Linux
affected 6.5
unaffected before 6.5
unaffected from 6.6.55 up to and including 6.6.*
unaffected from 6.10.14 up to and including 6.10.*
unaffected from 6.11.3 up to and including 6.11.*
unaffected 6.12 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-50005 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-50005

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-50005
trivy image --scanners vuln IMAGE | grep CVE-2024-50005

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-50005 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.