Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-41046 Overview
CVE-2024-41046 is a double free vulnerability [CWE-415] in the Linux kernel's Lantiq ETOP Ethernet driver (net/ethernet/lantiq_etop). The flaw resides in the driver's detach routine, where the counter tracking the currently released descriptor is never incremented. As a result, the same socket buffer (skb) is released multiple times, corrupting kernel memory management structures.
An authenticated local attacker with the ability to trigger the affected code path can leverage the double free to corrupt kernel heap metadata, leading to memory corruption, privilege escalation, or denial of service.
Critical Impact
Double free of an skb in the Lantiq ETOP driver's detach path enables kernel memory corruption, with potential for local privilege escalation to root or full system crash.
Affected Products
- Linux Kernel versions prior to the fix commits applied across multiple stable branches
- Debian Linux distributions (addressed in Debian LTS January 2025)
- Siemens industrial products referenced in advisories SSA-355557, SSA-398330, SSA-503939, and SSA-613116
Discovery Timeline
- 2024-07-29 - CVE-2024-41046 published to NVD
- 2026-10-15 - Last updated in NVD database
Technical Details for CVE-2024-41046
Vulnerability Analysis
The vulnerability affects the Lantiq ETOP Ethernet driver, which supports network interfaces on Lantiq MIPS-based SoCs commonly used in embedded and networking equipment. During driver detach, the code iterates through the TX descriptor ring to free pending skb buffers.
The loop reads the index of the descriptor to release but never advances that index after calling dev_kfree_skb_any() on the buffer. Each loop iteration therefore operates on the same descriptor and releases the same skb pointer repeatedly. The result is a classic double free against the kernel slab allocator.
Exploitation requires local access and the privilege to initiate the detach path, such as unloading the driver module or bringing the network interface down. On successful corruption of slab freelist metadata, an attacker can achieve arbitrary kernel write primitives.
Root Cause
The root cause is a missing increment of the descriptor index variable inside the detach loop. The driver tracks released descriptors with a counter that remained static across iterations. Without advancing the counter, dev_kfree_skb_any() is invoked on the same descriptor's skb pointer on every pass through the loop, triggering the double free [CWE-415].
Attack Vector
The attack requires local access with sufficient privileges to trigger driver detach. On systems where the ETOP driver is loaded, an attacker can invoke ifconfig down, ip link set down, or rmmod on the driver to execute the vulnerable code path. The resulting slab corruption can be shaped into a use-after-free primitive, escalating from kernel heap corruption to code execution in ring 0. See the Linux Kernel Commit 1a2db00 for the authoritative patch.
No verified public exploitation code is available for this CVE.
Detection Methods for CVE-2024-41046
Indicators of Compromise
- Kernel log entries referencing slab corruption, KASAN: double-free, or BUG: KASAN: use-after-free originating from ltq_etop or dev_kfree_skb_any
- Unexpected kernel panics or oops messages correlated with network interface state transitions
- Unauthorized rmmod or modprobe -r activity targeting the ltq_etop module
Detection Strategies
- Enable KASAN (Kernel Address Sanitizer) in test and staging environments to surface the double free deterministically
- Audit kernel ring buffer output (dmesg) for memory corruption traces following interface state changes
- Correlate privileged shell activity involving ip link, ifconfig, or module unload operations with subsequent kernel instability
Monitoring Recommendations
- Centralize kernel logs via syslog or journald forwarding to detect corruption indicators across embedded device fleets
- Monitor privileged process execution of networking and module-management utilities on affected Lantiq-based systems
- Track kernel version inventory to confirm patched builds are deployed on all Lantiq ETOP-equipped devices
How to Mitigate CVE-2024-41046
Immediate Actions Required
- Apply the upstream Linux kernel patches referenced in the stable commit series, including commit 1a2db00 and commit e1533b63
- Update Debian systems using the fixes delivered in the Debian LTS Announcement January 2025
- Review Siemens industrial deployments against SSA-355557, SSA-398330, SSA-503939, and SSA-613116
Patch Information
The fix increments the descriptor index inside the detach loop, ensuring each skb is freed exactly once. The patch has been backported across multiple stable branches with commits 1a2db00, 22b16618, 69ad5fa0, 84aaaa79, 90744317, 9d23909a, c2b66e2b, and e1533b63. Administrators should rebuild and deploy kernels that include these commits for their respective stable series.
Workarounds
- Restrict local shell access and limit CAP_NET_ADMIN and CAP_SYS_MODULE capabilities to trusted administrators only
- Avoid dynamic unload or interface teardown of the ltq_etop driver on production systems until a patched kernel is deployed
- Where feasible, blacklist the ltq_etop module on systems that do not require Lantiq Ethernet connectivity
# Verify kernel version includes the fix
uname -r
# Check if ltq_etop is loaded
lsmod | grep ltq_etop
# Blacklist the module on systems that do not require it
echo "blacklist ltq_etop" | sudo tee /etc/modprobe.d/blacklist-ltq_etop.conf
sudo update-initramfs -u
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

