CVE Tools

CVE-2026-139793

inet: frags: bound the wmem charge of the socket completing a reassembly

CVE-2026-139793 affects Linux.

No known exploitation. No EPSS score yet. Fixed versions are out.

Check it yourself

No ready-made check. Neither Nuclei nor OpenVAS has one for this CVE yet.

Request a scan

Published Updated Sources: CVE.org, NVD

What to do

Find your product and version, then upgrade to the build on the right.

  • LinuxAffected: ≥ f4877225313d474659ee53150ccc3d553a978727, < 2970a56311e4b26e12acdc9c53887243283e8b02Upgrade to: 2970a56311e4b26e12acdc9c53887243283e8b02Affected: ≥ 18685451fc4e546fc0e718580d32df3c0e5c8272, < 6ee928d489fae99aa2108dff346b5afa142b9d3dUpgrade to: 6ee928d489fae99aa2108dff346b5afa142b9d3dAffected: ≥ 18685451fc4e546fc0e718580d32df3c0e5c8272, < dad6663a5dbf5f23c5921f0e2d0709560d388fa6Upgrade to: dad6663a5dbf5f23c5921f0e2d0709560d388fa6Affected: ≥ 18685451fc4e546fc0e718580d32df3c0e5c8272, < 38f0414192e7ed0a7f250a64d5dfacd6d6139098Upgrade to: 38f0414192e7ed0a7f250a64d5dfacd6d6139098 + 12 more branchesStated by: CVE record

Versions as the sources state them. Full version matrix after sign-in

What it is

From the CVE record

In the Linux kernel, the following vulnerability has been resolved: inet: frags: bound the wmem charge of the socket completing a reassembly When a socket owned fragment completes a reassembly queue, inet_frag_reasm_prepare() and inet_frag_reasm_finish() charge the truesize of all other fragments to its sk_wmem_alloc. These fragments were orphaned when queued, and might have been sent by someone else, for instance padded TUN packets. Commit 3ae20e4697eb ("inet: frags: limit the truesize of a reassembly queue") bounds this charge to INT_MAX / 2 per queue, but a socket can complete several queues while the reassembled skbs are still alive, for instance held in a qdisc. sk_wmem_alloc can then go past INT_MAX, refcount_add() saturates it with a WARN, and the socket is leaked. This is reachable from an unprivileged user/network namespace, by raising ipfrag_high_thresh. Refuse the reassembly if the charge would push sk_wmem_alloc above 2 * sk_sndbuf, the bound ip_append_data() uses, plus 4MB of slack for fragments inflated by a refragmentation with a small MTU, and never above INT_MAX / 2. The cap matters for tun sockets, which use sk_sndbuf = INT_MAX, and whose skbs are still owned when act_ct or openvswitch reassemble them at ingress. Several queues can complete at the same time on different cpus for the same socket, so the charge is reserved with a cmpxchg() loop in inet_frag_reasm_prepare(), before it modifies the queue, and settled in inet_frag_reasm_finish(). Move the size checks of ip_frag_reasm(), ip6_frag_reasm() and nf_ct_frag6_reasm() before inet_frag_reasm_prepare(), using the first fragment which becomes the head, so that a successful inet_frag_reasm_prepare() is always followed by inet_frag_reasm_finish(). All callers already kill the queue when inet_frag_reasm_prepare() returns NULL. Found by code inspection (AI review), not reproduced.

In plain language

No plain-language summary for this CVE yet.

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

No public exploit or proof of concept found in the sources we track.

EPSS

No EPSS score yet. New CVEs are usually scored within a few days.

Lifecycle

2 events over 0 days, from the signal feeds we watch.

  1. Publishedrecord updated

Affected products

Sources

Questions about CVE-2026-139793

Which versions are affected by CVE-2026-139793?
Linux: ≥ f4877225313d474659ee53150ccc3d553a978727, < 2970a56311e4b26e12acdc9c53887243283e8b02; ≥ 18685451fc4e546fc0e718580d32df3c0e5c8272, < 6ee928d489fae99aa2108dff346b5afa142b9d3d; ≥ 18685451fc4e546fc0e718580d32df3c0e5c8272, < dad6663a5dbf5f23c5921f0e2d0709560d388fa6.
How do I fix or mitigate CVE-2026-139793?
Upgrade to a fixed build for your product branch: 2970a56311e4b26e12acdc9c53887243283e8b02, 6ee928d489fae99aa2108dff346b5afa142b9d3d, dad6663a5dbf5f23c5921f0e2d0709560d388fa6, 38f0414192e7ed0a7f250a64d5dfacd6d6139098.

Last updated

Related articles

All articles

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Linux, not every advisory.