# CVE-2026-80742: af_packet: Don't send zero-byte data in tpacket_snd().

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-09-03T08:26:25.920Z
- Modified: 2026-11-06T17:19:57.490Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before dde212f8622f5cb36223fff1ebd6e6f2a3dc61fe; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 80a702964467b998d254f16cc61c2c9a20540c9d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7521e691c7c4f2231634c95053281ac888d1f452; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1fc70b3d513bafb16b17540178870ef46e81c0bb; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 3fa110f9e2ea96f567f2194c673c4bc327640111; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 98c5914d6b7bd4b4675535908e57dea31f1efd6a; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f09ac5682f1bb67981fcb6ead4d3cfe439225876; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6bcd76c134c55c697148acb5c0194e9666abdf84; 2.6.12 (not affected: before 2.6.12; from 5.10.266 up to 5.10.*; from 5.15.217 up to 5.15.*; from 6.1.184 up to 6.1.*; from 6.6.153 up to 6.6.*; from 6.12.105 up to 6.12.*; from 6.18.46 up to 6.18.*; from 7.1.10 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/dde212f8622f5cb36223fff1ebd6e6f2a3dc61fe>
- <https://git.kernel.org/stable/c/80a702964467b998d254f16cc61c2c9a20540c9d>
- <https://git.kernel.org/stable/c/7521e691c7c4f2231634c95053281ac888d1f452>
- <https://git.kernel.org/stable/c/1fc70b3d513bafb16b17540178870ef46e81c0bb>
- <https://git.kernel.org/stable/c/3fa110f9e2ea96f567f2194c673c4bc327640111>
- <https://git.kernel.org/stable/c/98c5914d6b7bd4b4675535908e57dea31f1efd6a>
- <https://git.kernel.org/stable/c/f09ac5682f1bb67981fcb6ead4d3cfe439225876>
- <https://git.kernel.org/stable/c/6bcd76c134c55c697148acb5c0194e9666abdf84>

## Sources

- CVE List: [CVE-2026-80742](https://www.cve.org/CVERecord?id=CVE-2026-80742), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-80742](https://nvd.nist.gov/vuln/detail/CVE-2026-80742), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-80742 · Whole record: https://cve.day/CVE-2026-80742.json · Rebuilt by cve.day 2026-11-25T22:59:36.162Z
