CVE-2021-47593mptcp: clear 'kern' flag from fallback sockets
- 5.5MediumCVSS base score
- 0.25%Exploitation in 30 daysEPSS · top 84% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: mptcp: clear 'kern' flag from fallback sockets The mptcp ULP extension relies on sk->sk_sock_kern being set correctly: It prevents setsockopt(fd, IPPROTO_TCP, TCP_ULP, "mptcp", 6); from working for plain tcp sockets (any userspace-exposed socket). But in case of fallback, accept() can return a plain tcp sk. In such case, sk is still tagged as 'kernel' and setsockopt will work. This will crash the kernel, The subflow extension has a NULL ctx->conn mptcp socket: BUG: KASAN: null-ptr-deref in subflow_data_ready+0x181/0x2b0 Call Trace: tcp_data_ready+0xf8/0x370 [..]
Timeline
ID reserved
By Linux
- 26 days later
· 26 days later
Published
- 23 months later
· 23 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.25% · top 84% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected cf7da0d66cc1a2a19fc5930bb746ffbb2d4cd1be – < 451f1eded7f56e93aaf52eb547ba97742d9c0e97
- affected cf7da0d66cc1a2a19fc5930bb746ffbb2d4cd1be – < c26ac0ea3a91c210cf90452e625dc441adf3e549
- affected cf7da0d66cc1a2a19fc5930bb746ffbb2d4cd1be – < d6692b3b97bdc165d150f4c1505751a323a80717
- affected 5.6
- unaffected < 5.6
- unaffected 5.10.88 – ≤ 5.10.*
- unaffected 5.15.11 – ≤ 5.15.*
- unaffected 5.16 – ≤ *
References
References3
- https://git.kernel.org/stable/c/451f1eded7f56e93aaf52eb547ba97742d9c0e97 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/c26ac0ea3a91c210cf90452e625dc441adf3e549 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/d6692b3b97bdc165d150f4c1505751a323a80717 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-34595 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-47593)Record last updated .