CVE-2024-50005
mac802154: Fix potential RCU dereference issue in mac802154_scan_worker
Reported by linux · Published October 21, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | e676e4ea76bbe7f1156d8c326b9b6753849481c2, d18f669461811dfe2915d5554ab2a9834f810013, bff1709b3980bd7f80be6786f64cc9a9ee9e56da |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | e2c3e6f53a7a8a00ffeed127cfd1b397c3b016f8, e2c3e6f53a7a8a00ffeed127cfd1b397c3b016f8, e2c3e6f53a7a8a00ffeed127cfd1b397c3b016f8 |
| Linux | Linux | 6.5, 0, 6.6.55 |
| Linux | Linux | *, 6.6.55, 6.10.14 |
| linux | linux_kernel | 6.5, 6.5, 6.5 |
Timeline
- Oct 21, 2024 CVE Published
- Oct 22, 2024 EPSS Score (30 in total, the first dated here)
- Oct 22, 2024 Coalition ESS Score (11 in total, the first dated here)
- Nov 7, 2024 CVE Updated
- Jan 2, 2026 Security Advisory (434 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (367 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-50005
vulnetix vdb fixes CVE-2024-50005
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-50005/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart