{"id":"CVE-2026-100057","aliases":["CVE-2026-100057"],"related":[],"kind":"vulnerability","state":"published","title":"net: erspan: set lltx to avoid sch_direct_xmit deadlock","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: erspan: set lltx to avoid sch_direct_xmit deadlock\n\nThe ERSPAN xmit path re-enters the network stack, causing nested\nacquisition of _xmit_lock on the underlay device while already holding\nthe ERSPAN device's _xmit_lock, creating an ABBA deadlock. This happens\nfor both IPv4 ERSPAN (erspan_xmit() -> ip_tunnel_xmit()) and IPv6 ERSPAN\n(ip6erspan_tunnel_xmit() -> ip6_tnl_xmit()):\n\n  sch_direct_xmit [lock erspan] -> erspan_xmit -> ip_tunnel_xmit ->\n  ip_output -> __dev_queue_xmit -> sch_direct_xmit [lock underlay]\n\n  sch_direct_xmit [lock erspan] -> ip6erspan_tunnel_xmit -> ip6_tnl_xmit ->\n  ip6_output -> __dev_queue_xmit -> sch_direct_xmit [lock underlay]\n\nSet dev->lltx = true so HARD_TX_LOCK() skips the spinlock for ERSPAN.\nThis is safe as the ERSPAN xmit path has no shared mutable state: o_seqno\nis atomic, TX stats are per-CPU u64_stats, dst_cache is per-CPU, and\no_flags is no longer modified in the xmit path since commit 9958e69b9893\n(\"gre: fix ERSPAN o_flags race/corruption in xmit and fill_info\").\nGRETAP, the sibling device with identical xmit structure, already sets\nlltx.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: erspan: set lltx to avoid sch_direct_xmit deadlock\n\nThe ERSPAN xmit path re-enters the network stack, causing nested\nacquisition of _xmit_lock on the underlay device while already holding\nthe ERSPAN device's _xmit_lock, creating an ABBA deadlock. This happens\nfor both IPv4 ERSPAN (erspan_xmit() -> ip_tunnel_xmit()) and IPv6 ERSPAN\n(ip6erspan_tunnel_xmit() -> ip6_tnl_xmit()):\n\n  sch_direct_xmit [lock erspan] -> erspan_xmit -> ip_tunnel_xmit ->\n  ip_output -> __dev_queue_xmit -> sch_direct_xmit [lock underlay]\n\n  sch_direct_xmit [lock erspan] -> ip6erspan_tunnel_xmit -> ip6_tnl_xmit ->\n  ip6_output -> __dev_queue_xmit -> sch_direct_xmit [lock underlay]\n\nSet dev->lltx = true so HARD_TX_LOCK() skips the spinlock for ERSPAN.\nThis is safe as the ERSPAN xmit path has no shared mutable state: o_seqno\nis atomic, TX stats are per-CPU u64_stats, dst_cache is per-CPU, and\no_flags is no longer modified in the xmit path since commit 9958e69b9893\n(\"gre: fix ERSPAN o_flags race/corruption in xmit and fill_info\").\nGRETAP, the sibling device with identical xmit structure, already sets\nlltx.","source":"cvelist"}],"published":"2026-11-30T13:23:29.264Z","modified":"2026-11-30T14:17:23.947Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"84e54fe0a5eaed696dee4019c396f8396f5a908b","fixed":"2de2d50910c4e18ee4a541844d551bd8b4bcf59d","status":"affected"},{"type":"git","introduced":"84e54fe0a5eaed696dee4019c396f8396f5a908b","fixed":"410afd6edd3ec81bb075d1a3759e3e0667a54e5a","status":"affected"},{"type":"git","introduced":"84e54fe0a5eaed696dee4019c396f8396f5a908b","fixed":"60a8dd118843c329d6142fb72a836f6b3dd25ebf","status":"affected"},{"type":"git","introduced":"84e54fe0a5eaed696dee4019c396f8396f5a908b","fixed":"2d36ec73836e83175deb467fd494c61006107e5d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.14","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/2de2d50910c4e18ee4a541844d551bd8b4bcf59d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/410afd6edd3ec81bb075d1a3759e3e0667a54e5a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/60a8dd118843c329d6142fb72a836f6b3dd25ebf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2d36ec73836e83175deb467fd494c61006107e5d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100057","url":"https://www.cve.org/CVERecord?id=CVE-2026-100057","licence":"CVE Terms of Use","modified":"2026-11-30T13:23:29.264Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100057","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100057","licence":"Public domain","modified":"2026-11-30T14:17:23.947Z"}],"updatedAt":"2026-11-30T14:32:22.573Z","epss":{"score":0.00168,"percentile":0.06447,"date":"2026-12-01T12:00:22.000Z"}}