CVE-2026-99709: Linux kernel IP fragment reassembly lets a queue’s byte count wrap past 2^32 and frees a socket that is still in use

ByLinuxtastic

December 1, 2026 #CVE, #Linux Kernel

IP fragments wait in a reassembly queue until the whole datagram has arrived, and the memory they hold is accounted per network namespace against ipfrag_high_thresh. The kernel CNA record describes the arithmetic at the end: “inet_frag_reasm_finish() sums the truesize of all fragments in an int. If this sum reaches 2^32, it wraps, and the final sk_wmem_alloc adjustment of the socket owning the reassembled skb can cancel its own reference, leading to a use-after-free of this socket. This can be triggered from an unprivileged user/network namespace, raising ipfrag_high_thresh and using padded TUN packets, which keep a large truesize after being trimmed by ip_rcv_core().” Red Hat and SUSE rate it Important at 7.8; Ubuntu Medium, with every release still at “needs evaluation”. If a host allows unprivileged user namespaces, which is the default on most distributions and a requirement for rootless containers, upgrade it to a kernel at or above 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65 or 7.3.5 and reboot.

CVE-2026-99709 at a glance.

ComponentLinux kernel, IP fragment reassembly: inet_frag_queue_insert() and inet_frag_queue_flush() in net/ipv4/inet_fragment.c, struct inet_frag_queue in include/net/inet_frag.h; shared by IPv4, IPv6 and the netfilter defragmentation paths
Affected versionsmainline 6.9 up to 7.4-rc2 (from commit 18685451, “inet: inet_defrag: prevent sk release while still in use”, the change that gave a reassembled datagram a socket owner), and the stable series that took that commit as a backport: 5.4.285 up to 5.5, 5.10.227 up to 5.10.275, 5.15.168 up to 5.15.226, 6.1.85 up to 6.1.193, 6.6.26 up to 6.6.163, 6.8.5 up to 6.9; 6.12.x below 6.12.119, 6.18.x below 6.18.65, 7.3.x below 7.3.5
Fixed inmainline 7.4-rc2 (commit 3ae20e46, the one Debian and Ubuntu cite) and stable 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.5; eight fix commits in the record. The fix tracks each queue’s truesize and refuses a fragment that would take it past INT_MAX / 2, returning a new IPFRAG_TOOBIG that makes the caller kill the queue; 14 lines added in two files. No fix is listed for the 5.4 series
SeverityRed Hat Important, CVSS 3.1 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), score marked draft; SUSE important, 7.8, the same vector; Ubuntu Medium, no Ubuntu score and every release at “needs evaluation”; the kernel CNA gives no score and NVD is Received with no score, CWE or CPE
Exploited in the wildNot on the CISA KEV catalogue (2026.11.30). EPSS 0.00177 (8th percentile) on 1 December 2026
Who is exposedHosts on an affected kernel where an unprivileged local user can create a user namespace with its own network namespace: that is what lets the attacker set ipfrag_high_thresh as high as they like in a namespace they own and feed it fragments through a TUN device. Red Hat’s statement: a local attacker with an account “can use unprivileged user namespaces to corrupt kernel memory”, and “remote traffic cannot independently trigger it under default thresholds”, because the host’s own threshold is far below 4 GiB. Hosts that disable unprivileged user namespaces are outside the described path; the attacker is local (AV:L) and unprivileged
PublishedCVE record 20 November 2026 (kernel CNA, updated 23 November with the stable backports); this page built 1 December 2026, last updated 1 December 2026

What it is

Every fragment of a datagram sits in the reassembly queue as an skb, and each skb’s truesize is the memory it really occupies, including the slack a driver or a TUN device allocated beyond the bytes in use. The queue is allowed to hold up to ipfrag_high_thresh bytes of truesize per network namespace, and that sysctl, as the record says, “has no upper limit”. When the last fragment arrives, inet_frag_reasm_finish() joins them and adds up their truesize to charge the result to the socket that owns the reassembled packet, and it did the sum in an int. A queue holding 4 GiB of truesize wraps the sum to a small or negative number, and the write-allocation adjustment the socket then receives, as the record puts it, “can cancel its own reference”, so the socket is freed while the reassembled packet and the rest of the stack still refer to it.

