# CVE-2026-100057: net: erspan: set lltx to avoid sch_direct_xmit deadlock

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-11-30T13:23:29.264Z
- Modified: 2026-11-30T14:17:23.947Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: erspan: set lltx to avoid sch_direct_xmit deadlock

The ERSPAN xmit path re-enters the network stack, causing nested
acquisition of _xmit_lock on the underlay device while already holding
the ERSPAN device's _xmit_lock, creating an ABBA deadlock. This happens
for both IPv4 ERSPAN (erspan_xmit() -> ip_tunnel_xmit()) and IPv6 ERSPAN
(ip6erspan_tunnel_xmit() -> ip6_tnl_xmit()):

  sch_direct_xmit [lock erspan] -> erspan_xmit -> ip_tunnel_xmit ->
  ip_output -> __dev_queue_xmit -> sch_direct_xmit [lock underlay]

  sch_direct_xmit [lock erspan] -> ip6erspan_tunnel_xmit -> ip6_tnl_xmit ->
  ip6_output -> __dev_queue_xmit -> sch_direct_xmit [lock underlay]

Set dev->lltx = true so HARD_TX_LOCK() skips the spinlock for ERSPAN.
This is safe as the ERSPAN xmit path has no shared mutable state: o_seqno
is atomic, TX stats are per-CPU u64_stats, dst_cache is per-CPU, and
o_flags is no longer modified in the xmit path since commit 9958e69b9893
("gre: fix ERSPAN o_flags race/corruption in xmit and fill_info").
GRETAP, the sibling device with identical xmit structure, already sets
lltx.

(As written by CVE List.)

## Affected

- Linux Linux: from 84e54fe0a5eaed696dee4019c396f8396f5a908b before 2de2d50910c4e18ee4a541844d551bd8b4bcf59d; from 84e54fe0a5eaed696dee4019c396f8396f5a908b before 410afd6edd3ec81bb075d1a3759e3e0667a54e5a; from 84e54fe0a5eaed696dee4019c396f8396f5a908b before 60a8dd118843c329d6142fb72a836f6b3dd25ebf; from 84e54fe0a5eaed696dee4019c396f8396f5a908b before 2d36ec73836e83175deb467fd494c61006107e5d; 4.14 (not affected: before 4.14; from 6.12.118 up to 6.12.*; from 6.18.64 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/2de2d50910c4e18ee4a541844d551bd8b4bcf59d>
- <https://git.kernel.org/stable/c/410afd6edd3ec81bb075d1a3759e3e0667a54e5a>
- <https://git.kernel.org/stable/c/60a8dd118843c329d6142fb72a836f6b3dd25ebf>
- <https://git.kernel.org/stable/c/2d36ec73836e83175deb467fd494c61006107e5d>

## Sources

- CVE List: [CVE-2026-100057](https://www.cve.org/CVERecord?id=CVE-2026-100057), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-100057](https://nvd.nist.gov/vuln/detail/CVE-2026-100057), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-100057 · Whole record: https://cve.day/CVE-2026-100057.json · Rebuilt by cve.day 2026-11-30T14:32:22.573Z
