CVE-2026-99835

7.8High

Published Nov 30, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.8CVSS

High

0CVSS v3.110

Attack vector
Local
Complexity
Low
Privileges
Low
User action
None
Impact
Full C/I/A compromise
Weakness
—

What an attacker gets

Local attackers can trigger a use-after-free to gain elevated privileges or crash the system. This requires local access to the machine and the ability to send specially crafted packets via PACKET_VNET_HDR.

Root cause

The kernel fails to validate fragment counts before accounting for memory, allowing an oversized frame to corrupt the socket reference counter.

Affected versions

Versions not listed — check the vendor advisory.

CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Fix & remediation

Update to a patched kernel version containing the fix for net/packet. As a temporary mitigation, restrict access to raw sockets and PACKET_VNET_HDR functionality if not required by your applications.

remediation — bash
$ uname -r

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

In the Linux kernel, the following vulnerability has been resolved: net/packet: check TX_RING fragments before memory accounting tpacket_fill_skb() adds the full non-linear payload length to skb->truesize and sk_wmem_alloc before checking MAX_SKB_FRAGS. With PACKET_VNET_HDR, userspace can submit a ring-sized frame even when it greatly exceeds the device MTU. A near-INT_MAX frame can saturate sk_wmem_alloc before the fragment loop rejects it. A subsequent refcount_add(0x40000001) can temporarily turn REFCOUNT_SATURATED into 1. A concurrent TX completion can then drop that apparent last reference and free the still-live packet socket before refcount_warn_saturate() restores the counter. Check that the remaining payload fits in MAX_SKB_FRAGS pages before accounting it. Include the initial page offset in the calculation, and move the existing -EFAULT handling out of the fragment loop. This preserves the accepted packet sizes and error code while preventing an invalid frame from injecting an oversized byte charge. [edumazet: use net_warn_ratelimited() instead of pr_err(), add a Fixes: tag]

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-99835

More fully triaged vulnerabilities you may want to check next.