9.8
CRITICAL CVSS 3.1
CVE-2026-31669
mptcp: fix slab-use-after-free in __inet_lookup_established
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.

INFO

Published Date :

April 24, 2026, 3:16 p.m.

Last Modified :

Nov. 11, 2026, 11:10 p.m.

Remotely Exploit :

Yes !

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-31669 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 CRITICAL 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
Resolve slab-use-after-free by ensuring correct initialization order for MPTCP v6 subflow sockets.
  • Split IPv6 initialization into a new function.
  • Call new function before protocol registration.
  • Ensure correct slab cache inheritance.
  • Apply MPTCP kernel updates.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-31669 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-31669 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-31669 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-31669 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Translated by [email protected]

    Nov. 11, 2026

    Action Type Old Value New Value
    Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: mptcp: corrige el uso después de liberación de slab en __inet_lookup_established Las búsquedas en la tabla ehash no tienen bloqueo y dependen de SLAB_TYPESAFE_BY_RCU para garantizar la estabilidad de la memoria del socket durante las secciones críticas del lado de lectura de RCU. Tanto tcp_prot como tcpv6_prot tienen sus cachés de slab creadas con esta bandera a través de proto_register(). Sin embargo, mptcp_subflow_init() de MPTCP copia tcpv6_prot en tcpv6_prot_override durante inet_init() (fs_initcall, nivel 5), antes de que inet6_init() (module_init/device_initcall, nivel 6) haya llamado a proto_register(ref:tcpv6_prot). En ese punto, tcpv6_prot.slab sigue siendo NULL, por lo que tcpv6_prot_override.slab permanece NULL permanentemente. Esto hace que los sockets hijos de subflujo MPTCP v6 se asignen a través de kmalloc (cayendo en kmalloc-4k) en lugar de la caché de slab de TCPv6. La caché kmalloc-4k carece de SLAB_TYPESAFE_BY_RCU, por lo que cuando estos sockets se liberan sin SOCK_RCU_FREE (que se borra para los sockets hijos por diseño), la memoria puede ser reutilizada inmediatamente. Las búsquedas concurrentes de ehash bajo rcu_read_lock pueden entonces acceder a memoria liberada, desencadenando un uso después de liberación de slab en __inet_lookup_established. Esto se corrige dividiendo la inicialización específica de IPv6 de mptcp_subflow_init() en una nueva mptcp_subflow_v6_init(), llamada desde mptcp_proto_v6_init() antes del registro del protocolo. Esto asegura que tcpv6_prot_override.slab herede correctamente la caché de slab SLAB_TYPESAFE_BY_RCU.
  • CVE Modified by 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e

    Nov. 10, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/31xxx/CVE-2026-31669.json">CVE-2026-31669</a>
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 19, 2026

    Action Type Old Value New Value
    Added CWE CWE-416
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 16, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-31669', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-10-16T15:12:01.538596Z'}
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 15, 2026

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/15fa9ead4d5e6b6b9c794e84144146c917f2cb62
    Added Reference https://git.kernel.org/stable/c/3fd6547f5b8ac99687be6d937a0321efda760597
    Added Reference https://git.kernel.org/stable/c/9b55b253907e7431210483519c5ad711a37dafa1
    Added Reference https://git.kernel.org/stable/c/b313e9037d98c13938740e5ebda7852929366dff
    Added Reference https://git.kernel.org/stable/c/eb9c6aeb512f877cf397deb1e4526f646c70e4a7
    Added Reference https://git.kernel.org/stable/c/f6e1f25fa5e733570f6d6fe37a4dfed2a0deba47
    Added Reference https://git.kernel.org/stable/c/fb1f54b7d16f393b8b65d328410f78b4beea8fcc
    Removed Reference https://git.kernel.org/stable/c/15fa9ead4d5e6b6b9c794e84144146c917f2cb62
    Removed Reference https://git.kernel.org/stable/c/3fd6547f5b8ac99687be6d937a0321efda760597
    Removed Reference https://git.kernel.org/stable/c/9b55b253907e7431210483519c5ad711a37dafa1
    Removed Reference https://git.kernel.org/stable/c/b313e9037d98c13938740e5ebda7852929366dff
    Removed Reference https://git.kernel.org/stable/c/eb9c6aeb512f877cf397deb1e4526f646c70e4a7
    Removed Reference https://git.kernel.org/stable/c/f6e1f25fa5e733570f6d6fe37a4dfed2a0deba47
    Removed Reference https://git.kernel.org/stable/c/fb1f54b7d16f393b8b65d328410f78b4beea8fcc
    Removed Reference Type https://git.kernel.org/stable/c/15fa9ead4d5e6b6b9c794e84144146c917f2cb62 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/3fd6547f5b8ac99687be6d937a0321efda760597 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/9b55b253907e7431210483519c5ad711a37dafa1 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/b313e9037d98c13938740e5ebda7852929366dff Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/eb9c6aeb512f877cf397deb1e4526f646c70e4a7 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/f6e1f25fa5e733570f6d6fe37a4dfed2a0deba47 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/fb1f54b7d16f393b8b65d328410f78b4beea8fcc Types: Patch
  • CVE Modified by 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e

    Oct. 15, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/31xxx/CVE-2026-31669.json">CVE-2026-31669</a>
    Added Reference https://cert-portal.siemens.com/productcert/html/ssa-019113.html
    Added Reference https://cert-portal.siemens.com/productcert/html/ssa-082556.html
    Added Reference https://cert-portal.siemens.com/productcert/html/ssa-457936.html
    Removed Reference https://cert-portal.siemens.com/productcert/html/ssa-019113.html
    Removed Reference https://cert-portal.siemens.com/productcert/html/ssa-082556.html
  • CVE Modified by 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e

    Jul. 14, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'Siemens', 'product': 'SIMATIC S7-1500 CPU 1518-4 PN/DP MFP', 'versions': [{'status': 'affected', 'version': 'V3.1.6', 'lessThan': '*', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}, {'vendor': 'Siemens', 'product': 'SIMATIC S7-1500 CPU 1518-4 PN/DP MFP', 'versions': [{'status': 'affected', 'version': 'V3.1.5', 'lessThan': '*', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}, {'vendor': 'Siemens', 'product': 'SIMATIC S7-1500 CPU 1518-4 PN/DP MFP', 'versions': [{'status': 'affected', 'version': 'V3.1.6', 'lessThan': '*', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}, {'vendor': 'Siemens', 'product': 'SIMATIC S7-1500 CPU 1518-4 PN/DP MFP', 'versions': [{'status': 'affected', 'version': 'V3.1.5', 'lessThan': '*', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}, {'vendor': 'Siemens', 'product': 'SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP', 'versions': [{'status': 'affected', 'version': 'V3.1.6', 'lessThan': '*', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}, {'vendor': 'Siemens', 'product': 'SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP', 'versions': [{'status': 'affected', 'version': 'V3.1.5', 'lessThan': '*', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}, {'vendor': 'Siemens', 'product': 'SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP', 'versions': [{'status': 'affected', 'version': 'V3.1.6', 'lessThan': '*', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}, {'vendor': 'Siemens', 'product': 'SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP', 'versions': [{'status': 'affected', 'version': 'V3.1.5', 'lessThan': '*', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}, {'vendor': 'Siemens', 'product': 'SIPLUS S7-1500 CPU 1518-4 PN/DP MFP', 'versions': [{'status': 'affected', 'version': 'V3.1.6', 'lessThan': '*', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}, {'vendor': 'Siemens', 'product': 'SIPLUS S7-1500 CPU 1518-4 PN/DP MFP', 'versions': [{'status': 'affected', 'version': 'V3.1.5', 'lessThan': '*', 'versionType': 'custom'}], 'defaultStatus': 'unknown'}]
    Added Reference https://cert-portal.siemens.com/productcert/html/ssa-019113.html
    Added Reference https://cert-portal.siemens.com/productcert/html/ssa-082556.html
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'b19bc2945b40b9fd38e835700907ffe8534ef0de', 'lessThan': 'f6e1f25fa5e733570f6d6fe37a4dfed2a0deba47', 'versionType': 'git'}, {'status': 'affected', 'version': 'b19bc2945b40b9fd38e835700907ffe8534ef0de', 'lessThan': 'fb1f54b7d16f393b8b65d328410f78b4beea8fcc', 'versionType': 'git'}, {'status': 'affected', 'version': 'b19bc2945b40b9fd38e835700907ffe8534ef0de', 'lessThan': '3fd6547f5b8ac99687be6d937a0321efda760597', 'versionType': 'git'}, {'status': 'affected', 'version': 'b19bc2945b40b9fd38e835700907ffe8534ef0de', 'lessThan': 'eb9c6aeb512f877cf397deb1e4526f646c70e4a7', 'versionType': 'git'}, {'status': 'affected', 'version': 'b19bc2945b40b9fd38e835700907ffe8534ef0de', 'lessThan': '15fa9ead4d5e6b6b9c794e84144146c917f2cb62', 'versionType': 'git'}, {'status': 'affected', 'version': 'b19bc2945b40b9fd38e835700907ffe8534ef0de', 'lessThan': 'b313e9037d98c13938740e5ebda7852929366dff', 'versionType': 'git'}, {'status': 'affected', 'version': 'b19bc2945b40b9fd38e835700907ffe8534ef0de', 'lessThan': '9b55b253907e7431210483519c5ad711a37dafa1', 'versionType': 'git'}], 'programFiles': ['net/mptcp/protocol.c', 'net/mptcp/protocol.h', 'net/mptcp/subflow.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.12'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.12', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.15.203', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.169', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.135', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.82', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.23', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.13', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/mptcp/protocol.c', 'net/mptcp/protocol.h', 'net/mptcp/subflow.c'], 'defaultStatus': 'affected'}]
  • Initial Analysis by [email protected]

    Apr. 27, 2026

    Action Type Old Value New Value
    Added CWE CWE-416
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:5.12:-:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.169 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.12.1 up to (excluding) 5.15.203 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.23 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.13 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.135 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.82
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/15fa9ead4d5e6b6b9c794e84144146c917f2cb62 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/3fd6547f5b8ac99687be6d937a0321efda760597 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/9b55b253907e7431210483519c5ad711a37dafa1 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/b313e9037d98c13938740e5ebda7852929366dff Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/eb9c6aeb512f877cf397deb1e4526f646c70e4a7 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/f6e1f25fa5e733570f6d6fe37a4dfed2a0deba47 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/fb1f54b7d16f393b8b65d328410f78b4beea8fcc Types: Patch
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Apr. 27, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Apr. 24, 2026

    Action Type Old Value New Value
    Added 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.
    Added Reference https://git.kernel.org/stable/c/15fa9ead4d5e6b6b9c794e84144146c917f2cb62
    Added Reference https://git.kernel.org/stable/c/3fd6547f5b8ac99687be6d937a0321efda760597
    Added Reference https://git.kernel.org/stable/c/9b55b253907e7431210483519c5ad711a37dafa1
    Added Reference https://git.kernel.org/stable/c/b313e9037d98c13938740e5ebda7852929366dff
    Added Reference https://git.kernel.org/stable/c/eb9c6aeb512f877cf397deb1e4526f646c70e4a7
    Added Reference https://git.kernel.org/stable/c/f6e1f25fa5e733570f6d6fe37a4dfed2a0deba47
    Added Reference https://git.kernel.org/stable/c/fb1f54b7d16f393b8b65d328410f78b4beea8fcc
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.