In the Linux kernel, the following vulnerability has been resolved:
mptcp: fix stale skb->sk reference on subflow close
The backlog list is updated by mptcp_data_ready() under mptcp_data_lock(). The cleanup of backlog references to a closing subflow, however, was performed in mptcp_close_ssk(), before __mptcp_close_ssk() acquires the ssk lock, and while holding neither the ssk lock nor mptcp_data_lock().
Because that traversal ran without mptcp_data_lock(), concurrent softirq RX processing on another CPU (subflow_data_ready() -> mptcp_data_ready() -> __mptcp_add_backlog(), under mptcp_data_lock()) could add a backlog entry referencing the ssk while the cleanup loop was in progress. Such an entry could be missed by the cleanup, or the concurrent list update could corrupt the traversal, leaving skb->sk pointing at the ssk after it is freed.
A later mptcp_backlog_purge() then dereferences the stale pointer, triggering a warning in inet_sock_destruct() (ssk->sk_rmem_alloc != 0) followed by a use-after-free in mptcp_backlog_purge().
Fix this by moving the backlog cleanup into __mptcp_close_ssk(), after subflow->closing is set to 1 and while the ssk lock is still held, serialized under mptcp_data_lock(). The cleanup runs only on the push path (MPTCP_CF_PUSH), where backlog references accumulate; on other teardown paths the caller already handles cleanup.
With subflow->closing set and mptcp_data_lock() held across the purge, any concurrent mptcp_data_ready() either completes its enqueue before the purge runs and is caught, or observes closing=1 and bails out. Once mptcp_data_unlock() is reached, no new skb referencing the ssk can be enqueued, so the cleanup is exhaustive.
Remove the unprotected traversal from mptcp_close_ssk() entirely.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Ubuntu | — | Upgrade linux-image-azure-lts-26.04Upgrade linux-image-aws-64k-7.0Upgrade linux-image-gcp-64kUpgrade linux-image-gke-hwe-26.04Upgrade linux-image-azureUpgrade linux-image-7.0.0-38-realtimeUpgrade linux-image-gke-7.0Upgrade linux-image-realtime-7.0Upgrade linux-image-7.0.0-1014-gcp-64kUpgrade linux-image-7.0.0-1016-azure-fdeUpgrade linux-image-azure-fde-7.0Upgrade linux-image-aws-7.0Upgrade linux-image-genericUpgrade linux-image-generic-64kUpgrade linux-image-7.0.0-1015-ibmUpgrade linux-image-gkeUpgrade linux-image-azure-fde-lts-26.04Upgrade linux-image-gke-64k-7.0Upgrade linux-image-aws-64kUpgrade linux-image-7.0.0-1015-oemUpgrade linux-image-gcp-64k-7.0Upgrade linux-image-gke-64kUpgrade linux-image-generic-64k-hwe-26.04Upgrade linux-image-ibm-7.0Upgrade linux-image-gcp-7.0Upgrade linux-image-realtime-64k-7.0Upgrade linux-image-7.0.0-38-realtime-64kUpgrade linux-image-gke-64k-hwe-26.04Upgrade linux-image-7.0.0-1013-oracleUpgrade linux-image-7.0.0-1013-oracle-64kUpgrade linux-image-realtimeUpgrade linux-image-7.0.0-1017-azureUpgrade linux-image-oem-26.04aUpgrade linux-image-realtime-hwe-26.04Upgrade linux-image-realtime-64k-hwe-26.04Upgrade linux-image-oem-26.04Upgrade linux-image-generic-7.0Upgrade linux-image-azure-7.0Upgrade linux-image-7.0.0-1008-gkeUpgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-virtualUpgrade linux-image-realtime-64kUpgrade linux-image-7.0.0-1014-gcpUpgrade linux-image-7.0.0-1008-gke-64kUpgrade linux-image-virtual-7.0Upgrade linux-image-generic-hwe-26.04Upgrade linux-image-7.0.0-38-generic-64kUpgrade linux-image-7.0.0-1014-awsUpgrade linux-image-oracle-64kUpgrade linux-image-7.0.0-1014-aws-64kUpgrade linux-image-generic-64k-7.0Upgrade linux-image-gcpUpgrade linux-image-virtual-hwe-24.04Upgrade linux-image-virtual-hwe-26.04Upgrade linux-image-oracle-7.0Upgrade linux-image-oracle-64k-7.0Upgrade linux-image-7.0.0-38-genericUpgrade linux-image-generic-hwe-24.04Upgrade linux-image-oem-7.0Upgrade linux-image-oracleUpgrade linux-image-awsUpgrade linux-image-ibmUpgrade linux-image-azure-fde | Oct 7, 2026 | Oct 6, 2026 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub