CVE-2026-99835

net/packet: check TX_RING fragments before memory accounting

7.8 high EPSS 0.20%

Published 30 Nov 2026 Updated 1 Dec 2026 CNA: Linux

Check your servers for CVE-2026-99835

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99835 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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]

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.5% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1, before 7e6e5dbf857af7d3a1cb85338e2969911bfcaf64
affected from 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1, before 720b14bb971d0216c135f43d146b8bc3c231e296
affected from 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1, before 293fd9536355b97ae5f72e714adea05f6b3be14c
affected from 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1, before fe11c2ef56767e5cd748030fe38e8d17101b6d13
affected from 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1, before 3e3fb4bc8db7e59bf06b31df26dfbca56fdfa8d2
affected from 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1, before 7d6eccadf776e56f13873b1b8de4e7583b51fc02
affected from 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1, before a7b2e3bac0e1bcde13810f6b9b20408a89117deb
affected from 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1, before dc4dd12f80e499dc034710cd8195489abcf0b059
Other versions: unaffected
Linux
affected 2.6.31
unaffected before 2.6.31
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.117 up to and including 6.12.*
unaffected from 6.18.63 up to and including 6.18.*
unaffected from 7.3.4 up to and including 7.3.*
unaffected 7.4-rc1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99835 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99835

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-99835
trivy image --scanners vuln IMAGE | grep CVE-2026-99835

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-99835 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.