AZL-116752: CVE-2026-100057 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
net: erspan: set lltx to avoid schdirectxmit deadlock
The ERSPAN xmit path re-enters the network stack, causing nested acquisition of xmitlock on the underlay device while already holding the ERSPAN device's xmitlock, creating an ABBA deadlock. This happens for both IPv4 ERSPAN (erspanxmit() -> iptunnelxmit()) and IPv6 ERSPAN (ip6erspantunnelxmit() -> ip6tnlxmit()):
schdirectxmit [lock erspan] -> erspanxmit -> iptunnelxmit -> ipoutput -> devqueuexmit -> schdirectxmit [lock underlay]
schdirectxmit [lock erspan] -> ip6erspantunnelxmit -> ip6tnlxmit -> ip6output -> devqueuexmit -> schdirectxmit [lock underlay]
Set dev->lltx = true so HARDTXLOCK() skips the spinlock for ERSPAN. This is safe as the ERSPAN xmit path has no shared mutable state: oseqno is atomic, TX stats are per-CPU u64stats, dstcache is per-CPU, and oflags is no longer modified in the xmit path since commit 9958e69b9893 ("gre: fix ERSPAN oflags race/corruption in xmit and fillinfo"). GRETAP, the sibling device with identical xmit structure, already sets lltx.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Set dev->lltx to true for ERSPAN devices so HARD_TX_LOCK() skips the spinlock.
Linux kernel ERSPAN dev->lltx = true
Event History
Frequently Asked Questions
Which systems are exposed to this deadlock?
Systems that use ERSPAN tunnel devices are exposed, including both IPv4 and IPv6 ERSPAN transmit paths. The deadlock involves an ERSPAN device and its underlay network device during packet transmission.
What conditions trigger the issue?
The condition occurs when ERSPAN transmission re-enters the network stack and sch_direct_xmit attempts nested acquisition of transmit locks for the ERSPAN and underlay devices. An attacker is not described as needing network access or any particular packet input; the affected configuration is use of ERSPAN.
Is a workaround available if the package cannot be updated immediately?
The provided information does not describe a workaround. Reducing or avoiding use of ERSPAN tunnel devices would avoid the affected ERSPAN transmit path, but no specific mitigation procedure is provided.