9.8

CVE-2026-31669: mptcp: fix slab-use-after-free in __inet_lookup_established

Modified
AliasesUBUNTU-CVE-2026-31669DEBIAN-CVE-2026-31669
Published 24-04-2026Last modified 19-10-2026

Vulnerability summary

CVE-2026-31669 is a critical (CVSS 9.8) Use After Free vulnerability in linux. EPSS estimates a 0.47% chance of exploitation in the next 30 days, higher than 40.8% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.47%
0%100%
Low · -0.35 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 37 · Related 29

Timeline

  1. 24-04-2026
    PublishedVulnerability first disclosed.
  2. 19-10-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: mptcp: fix slab-use-after-free in __inet_lookup_established The ehash table lookups are lockless and rely on SLAB_TYPESAFE_BY_RCU to guarantee socket memory stability during RCU read-side critical sections. Both tcp_prot and tcpv6_prot have their slab caches created with this flag via proto_register(). However, MPTCP's mptcp_subflow_init() copies tcpv6_prot into tcpv6_prot_override during inet_init() (fs_initcall, level 5), before inet6_init() (module_init/device_initcall, level 6) has called proto_register(&tcpv6_prot). At that point, tcpv6_prot.slab is still NULL, so tcpv6_prot_override.slab remains NULL permanently. This causes MPTCP v6 subflow child sockets to be allocated via kmalloc (falling into kmalloc-4k) instead of the TCPv6 slab cache. The kmalloc-4k cache lacks SLAB_TYPESAFE_BY_RCU, so when these sockets are freed without SOCK_RCU_FREE (which is cleared for child sockets by design), the memory can be immediately reused. Concurrent ehash lookups under rcu_read_lock can then access freed memory, triggering a slab-use-after-free in __inet_lookup_established. Fix this by splitting the IPv6-specific initialization out of mptcp_subflow_init() into a new mptcp_subflow_v6_init(), called from mptcp_proto_v6_init() before protocol registration. This ensures tcpv6_prot_override.slab correctly inherits the SLAB_TYPESAFE_BY_RCU slab cache.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.47%

Chance of exploitation in the next 30 days

Percentile

41%

Versus all other CVEs

30-day change

Decrease -0.35 pp

From 0.82% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu145 products
  • linux< 5.15.0-185.195 | < 6.8.0-134.134 | < 6.17.0-40.40
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 5.15.0-1111.118 | < 6.8.0-1060.63 | < 6.17.0-1019.19
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ b19bc2945b40b9fd38e835700907ffe8534ef0de, < f6e1f25fa5e733570f6d6fe37a4dfed2a0deba47 | ≥ b19bc2945b40b9fd38e835700907ffe8534ef0de, < fb1f54b7d16f393b8b65d328410f78b4beea8fcc | ≥ b19bc2945b40b9fd38e835700907ffe8534ef0de, < 3fd6547f5b8ac99687be6d937a0321efda760597 | ≥ b19bc2945b40b9fd38e835700907ffe8534ef0de, < eb9c6aeb512f877cf397deb1e4526f646c70e4a7 | ≥ b19bc2945b40b9fd38e835700907ffe8534ef0de, < 15fa9ead4d5e6b6b9c794e84144146c917f2cb62 | ≥ b19bc2945b40b9fd38e835700907ffe8534ef0de, < b313e9037d98c13938740e5ebda7852929366dff | ≥ b19bc2945b40b9fd38e835700907ffe8534ef0de, < 9b55b253907e7431210483519c5ad711a37dafa1 | 5.12
  • linux_kernelEOL≥ 5.12.1, < 5.15.203 | ≥ 5.16, < 6.1.169 | ≥ 6.2, < 6.6.135 | ≥ 6.7, < 6.12.82 | ≥ 6.13, < 6.18.23 | ≥ 6.19, < 6.19.13 | 5.12 | 7.0:rc1 | 7.0:rc2 | 7.0:rc3 | 7.0:rc4 | 7.0:rc5 | 7.0:rc6 | 7.0:rc7
Debian1 product
  • linux< 6.1.170-1 | < 6.12.85-1 | < 6.19.13-1

3 vendors · 148 products

References

41 links
Show all 41 references