Getting 4 GiB into one queue is the trick, and the record describes it in one sentence: in an unprivileged user namespace with its own network namespace, the attacker owns the namespace’s ipfrag_high_thresh and can raise it to anything; a TUN device in that namespace lets them inject packets, and padded packets “keep a large truesize after being trimmed by ip_rcv_core()”, so each fragment costs far more in truesize than it carries in bytes. The host’s own threshold, which Red Hat notes is the reason remote traffic cannot do this by itself, never enters into it. What the attacker gets is a freed socket that the kernel keeps using, which is a local privilege escalation in the usual way or a crash, and both Red Hat and SUSE score it as the full local triple.

The fix on GitHub, by Eric Dumazet and committed by Paolo Abeni, reported by Kyle Zeng and reviewed by Ido Schimmel and Jiayuan Chen, adds a truesize field to struct inet_frag_queue, resets it when the queue is flushed, and in inet_frag_queue_insert() refuses a fragment that would take the running total past INET_FRAG_MAX_TRUESIZE, defined as INT_MAX / 2, returning a new IPFRAG_TOOBIG result on which “callers kill the queue”; the record adds that the bound “is far above the needs of legitimate traffic”. The Fixes: tag is the 2024 commit that made the socket own the reassembled datagram, which is why the affected range starts at 6.9 on mainline and at the points where the older stable series took that commit. git.kernel.org and lore.kernel.org refused our reader, so the backports are described from the record and the mainline commit from its GitHub mirror.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 1 December 2026; the link in the row is the tracker page, which will be newer than this one. The socket-owner change this depends on was backported into every maintained stable series in 2024, so every supported kernel is in range; on 1 December only Debian’s development suites and openSUSE Tumbleweed had the fix out.

DistributionStatusFixed package
AlpineNot consulted for this page—
DebianFixed in forky (7.3.5-1) and sid (7.3.6-1); trixie (6.12.117-1), trixie-security (6.12.118-1) and bookworm (6.1.192-3) vulnerable; no DSAunstable 7.3.5-1; nothing for trixie or bookworm on 1 December 2026
UbuntuMedium; linux at needs evaluation in every release from 14.04 to 26.10 on 1 December (page last updated 20 November); no USNnothing released on 1 December 2026
RHEL, Rocky, Alma, CentOS StreamImportant, 7.8 (bug 2577779, “Use-after-free via integer overflow in IP fragment reassembly”); RHEL 8, 9 and 10 kernels and RHEL 6 affected per the page, RHEL 7 and the RHEL 9 realtime kernel not affected; OpenShift CoreOS 9 and 10 images affected; no errata on 1 Decembernot yet
openSUSE/SLEimportant, 7.8, state Pending, bugs 1291725 and 1291750; released for openSUSE Tumbleweed; affected on every listed product in general support and the LTSS linesTumbleweed 7.3.6-2.1; nothing for SLE on 1 December 2026
Fedora, Arch; self-built kernelsNot consulted; upstream stable versions apply5.10.275 / 5.15.226 / 6.1.193 / 6.6.163 / 6.12.119 / 6.18.65 / 7.3.5 or later

How to check

Three questions, in order: which kernel is running, can an unprivileged user create a user namespace on it, and can that user get a TUN device inside one. The second is the precondition the record names; the third is nearly always yes once the second is, since /dev/net/tun is world-accessible by default and a namespace owner has CAP_NET_ADMIN in it.

# 1. the running kernel (compare with the fixed stable version for its series)
uname -r

# 2. the precondition: unprivileged user namespaces
sysctl user.max_user_namespaces kernel.unprivileged_userns_clone 2>/dev/null
# Ubuntu 24.04 and later restrict them through AppArmor instead
sysctl kernel.apparmor_restrict_unprivileged_userns 2>/dev/null
# the test itself, as an unprivileged user: a namespace in which the threshold is writable
unshare -Urn sysctl -w net.ipv4.ipfrag_high_thresh=8589934592 2>&1 | head -1

