CVE-2026-80742
kernel: af_packet: Don't send zero-byte data in tpacket_snd()
Overview
Description
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().
Source: OX vulnerability database
Severity
5.5 · LOW
CVSS 3.1 base score, scored by redhat.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 92 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | kernel | 0:6.6.157.1-1.azl3 |
Oracle Linux 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | bpftool +13 | 5.15.0-325.220.5.el8uek |
| 9 | bpftool +2 | 5.15.0-325.220.5.el9uek |
| 9 | kernel-uek +34 | 6.12.0-207.111.5.1.el9uek |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | bpftool +10 | 6.12.107-1.ph5 |
Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | bpftool +27 | affected |
| 8 | bpftool +47 | affected |
| 9 | bpftool +108 | affected |
amazon linux 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | kernel-livepatch-6-1-186-228-374 +2 | 1:1.0-0.amzn2023 |
| 2023 | bpftool +16 | 1:6.1.186-228.374.amzn2023 |
| 2023 | bpftool6-12 +16 | 1:6.12.110-135.201.amzn2023 |
| 2023 | bpftool6-18 +17 | 1:6.18.48-107.148.amzn2023 |
debian 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | affected |
| 12 | linux | 6.1.187-1 |
| 12 | linux-6-12 | 6.12.107-1~deb12u1 |
| 13 | linux | 6.12.105-1 |
| 14 | linux | 7.1.10-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 1 |
ubuntu 5 releases · 49 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | linux +12 | affected |
| 20.04-ESM | linux +10 | affected |
| 20.04-ESM | linux-nvidia-tegra-5-15 | 5.15.0-1070.72~20.04.1 |
| 20.04-ESM | linux-ibm-5-15 | 5.15.0-1113.117~20.04.1 |
| 20.04-ESM | linux-riscv-5-15 | 5.15.0-1113.117~20.04.2 |
| 20.04-ESM | linux-intel-iotg-5-15 | 5.15.0-1114.120~20.04.1 |
68 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-80742
- git.kernel.org https://git.kernel.org/linus/6bcd76c134c55c697148acb5c0194e9666abdf84 (7.2)
- git.kernel.org https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-80742.mbox
- git.kernel.org https://git.kernel.org/stable/c/1fc70b3d513bafb16b17540178870ef46e81c0bb
- git.kernel.org https://git.kernel.org/stable/c/3fa110f9e2ea96f567f2194c673c4bc327640111
- git.kernel.org https://git.kernel.org/stable/c/6bcd76c134c55c697148acb5c0194e9666abdf84
- git.kernel.org https://git.kernel.org/stable/c/7521e691c7c4f2231634c95053281ac888d1f452
- git.kernel.org https://git.kernel.org/stable/c/80a702964467b998d254f16cc61c2c9a20540c9d
- git.kernel.org https://git.kernel.org/stable/c/98c5914d6b7bd4b4675535908e57dea31f1efd6a
- git.kernel.org https://git.kernel.org/stable/c/dde212f8622f5cb36223fff1ebd6e6f2a3dc61fe
Show all 33 references
- git.kernel.org https://git.kernel.org/stable/c/f09ac5682f1bb67981fcb6ead4d3cfe439225876
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-80742.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-500377.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-80742
- ubuntu.com https://ubuntu.com/security/notices/USN-8959-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8961-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8963-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9019-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9020-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9021-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9022-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9023-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9024-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9025-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9026-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9029-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9039-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9040-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9066-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9091-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9160-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9183-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-80742
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.