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().
Published: 2026-09-03
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, the af_packet interface was allowing zero‑length packets to be transmitted via the tpacket_snd() path. The empty skb caused a length assertion failure in the network stack, bringing the kernel to an error state. While not a remote code execution flaw, the resulting kernel panic can be leveraged to crash or disrupt the system, effectively creating a denial‑of‑service condition. This weakness is a missing validation on packet length in af_packet.

Affected Systems

Any Linux system running a kernel that still contains the unpatched af_packet implementation is affected. The issue originates from the core Linux kernel; affected products include all Linux distributions using versions that lack the recent commit f09ac5682f1bb67981fcb6ead4d3cfe439225876. The exact range of affected versions is not identified but applies to kernels prior to the application of the fix.

Risk and Exploitability

The CVE does not have an assigned CVSS score or EPSS value and is not listed in CISA’s KEV catalog. The bug can be triggered by sending a zero‑length packet through a packet socket, which an attacker could do from local or remote. The vulnerability requires that the target host is exposed to a tpacket interface; exploitation would likely be local or remote network traffic. The lack of a publicly available exploit and absence from KEV suggests a moderate risk, but because the flaw can cause a kernel crash, it deserves attention.

Generated by OpenCVE AI on September 3, 2026 at 12:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the af_packet zero‑length packet validation fix (commit f09ac5682f1bb67981fcb6ead4d3cfe439225876).
  • If a kernel upgrade is not immediately available, backport the patch from the Linux kernel tree that implements the fix, then reboot the system.
  • Monitor system logs for “skb_assert_len” warnings and ensure the fix is applied promptly.

Generated by OpenCVE AI on September 3, 2026 at 12:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Sep 2026 12:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-398
CWE-647

Thu, 03 Sep 2026 07:30:00 +0000

Type Values Removed Values Added
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().
Title af_packet: Don't send zero-byte data in tpacket_snd().
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-03T08:26:25.920Z

Reserved: 2026-08-26T14:34:25.790Z

Link: CVE-2026-80742

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-03T13:06:13.437

Modified: 2026-09-03T13:06:13.437

Link: CVE-2026-80742

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T12:30:04Z

Weaknesses
  • CWE-398
  • CWE-647

    Use of Non-Canonical URL Paths for Authorization Decisions