{"id":"CVE-2026-139095","state":"PUBLISHED","title":"loopback: use eth_type_trans_careful()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nloopback: use eth_type_trans_careful()\n\ntc egress actions can leave an skb with fewer than ETH_HLEN bytes in\nits linear part. loopback_xmit() then crashes in eth_type_trans():\n\n  tc qdisc add dev lo clsact\n  tc filter add dev lo egress matchall action vlan pop_eth\n  # AF_PACKET SOCK_RAW: eth / eth / 8192 bytes of payload\n\n  kernel BUG at include/linux/skbuff.h:2839!\n  RIP: 0010:eth_type_trans (include/linux/etherdevice.h:635 net/ethernet/eth.c:163)\n  Call Trace:\n   loopback_xmit (drivers/net/loopback.c:87)\n   dev_hard_start_xmit (include/linux/netdevice.h:5455 include/linux/netdevice.h:5464 net/core/dev.c:4057 net/core/dev.c:4073)\n   __dev_queue_xmit (net/core/dev.c:5066)\n   packet_sendmsg (net/packet/af_packet.c:3157 net/packet/af_packet.c:3189)\n\nThe same happens with \"action ife decode\" on lo egress.\n\nUse eth_type_trans_careful(), and drop the packet if the Ethernet\nheader can not be pulled.","publishedAt":"2026-11-30T13:31:31.892Z","updatedAt":"2026-11-30T13:31:31.892Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"b98a4edc2e16f794a265022c9e53b20853e3fbff","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"be5fff188ef3139dbfc6673b79ff4e284b7ceff2","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"f5ccefb3ec10f3876be5aa5ca372d05fb4125472","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"46c82c252e46cf16c09b01da44fb766c702ddefa","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"54972be11b8f639a506bbad1cfb75958e5c042a3","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"093a28998374f4007ffe67cc661f8192c1b062a9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/loopback.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.12","versionType":"semver"},{"version":"6.1.193","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/loopback.c"]}],"references":["https://git.kernel.org/stable/c/b98a4edc2e16f794a265022c9e53b20853e3fbff","https://git.kernel.org/stable/c/be5fff188ef3139dbfc6673b79ff4e284b7ceff2","https://git.kernel.org/stable/c/f5ccefb3ec10f3876be5aa5ca372d05fb4125472","https://git.kernel.org/stable/c/46c82c252e46cf16c09b01da44fb766c702ddefa","https://git.kernel.org/stable/c/54972be11b8f639a506bbad1cfb75958e5c042a3","https://git.kernel.org/stable/c/093a28998374f4007ffe67cc661f8192c1b062a9"],"weaknesses":[],"ingestedAt":"2026-11-30T13:42:04.437Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139095.json","commit":"5317bbbde1916a58cb1fadabb726eb126daf44c1","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139095","state":"PUBLISHED","datePublished":"2026-11-30T13:31:31.892Z","dateUpdated":"2026-11-30T13:31:31.892Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.913Z"},"containers":{"cna":{"title":"loopback: use eth_type_trans_careful()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nloopback: use eth_type_trans_careful()\n\ntc egress actions can leave an skb with fewer than ETH_HLEN bytes in\nits linear part. loopback_xmit() then crashes in eth_type_trans():\n\n  tc qdisc add dev lo clsact\n  tc filter add dev lo egress matchall action vlan pop_eth\n  # AF_PACKET SOCK_RAW: eth / eth / 8192 bytes of payload\n\n  kernel BUG at include/linux/skbuff.h:2839!\n  RIP: 0010:eth_type_trans (include/linux/etherdevice.h:635 net/ethernet/eth.c:163)\n  Call Trace:\n   loopback_xmit (drivers/net/loopback.c:87)\n   dev_hard_start_xmit (include/linux/netdevice.h:5455 include/linux/netdevice.h:5464 net/core/dev.c:4057 net/core/dev.c:4073)\n   __dev_queue_xmit (net/core/dev.c:5066)\n   packet_sendmsg (net/packet/af_packet.c:3157 net/packet/af_packet.c:3189)\n\nThe same happens with \"action ife decode\" on lo egress.\n\nUse eth_type_trans_careful(), and drop the packet if the Ethernet\nheader can not be pulled."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"b98a4edc2e16f794a265022c9e53b20853e3fbff","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"be5fff188ef3139dbfc6673b79ff4e284b7ceff2","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"f5ccefb3ec10f3876be5aa5ca372d05fb4125472","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"46c82c252e46cf16c09b01da44fb766c702ddefa","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"54972be11b8f639a506bbad1cfb75958e5c042a3","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"093a28998374f4007ffe67cc661f8192c1b062a9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/loopback.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.12","versionType":"semver"},{"version":"6.1.193","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/loopback.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b98a4edc2e16f794a265022c9e53b20853e3fbff"},{"url":"https://git.kernel.org/stable/c/be5fff188ef3139dbfc6673b79ff4e284b7ceff2"},{"url":"https://git.kernel.org/stable/c/f5ccefb3ec10f3876be5aa5ca372d05fb4125472"},{"url":"https://git.kernel.org/stable/c/46c82c252e46cf16c09b01da44fb766c702ddefa"},{"url":"https://git.kernel.org/stable/c/54972be11b8f639a506bbad1cfb75958e5c042a3"},{"url":"https://git.kernel.org/stable/c/093a28998374f4007ffe67cc661f8192c1b062a9"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:31:31.892Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}