Skip to content

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

HighCVSS 7.8 EPSS 0.22%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Linux KernelUbuntuDebian

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.

Upgrade path

6 packages: 6 fixed.

PackageAffectedFixed inStatus
debian/linux(Debian 13) < 6.11.4-1 6.11.4-1 Fixed
debian/linux(Debian 14) < 6.11.4-1 6.11.4-1 Fixed
Linux kernel < 6.6.55; < 6.10.14; < 6.11.3; < 6.12 +9 more 6.6.55, 6.10.14, 6.11.3, 6.12, 540138377b22f601f06f55ebfa3ca171dcab471a, bff1709b3980bd7f80be6786f64cc9a9ee9e56da, d18f669461811dfe2915d5554ab2a9834f810013, e676e4ea76bbe7f1156d8c326b9b6753849481c2 Fixed
Microsoft azure linux < 6.6.57.1-2 6.6.57.1-2 Fixed
ubuntu/linux(Ubuntu 24.04) < 6.8.0-54.56 6.8.0-54.56 Fixed
ubuntu/linux-raspi(Ubuntu 24.04) < 6.8.0-1019.23 6.8.0-1019.23 Fixed

Affected products

ProductAffected versionsFixed in
Microsoft azure linux < 6.6.57.1-2 6.6.57.1-2
debian/linux(Debian:13) < 6.11.4-1 6.11.4-1
debian/linux(Debian:14) < 6.11.4-1 6.11.4-1
Linux kernel >= e2c3e6f53a7a8a00ffeed127cfd1b397c3b016f8, < e676e4ea76bbe7f1156d8c326b9b6753849481c2 e676e4ea76bbe7f1156d8c326b9b6753849481c2
Linux kernel >= e2c3e6f53a7a8a00ffeed127cfd1b397c3b016f8, < 540138377b22f601f06f55ebfa3ca171dcab471a 540138377b22f601f06f55ebfa3ca171dcab471a
Linux kernel >= e2c3e6f53a7a8a00ffeed127cfd1b397c3b016f8, < d18f669461811dfe2915d5554ab2a9834f810013 d18f669461811dfe2915d5554ab2a9834f810013
Linux kernel >= e2c3e6f53a7a8a00ffeed127cfd1b397c3b016f8, < bff1709b3980bd7f80be6786f64cc9a9ee9e56da bff1709b3980bd7f80be6786f64cc9a9ee9e56da
Linux kernel = 6.5 No fix listed
Linux kernel < 6.6.55 6.6.55
Linux kernel < 6.10.14 6.10.14
Linux kernel < 6.11.3 6.11.3
Linux kernel < 6.12 6.12
ubuntu/linux(Ubuntu:24.04) < 6.8.0-54.56 6.8.0-54.56
ubuntu/linux-raspi(Ubuntu:24.04) < 6.8.0-1019.23 6.8.0-1019.23
Linux kernel >= 6.5, < 6.6.55 6.6.55
Linux kernel >= 6.7, < 6.10.14 6.10.14
Linux kernel >= 6.11, < 6.11.3 6.11.3
Linux kernel = 6.12-rc1 No fix listed

References