CVE-2024-56648
📋 TL;DR
This vulnerability in the Linux kernel's HSR (High-availability Seamless Redundancy) protocol implementation allows an attacker to trigger an out-of-bounds memory access by sending specially crafted packets. This could lead to kernel memory corruption, crashes, or potential privilege escalation. Systems using HSR networking with vulnerable kernel versions are affected.
💻 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, potential privilege escalation to kernel mode, or remote code execution.
Likely Case
System instability, kernel crashes (denial of service), or information disclosure from uninitialized kernel memory.
If Mitigated
Minimal impact if HSR is not used or proper network segmentation isolates HSR traffic.
🎯 Exploit Status
Exploitation requires sending specially crafted packets to HSR interfaces. Discovered via syzbot fuzzing.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Patches available in stable kernel branches (commits: 3c215663b3e27a3b08cefcaea623ff54c70c8035, 6bb5c8ebc99f0671dbd3c9408ebaf935c3951186, 7ea527fbd7b94d0bee64a0a7e98279bcc654b322, aa632691c722a123e47ccd05a3afdd5f87a36061, b9653d19e556c6afd035602927a93d100a0d7644)
Vendor Advisory: https://git.kernel.org/stable/c/3c215663b3e27a3b08cefcaea623ff54c70c8035
Restart Required: Yes
Instructions:
1. Update Linux kernel to patched version from your distribution. 2. Reboot system to load new kernel. 3. Verify kernel version after reboot.
🔧 Temporary Workarounds
Disable HSR module
linuxPrevent loading of HSR kernel module if not needed
echo 'install hsr /bin/false' >> /etc/modprobe.d/disable-hsr.conf
rmmod hsr
Network segmentation
allIsolate HSR network traffic to trusted segments only
🧯 If You Can't Patch
- Disable HSR protocol if not required for operations
- Implement strict network ACLs to limit access to HSR interfaces
🔍 How to Verify
Check if Vulnerable:
Check if HSR module is loaded: lsmod | grep hsr. If loaded and kernel version is unpatched, system is vulnerable.
Check Version:
uname -r
Verify Fix Applied:
Check kernel version includes one of the fix commits: uname -r. Verify HSR module functions normally after patch.
📡 Detection & Monitoring
Log Indicators:
- Kernel panic logs
- HSR protocol errors in dmesg
- System crashes
Network Indicators:
- Unusual packets to HSR ports
- Malformed VLAN-tagged packets on HSR interfaces
SIEM Query:
source="kernel" AND ("HSR" OR "hsr_forward" OR "fill_frame_info") AND ("panic" OR "BUG" OR "oops")
🔗 References
- https://git.kernel.org/stable/c/3c215663b3e27a3b08cefcaea623ff54c70c8035
- https://git.kernel.org/stable/c/6bb5c8ebc99f0671dbd3c9408ebaf935c3951186
- https://git.kernel.org/stable/c/7ea527fbd7b94d0bee64a0a7e98279bcc654b322
- https://git.kernel.org/stable/c/aa632691c722a123e47ccd05a3afdd5f87a36061
- https://git.kernel.org/stable/c/b9653d19e556c6afd035602927a93d100a0d7644
- https://git.kernel.org/stable/c/c6e778901d0055356c4fb223058364cae731494a
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html