CVE-2026-99460: mptcp: hold MP_JOIN msk ref when cloning reqsk

Published Nov 19, 2026
·
Updated

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

mptcp: hold MPJOIN msk ref when cloning reqsk

TCP request migration clones pending request sockets with inetreqskclone(). For MPTCP MPJOIN requests this byte-copies subflowreq->msk, but the clone does not own a reference.

The original and cloned requests can consequently drop the same msk reference, leaving one request with a dangling pointer. This manifests as a KASAN slab-use-after-free in subflowreqdestructor():

BUG: KASAN: slab-use-after-free in subflowreqdestructor (net/mptcp/subflow.c:45) Write of size 4 at addr ff1100010e008d40 by task swapper/0/0 CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 7.2.0-rc5-00353-gc27e36054537 #10 PREEMPT(full)

Call Trace: subflowreqdestructor (net/mptcp/subflow.c:45) subflowv4reqdestructor (net/mptcp/subflow.c:694) reqskfree (net/ipv4/inetconnectionsock.c:906) reqsktimerhandler (include/net/requestsock.h:137 net/ipv4/inetconnectionsock.c:1147)

Allocated by task 10014: skprotalloc (net/core/sock.c:2246) skclone (net/core/sock.c:2488) mptcpskcloneinit (include/net/sock.h:1848 net/mptcp/protocol.c:3564) subflowsynrecvsock (net/mptcp/subflow.c:883) tcpcheckreq (net/ipv4/tcpminisocks.c:934)

Freed by task 0: slabfreeafterrcudebug (include/linux/kasan.h:235 mm/slub.c:2677 mm/slub.c:6439) rcucore (kernel/rcu/tree.c:2645 kernel/rcu/tree.c:2897)

Last potentially related work creation: kmemcachefree (mm/slub.c:2638 mm/slub.c:6377 mm/slub.c:6504) skdestruct (net/core/sock.c:2289 net/core/sock.c:2391) skdestruct (net/core/sock.c:2419) skfree (net/core/sock.c:2430) skfree (net/core/sock.c:2441) mptcpclose (include/net/sock.h:2020 net/mptcp/protocol.c:3399) inetrelease (net/ipv4/afinet.c:442)

The buggy address belongs to the cache MPTCP of size 2968 The buggy address is 128 bytes inside a freed 2968-byte region

A non-NULL subflowreq->msk means that the request owns one reference. The third ACK can concurrently transfer the original request reference to the child and release it, so taking an unconditional hold on the copied pointer is unsafe.

MPTCP sockets use SLABTYPESAFEBYRCU and all current inetreqskclone() callers run in an RCU read-side critical section. Document and lockdep-check that calling-context requirement. Read the pointer from the original request and acquire a reference only if it is still live. Use refcountincnotzeroacquire() so the subsequent ownership validation cannot be reordered before the try-get, then re-read the original request to verify that it still owns the same msk. If either check fails, clear the clone pointer; otherwise its normal destructor balances the new reference. Mark the ownership-transfer store with WRITEONCE() to match the lockless reads.

The following patch completes the clone fixup for MPCAPABLE token ownership. Both patches carry the same Fixes tag and are required for stable backports.

Affected Software

7 affected componentsFixes available
linux/kernel>=5.14.0<6.12.117
6.12.117
linux/kernel>=6.13.0<6.18.63
6.18.63
linux/kernel>=6.19.0<7.3.2
7.3.2
debian/linux*
debian/linux<6.12.117-1
6.12.117-1
debian/linux<7.3.3-1
7.3.3-1
debian/linux<=6.1.176-1, <=6.1.192-2, <=6.12.107-1
6.12.117-17.3.4-17.3.5-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.117
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.63
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.2
  4. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.117-1
  5. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.3-1
  6. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.117-1Fixed in 7.3.4-1Fixed in 7.3.5-1
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch mptcp: hold MP_JOIN msk ref when cloning reqsk

Event History

Nov 19, 2026
CVE Published
via MITRE·02:42 PM
Data Sourced
via MITRE·02:42 PM
Description
Data Sourced
via OSV·02:42 PM
DescriptionAffected Software
Data Sourced
via NVD·03:18 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203