VDB

CVE-2026-80742

CVE-2026-80742 PUBLISHED

af_packet: Don't send zero-byte data in tpacket_snd().

Reported by linux · Published September 3, 2026

In the Linux kernel, the following vulnerability has been resolved: af_packet: Don't send zero-byte data in tpacket_snd(). syzbot reported a WARNING in __dev_queue_xmit() triggered via tpacket_snd(): skb_assert_len WARNING: at include/linux/skbuff.h:2753 skb_assert_len WARNING: at __dev_queue_xmit+0x21bc/0x4970 net/core/dev.c:4781 Call Trace: <TASK> dev_queue_xmit include/linux/netdevice.h:3448 [inline] packet_xmit+0x243/0x310 net/packet/af_packet.c:276 tpacket_snd net/packet/af_packet.c:2907 [inline] packet_sendmsg+0x28d6/0x4eb0 net/packet/af_packet.c:3134 When sending 0-byte packets via TPACKET ring buffer on devices with no hard header (e.g. dev->hard_header_len == 0), tpacket_fill_skb() populates an skb with skb->len == 0 and returns 0. tpacket_snd() then forwards this empty skb to packet_xmit(), causing __dev_queue_xmit() to hit skb_assert_len(skb). Similar checks exist in packet_snd() via commit dc633700f00f ("net/af_packet: check len when min_header_len equals to 0") and in packet_sendmsg_spkt() via commit 6a341729fb31 ("af_packet: Don't send zero-byte data in packet_sendmsg_spkt()."). Return -EINVAL in tpacket_fill_skb() when skb->len is zero to reject zero-length packets in tpacket_snd().

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perfAmazon Linux1:6.1.186-228.374.amzn2023
kernel-livepatch-6.18.48-107.148Amazon Linux1:1.0-0.amzn2023
bpftool6.18Amazon Linux1:6.18.48-107.148.amzn2023
kernel-toolsAmazon Linux1:6.1.186-228.374.amzn2023
kernel-develAmazon Linux1:6.1.186-228.374.amzn2023
kernel6.18-headersAmazon Linux1:6.18.48-107.148.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.48-107.148.amzn2023
perf6.12Amazon Linux1:6.12.110-135.201.amzn2023
python3-perf6.12Amazon Linux1:6.12.110-135.201.amzn2023
kernel-livepatch-6.1.186-228.374Amazon Linux1:1.0-0.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.48-107.148.amzn2023
perf6.18Amazon Linux1:6.18.48-107.148.amzn2023

5 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
LinuxLinux2.6.12, 0, 5.10.266
amazon:2023perf0
amazon:2023kernel-livepatch-6.18.48-107.1480
amazon:2023bpftool6.180
amazon:2023kernel-tools0
amazon:2023kernel-devel0
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-modules-extra0
amazon:2023perf6.120
amazon:2023python3-perf6.120
amazon:2023kernel-livepatch-6.1.186-228.3740
amazon:2023kernel6.18-tools-devel0
amazon:2023perf6.180
amazon:2023kernel6.12-devel0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023microvm-kernel6.180
amazon:2023python3-perf6.180
LinuxLinux7.2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
amazon:2023kernel6.12-tools0

…and 18 more

Timeline

  • Sep 3, 2026 EPSS Score (13 in total, the first dated here)
  • Sep 3, 2026 Coalition ESS Score
  • Sep 3, 2026 CVE Published
  • Nov 6, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-80742
vulnetix vdb fixes CVE-2026-80742

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-80742/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›