CVE-2026-31669
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA race condition in Linux kernel's MPTCP implementation causes IPv6 subflow child sockets to be allocated via kmalloc (kmalloc-4k) instead of the proper TCPv6 slab cache. This occurs because mptcp_subflow_init() copies tcpv6_prot before proto_register() has initialized its slab field, causing the override to retain a NULL slab pointer. Since kmalloc-4k lacks SLAB_TYPESAFE_BY_RCU protection, freed socket memory can be immediately reused while concurrent ehash lookups under rcu_read_lock still reference it, resulting in a use-after-free.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 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.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check kernel version against affected rangesRun 'uname -r' or 'cat /proc/version' and compare the kernel version to the affected ranges: >= 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.0Affected if The installed kernel version falls within any of the listed affected ranges
-
Verify MPTCP kernel support is enabledCheck for CONFIG_MPTCP in /boot/config-$(uname -r) or /proc/config.gz, or check if /sys/module/mptcp existsAffected if MPTCP support is compiled into the running kernel (CONFIG_MPTCP=y or mptcp module is loaded)
-
Confirm IPv6 is enabled in the kernelCheck if IPv6 is loaded: 'lsmod | grep ipv6' or check /proc/sys/net/ipv6/conf/*/disable_ipv6 shows 0, or attempt 'ip -6 addr'Affected if IPv6 support is loaded or enabled in the kernel
-
Check if MPTCP is available at runtimeRun 'ss -m' or check /proc/net/protocols for MPTCP, or check 'cat /proc/sys/net/mptcp/enabled'Affected if MPTCP is reported as enabled and available for use on the system
The system is affected if the kernel version is in the affected list, MPTCP support is enabled, and IPv6 is active, as only then will the vulnerable IPv6 subflow socket allocation code path be exercised.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped5.15.2036.1.1696.6.135
Apply the kernel patch that restructures MPTCP initialization by splitting IPv6-specific setup into mptcp_subflow_v6_init() called after tcpv6_prot registration, ensuring proper slab cache inheritance.
Upgrade to kernel version 5.15.203 or later (for 5.15.x branch), 6.1.169 or later (for 6.1.x branch), 6.6.135 or later (for 6.6.x branch), or 6.12.82 or later (for 6.12.x branch or later)
- 1. Identify the current running kernel version using `uname -r`
- 2. Determine the appropriate upgrade path based on the current kernel version (see upgrade_path)
- 3. Update the Linux kernel package to a version >= 5.15.203, >= 6.1.169, >= 6.6.135, or >= 6.12.82 depending on your current branch
- 4. Reboot the system to load the fixed kernel
- 5. Verify the fix is applied by checking the kernel version with `uname -r` and confirming it matches a fixed release
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing8.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,576.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-31669 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-31669 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data