CVE-2026-68170

Source
https://cve.org/CVERecord?id=CVE-2026-68170
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68170.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-68170
Downstream
Published
2026-08-10T11:59:39.174Z
Modified
2026-08-18T03:31:27.631866897Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
mptcp: fix stale skb->sk reference on subflow close
Details

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 mptcpdataready() under mptcpdatalock(). The cleanup of backlog references to a closing subflow, however, was performed in mptcpclosessk(), before __mptcpclosessk() acquires the ssk lock, and while holding neither the ssk lock nor mptcpdatalock().

Because that traversal ran without mptcpdatalock(), concurrent softirq RX processing on another CPU (subflowdataready() -> mptcpdataready() -> __mptcpaddbacklog(), under mptcpdatalock()) 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 mptcpbacklogpurge() then dereferences the stale pointer, triggering a warning in inetsockdestruct() (ssk->skrmemalloc != 0) followed by a use-after-free in mptcpbacklogpurge().

Fix this by moving the backlog cleanup into __mptcpclosessk(), after subflow->closing is set to 1 and while the ssk lock is still held, serialized under mptcpdatalock(). The cleanup runs only on the push path (MPTCPCFPUSH), where backlog references accumulate; on other teardown paths the caller already handles cleanup.

With subflow->closing set and mptcpdatalock() held across the purge, any concurrent mptcpdataready() either completes its enqueue before the purge runs and is caught, or observes closing=1 and bails out. Once mptcpdataunlock() is reached, no new skb referencing the ssk can be enqueued, so the cleanup is exhaustive.

Remove the unprotected traversal from mptcpclosessk() entirely.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68170.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ee458a3f314e9c669ddd227bf5ab08354d9e75cc
Fixed
625fc6060864889fe3d370cdeffbbab762af3cb4
Fixed
bd7aae448f6ee9d82599a4474664de1e6e91a535

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68170.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68170.json"