CVE-2026-74668

packet: use consistent hard_header_len in TX_RING send path

Published Aug 22, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

packet: use consistent hard_header_len in TX_RING send path

tpacket_snd() reads dev->hard_header_len independently for skb
allocation and header construction in tpacket_fill_skb(). Concurrent
netdevice reconfiguration can therefore make the reserved headroom
smaller than the amount later pushed, or make copylen - hard_header_len
negative.

Snapshot hard_header_len once before processing ring frames and use it
for the frame limit, headroom allocation, copy length, and skb
construction. Pass the snapshot to tpacket_fill_skb().

The separate SOCK_DGRAM consistency problem between hard_header_len and
header_ops->create is not addressed here.

Analysis

AI-generated

Technical impact

The packet transmission path in the Linux kernel reads the device’s hard_header_len value twice – once during socket buffer allocation and again when building the packet header in tpacket_fill_skb(). If a network device is reconfigured between these reads, the allocated headroom may become smaller than the space that will be copied, or the copy length can become negative. This misalignment can result in an out‑of‑bounds write, corrupting kernel memory (buffer overrun, CWE-131) or causing a kernel crash. The flaw exists in the packet.c source handling tpacket_snd() and affects any Linux kernel version that includes the buggy TX_RING send path.

Affected Systems

All Linux kernel releases that have not yet incorporated the hard_header_len snapshot fix, including kernel versions before the commit series starting with 016763e829cac37b3234eace86fd0a4c560de4a7. The affected systems are Linux servers, clients, and embedded devices that rely on packet sockets and TX_RING for high‑throughput packet handling.

Risk and Exploitability

The EPSS score < 1% and the vulnerability is not listed in the CISA KEV catalog. Nevertheless, the flaw allows a potential remote attacker to trigger an out‑of‑bounds write by sending packets while an adversary can alter the network device configuration, thereby creating a race condition. The CVSS score 7.8 characterizes this as a high‑severity vulnerability. The impact could be kernel memory corruption, unauthorized privilege escalation, or denial of service. Given that the kernel is a privilege level boundary, successful exploitation could compromise entire systems, although the exact likelihood and ease of exploitation remain uncertain without further exploitation research. The likely attack vector is inferred to be remote packet injection, where the attacker can adjust network device configuration before sending crafted packets.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the hard_header_len snapshot fix (the commit series starting with 016763e829cac37b3234eace86fd0a4c560de4a7 or later).
  • Reboot the system so that the patched kernel is actively in use.
  • If possible, disable or limit TX_RING usage on affected interfaces until the patch can be applied, reducing the attack surface.

Generated by OpenCVE AI on August 25, 2026 at 08:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4777-1 linux security update
Debian DLA Debian DLA DLA-4788-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6466-1 linux security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9029-1 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-119
CWE-362
Type Values Removed Values Added
Weaknesses CWE-131
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-119
CWE-362
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: packet: use consistent hard_header_len in TX_RING send path tpacket_snd() reads dev->hard_header_len independently for skb allocation and header construction in tpacket_fill_skb(). Concurrent netdevice reconfiguration can therefore make the reserved headroom smaller than the amount later pushed, or make copylen - hard_header_len negative. Snapshot hard_header_len once before processing ring frames and use it for the frame limit, headroom allocation, copy length, and skb construction. Pass the snapshot to tpacket_fill_skb(). The separate SOCK_DGRAM consistency problem between hard_header_len and header_ops->create is not addressed here.
Title packet: use consistent hard_header_len in TX_RING send path
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-131

    Incorrect Calculation of Buffer Size

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 16, 2026, 7:16 PM
Reserved
Aug 15, 2026, 5:44 AM
Status
Received
Published
Aug 22, 2026, 4:16 PM
Modified
Oct 16, 2026, 8:17 PM
Severity
Moderate
Public date
Aug 22, 2026, 12:00 AM