# 3. a TUN device inside that namespace
ls -l /dev/net/tun
unshare -Urn ip tuntap add mode tun name t0 2>&1 | head -1

A kernel at or above the fixed stable version for its series is done. A host on which the unshare test fails for an unprivileged user, because max_user_namespaces is 0, unprivileged_userns_clone is 0 on the distributions that have it, or AppArmor restricts it on Ubuntu, is outside the record’s path, and the host’s own ipfrag_high_thresh (4 MiB by default) keeps remote fragments far below the wrap. A host where the test succeeds and prints the new threshold is the record’s case, and every local account on it is a candidate attacker; that is the state of a default install on most distributions and of any host that runs rootless containers. A crash looks like a use-after-free report with inet_frag_reasm_finish or sk_wmem_alloc in the trace; there is nothing to watch for short of it.

How to fix it

Install the fixed kernel and reboot; the reassembly code is in the running kernel. Debian forky and sid and Tumbleweed had the fix out on 1 December; Debian trixie and bookworm, Ubuntu, Red Hat and SUSE’s enterprise kernels were pending.

# Debian forky / sid (and trixie or bookworm once their security update names this CVE)
apt update && apt install linux-image-amd64 && systemctl reboot       # or linux-image-arm64
# Ubuntu, RHEL family, SUSE: when the pending builds land
apt update && apt full-upgrade && systemctl reboot
dnf upgrade kernel && systemctl reboot
zypper patch && systemctl reboot
uname -r
# Until then, on hosts that do not need unprivileged user namespaces: turn them off (this breaks rootless
# containers, unprivileged Flatpak and browser sandboxes that rely on them, so check first)
sysctl -w user.max_user_namespaces=0 && echo 'user.max_user_namespaces = 0' > /etc/sysctl.d/99-no-userns.conf
# Ubuntu 24.04 and later: the AppArmor restriction is the supported switch
sysctl -w kernel.apparmor_restrict_unprivileged_userns=1

Disabling unprivileged user namespaces removes the record’s path but it is a change many hosts cannot make: rootless Podman and Docker, the LXD and systemd-nspawn unprivileged modes, Flatpak and the Chromium sandbox all create them. What not to do: do not lower the host’s ipfrag_high_thresh and call it done, because the threshold that matters is the one inside the attacker’s own namespace, which the host’s value does not govern; and do not read Red Hat’s remark that remote traffic cannot trigger this as a reason to treat it as low priority on a multi-user or container host, where the local account the vector needs is the ordinary state of affairs.

Sources

  • CVE-2026-99709 at CVE.org — the kernel CNA record (20 November 2026, updated 23 November): the commit message with the “sums the truesize of all fragments in an int” sentence, the namespace and TUN trigger, and the INT_MAX / 2 bound, the git and version ranges, include/net/inet_frag.h, net/ipv4/inet_fragment.c
  • Fix commits on git.kernel.org: 3ae20e46 (mainline, 7.4-rc2) and the backports 86bc36ef, 68515ac2, 85b53c90, b3a7ab21, 4d820b22, 4bf5dee2, b7f84486; git.kernel.org refuses automated readers, so the mainline commit was read on GitHub: Eric Dumazet, reported by Kyle Zeng, reviewed by Ido Schimmel and Jiayuan Chen, the Fixes: 18685451 tag, the truesize field and IPFRAG_TOOBIG
  • NVD entry — Received on 20 November 2026; no NVD score, CWE or CPE on 1 December
  • Distribution trackers: Debian (forky 7.3.5-1 and sid fixed, trixie and bookworm vulnerable) · Ubuntu (Medium; needs evaluation on every release) · Red Hat (Important 7.8, RHEL 8–10 affected, no errata; bug 2577779) · SUSE (important 7.8, Tumbleweed 7.3.6-2.1; bugs 1291725, 1291750)
  • CISA KEV catalogue 2026.11.30, not listed · EPSS 0.00177 (percentile 0.076) on 1 December 2026

Related reading

This advisory page was assembled from the primary sources listed above on 1 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.