CVE-2026-31669·Kernel vulnerability
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.
- Severity
- critical
- Software
- Kernel
- Fixed in
- 6.19.13
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.47% — higher than 41% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-31669 scores 9.8 on CVSS, so a successful attack would be serious — but at 0.47%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 6.19.13
Fixed in: 6.19.13
How to fix this CVE
Update your Linux kernel to version 6.19.13 or later to resolve a critical memory safety issue affecting MPTCP IPv6 subflow socket handling. This vulnerability allows concurrent network lookups to access freed memory when sockets are deallocated, potentially leading to system crashes or data corruption. Kernel updates should be applied immediately followed by a system reboot to load the patched version.
sudo dnf update kernel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r — ensure it is 6.19.13 or later (affected range is 6.19 to 6.19.12)
- Verify IPv6 MPTCP support is enabled: grep -i mptcp /boot/config-$(uname -r) — look for CONFIG_MPTCP=y
- Search system logs for slab-use-after-free errors: sudo journalctl -xe | grep -i 'use-after-free\|__inet_lookup_established' or check /var/log/kern.log
- Confirm the patch is applied by checking kernel version matches or later than 6.19.13: uname -r | grep -E '6\.19\.(1[3-9]|[2-9][0-9]|[0-9]{3,})' && echo 'Patched' || echo 'Vulnerable'
FAQ
What is CVE-2026-31669?
This is a use-after-free vulnerability in the Linux kernel's MPTCP implementation where IPv6 subflow sockets are incorrectly allocated from the general kernel memory pool instead of the protected TCP slab cache, allowing concurrent hash table lookups to access freed memory.
Is CVE-2026-31669 being actively exploited?
No, there are no confirmed active exploits or public proof-of-concept code available as of the vulnerability disclosure. However, the critical CVSS score (9.8) warrants immediate patching to prevent potential future exploitation.
What versions of Kernel are affected by CVE-2026-31669?
Linux kernel versions 6.19 through 6.19.12 are vulnerable. Version 6.19.13 and all later stable releases contain the fix.
How do I check if my server is vulnerable to CVE-2026-31669?
Run `uname -r` to see your current kernel version. If the output shows 6.19.0 through 6.19.12, your system is affected and requires an immediate kernel update.
Does Defensia detect CVE-2026-31669?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-31669 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/15fa9ead4d5e6b6b9c794e84144146c917f2cb62
- https://git.kernel.org/stable/c/3fd6547f5b8ac99687be6d937a0321efda760597
- https://git.kernel.org/stable/c/9b55b253907e7431210483519c5ad711a37dafa1
- https://git.kernel.org/stable/c/b313e9037d98c13938740e5ebda7852929366dff
- https://git.kernel.org/stable/c/eb9c6aeb512f877cf397deb1e4526f646c70e4a7
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-31669. Free for 1 server.
Get started free