CVE-2026-139095

loopback: use eth_type_trans_careful()

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

loopback: use eth_type_trans_careful()

tc egress actions can leave an skb with fewer than ETH_HLEN bytes in
its linear part. loopback_xmit() then crashes in eth_type_trans():

tc qdisc add dev lo clsact
tc filter add dev lo egress matchall action vlan pop_eth
# AF_PACKET SOCK_RAW: eth / eth / 8192 bytes of payload

kernel BUG at include/linux/skbuff.h:2839!
RIP: 0010:eth_type_trans (include/linux/etherdevice.h:635 net/ethernet/eth.c:163)
Call Trace:
loopback_xmit (drivers/net/loopback.c:87)
dev_hard_start_xmit (include/linux/netdevice.h:5455 include/linux/netdevice.h:5464 net/core/dev.c:4057 net/core/dev.c:4073)
__dev_queue_xmit (net/core/dev.c:5066)
packet_sendmsg (net/packet/af_packet.c:3157 net/packet/af_packet.c:3189)

The same happens with "action ife decode" on lo egress.

Use eth_type_trans_careful(), and drop the packet if the Ethernet
header can not be pulled.

Analysis

AI-generated

Technical impact

The Linux kernel bug causes a crash when certain traffic‑control actions send packets over the loopback interface with fewer bytes than a complete Ethernet header. The insufficient header data triggers a failure in eth_type_trans(), which calls a memcpy that expects a linear buffer containing the full header; the resulting out‑of‑bounds memory access causes a kernel BUG and system crash. The primary consequence is a denial of service as the affected machine will reboot or become unresponsive.

Affected Systems

All Linux kernel installations that have not applied the commit that replaces eth_type_trans() with eth_type_trans_careful() are potentially affected. The public CPE string indicates that every kernel could be vulnerable; specific version ranges are not documented in the advisory.

Risk and Exploitability

Exploitation requires configuring traffic control (tc) egress actions on the loopback device, which typically requires CAP_NET_ADMIN/privileged access. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting limited known exploitation. An attacker with sufficient privileges can trigger the kernel panic by adding a filter that causes an skb with fewer than ETH_HLEN bytes to be transmitted over lo, leading to a denial of service. The risk is moderate to high in environments where privileged users can modify loopback traffic control or where untrusted code can elevate privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a newer release that implements eth_type_trans_careful() and drops packets lacking a complete Ethernet header
  • If a kernel update is not immediately possible, remove or disable any custom tc egress actions applied to the lo interface to prevent malformed packet injection on loopback
  • Restrict the creation of tc qdisc filters on lo to privileged users only, ensuring only trusted administrators can configure loopback traffic control

Generated by OpenCVE AI on December 1, 2026 at 09:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-125
CWE-20
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: loopback: use eth_type_trans_careful() tc egress actions can leave an skb with fewer than ETH_HLEN bytes in its linear part. loopback_xmit() then crashes in eth_type_trans(): tc qdisc add dev lo clsact tc filter add dev lo egress matchall action vlan pop_eth # AF_PACKET SOCK_RAW: eth / eth / 8192 bytes of payload kernel BUG at include/linux/skbuff.h:2839! RIP: 0010:eth_type_trans (include/linux/etherdevice.h:635 net/ethernet/eth.c:163) Call Trace: loopback_xmit (drivers/net/loopback.c:87) dev_hard_start_xmit (include/linux/netdevice.h:5455 include/linux/netdevice.h:5464 net/core/dev.c:4057 net/core/dev.c:4073) __dev_queue_xmit (net/core/dev.c:5066) packet_sendmsg (net/packet/af_packet.c:3157 net/packet/af_packet.c:3189) The same happens with "action ife decode" on lo egress. Use eth_type_trans_careful(), and drop the packet if the Ethernet header can not be pulled.
Title loopback: use eth_type_trans_careful()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:31 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM