Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-53175

inet: frags: fix use-after-free caused by the fqdir_pre_exit() flush
Back to all
CVE

CVE-2026-53175

inet: frags: fix use-after-free caused by the fqdir_pre_exit() flush

In the Linux kernel, the following vulnerability has been resolved:

inet: frags: fix use-after-free caused by the fqdirpreexit() flush

On netns teardown, fqdirpreexit() walks the fqdir rhashtable and

flushes every fragment queue that is not yet complete using

inetfragqueue_flush(). That helper frees all the skbs queued on the

fragment queue but does not set INETFRAGCOMPLETE, and leaves

q->fragmentstail and q->lastrun_head pointing at the freed skbs.

The queue itself stays in the rhashtable.

fqdirpreexit() first lowers high_thresh to 0 to stop new queue lookups,

but it cannot stop a fragment that already obtained the queue through

inetfragfind() earlier and stalled just before taking the queue lock.

Once that fragment resumes after the flush and takes the queue lock,

it passes the INETFRAGCOMPLETE check and then dereferences the freed

fragmentstail. inetfragqueueinsert() reads FRAG_CB() and ->len of

that pointer and, on the append path, writes ->next_frag, causing a

slab use-after-free. IPv6, nfconntrackreasm6 and 6lowpan reassembly

share the same flush path and are affected as well.

Reset rbfragments, fragmentstail and lastrunhead in

inetfragqueue_flush() so a flushed queue no longer points at the

freed skbs. A fragment that resumes after the flush and takes the

queue lock then finds an empty queue and starts a new run instead of

dereferencing the freed fragmentstail. ipfrag_reinit() already

performed this reset after its own flush, so drop the now duplicate

code there.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/010c3313a4d178dc2d3ce958d2e5cb055e2864c1, https://git.kernel.org/stable/c/0e823ca0e7391630784ae7dd0981b7ad170a93d9, https://git.kernel.org/stable/c/32594b09854970d7ba83eb2dc8c69a2edd158c8e, https://git.kernel.org/stable/c/89b909e9704587bfecc1aab1d37e98faee03b9f9, https://git.kernel.org/stable/c/c22599cc90e1cd5f8129c8670bd68a02ff7177b4, https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53175.json, https://access.redhat.com/security/cve/CVE-2026-53175, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53175.json, https://nvd.nist.gov/vuln/detail/CVE-2026-53175, https://bugzilla.redhat.com/show_bug.cgi?id=2492840, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.00313%
EPSS Percentile
0.24218%
Introduced Version
22ee4010866da81aeee08e1ea3fddbe418feb212,543555954b1ee8d1903a7020324efb41b0c97428,c70df25214ac9b32b53e18e6ae3b8f073ffa6903,006a5035b495dec008805df249f92c22c89c3d2e,6.12.93,6.18.3,0,6.13.0,6.19.0
Fix Available
0e823ca0e7391630784ae7dd0981b7ad170a93d9,c22599cc90e1cd5f8129c8670bd68a02ff7177b4,89b909e9704587bfecc1aab1d37e98faee03b9f9,32594b09854970d7ba83eb2dc8c69a2edd158c8e,6.12.94,6.18.36,7.0.13,7.0.0-1010.10~24.04.1,7.0.0-29.29~24.04.2,7.0.0-1016.16~24.04.1,1:6.18.36-69.134.amzn2023,1:1.0-0.amzn2023,6.18.38-r0

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading