CVE-2024-56602
📋 TL;DR
A use-after-free vulnerability in the Linux kernel's IEEE 802.15.4 wireless networking subsystem allows attackers to potentially crash the kernel or execute arbitrary code. This affects systems using Linux kernel versions with the vulnerable code, particularly those with IEEE 802.15.4 (Zigbee, 6LoWPAN) networking enabled. The vulnerability occurs when socket creation fails but leaves a dangling pointer that can be exploited.
💻 Affected Systems
- Linux kernel
📦 What is this software?
Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →⚠️ Risk & Real-World Impact
Worst Case
Kernel panic leading to system crash or local privilege escalation allowing full system compromise
Likely Case
Kernel crash causing denial of service on affected systems
If Mitigated
No impact if IEEE 802.15.4 is disabled or systems are patched
🎯 Exploit Status
Exploitation requires local access and specific conditions to trigger the use-after-free
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Multiple stable kernel versions with commits: 03caa9bfb9fde97fb53d33decd7364514e6825cb and others listed in references
Vendor Advisory: https://git.kernel.org/stable/c/03caa9bfb9fde97fb53d33decd7364514e6825cb
Restart Required: Yes
Instructions:
1. Update Linux kernel to patched version from your distribution's repositories. 2. Reboot system to load new kernel. 3. Verify kernel version matches patched release.
🔧 Temporary Workarounds
Disable IEEE 802.15.4 subsystem
linuxPrevent exploitation by disabling the vulnerable subsystem if not needed
modprobe -r mac802154
modprobe -r ieee802154
echo 'blacklist mac802154' >> /etc/modprobe.d/blacklist.conf
echo 'blacklist ieee802154' >> /etc/modprobe.d/blacklist.conf
🧯 If You Can't Patch
- Disable IEEE 802.15.4 kernel modules if not required for system functionality
- Implement strict access controls to limit local user privileges and network access
🔍 How to Verify
Check if Vulnerable:
Check if IEEE 802.15.4 modules are loaded: lsmod | grep -E '(mac802154|ieee802154)'
Check Version:
uname -r
Verify Fix Applied:
Check kernel version against patched releases from your distribution and verify modules are either updated or disabled
📡 Detection & Monitoring
Log Indicators:
- Kernel panic logs
- OOM killer messages related to networking
- System crash dumps
Network Indicators:
- Unusual IEEE 802.15.4 network activity if normally unused
SIEM Query:
kernel:panic OR kernel:Oops OR kernel:BUG AND (mac802154 OR ieee802154)
🔗 References
- https://git.kernel.org/stable/c/03caa9bfb9fde97fb53d33decd7364514e6825cb
- https://git.kernel.org/stable/c/14959fd7538b3be6d7617d9e60e404d6a8d4fd1f
- https://git.kernel.org/stable/c/1d5fe782c0ff068d80933f9cfd0fd39d5434bbc9
- https://git.kernel.org/stable/c/2b46994a6e76c8cc5556772932b9b60d03a55cd8
- https://git.kernel.org/stable/c/b4982fbf13042e3bb33e04eddfea8b1506b5ea65
- https://git.kernel.org/stable/c/b4fcd63f6ef79c73cafae8cf4a114def5fc3d80d
- https://git.kernel.org/stable/c/e8bd6c5f5dc2234b4ea714380aedeea12a781754
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html