What’s Vulnerable › Vulnerabilities
CVE-2024-40931: mptcp: ensure snd_una is properly initialized on connect
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-07-12 · updated 2026-06-17
- Weakness: CWE-908
Description
In the Linux kernel, the following vulnerability has been resolved: mptcp: ensure snd_una is properly initialized on connect This is strictly related to commit fb7a0d334894 ("mptcp: ensure snd_nxt is properly initialized on connect"). It turns out that syzkaller can trigger the retransmit after fallback and before processing any other incoming packet - so that snd_una is still left uninitialized. Address the issue explicitly initializing snd_una together with snd_nxt and write_seq.
Affected products
- Linux kernel: from 5.9 before 5.10.221; from 5.11 before 5.15.162; from 5.16 before 6.1.95; from 6.2 before 6.6.35; from 6.7 before 6.9.6; 6.10-rc1, 6.10-rc2, 6.10-rc3 — fixed in 5.10.221, 5.15.162, 6.1.95, 6.6.35, 6.9.6
How to fix
Upgrade to a fixed version: Linux kernel 5.10.221, 5.15.162, 6.1.95, 6.6.35. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/208cd22ef5e57f82d38ec11c1a1703f9401d6dde
- https://git.kernel.org/stable/c/7b9c7fc8600b64a86e4b47b2d190bba380267726
- https://git.kernel.org/stable/c/8031b58c3a9b1db3ef68b3bd749fbee2e1e1aaa3
- https://git.kernel.org/stable/c/ef473bf1dd7e8dd08bcc04b9e2d1bfed69a0a7ce
- https://git.kernel.org/stable/c/f03c46eabb3a67bd2993e237ab5517f00a5f1813
- https://git.kernel.org/stable/c/f1f0a46f8bb8890b90ab7194f0a0c8fe2a3fb57f
- https://git.kernel.org/stable/c/208cd22ef5e57f82d38ec11c1a1703f9401d6dde
- https://git.kernel.org/stable/c/7b9c7fc8600b64a86e4b47b2d190bba380267726
- https://git.kernel.org/stable/c/8031b58c3a9b1db3ef68b3bd749fbee2e1e1aaa3
- https://git.kernel.org/stable/c/ef473bf1dd7e8dd08bcc04b9e2d1bfed69a0a7ce
- https://git.kernel.org/stable/c/f03c46eabb3a67bd2993e237ab5517f00a5f1813
- https://git.kernel.org/stable/c/f1f0a46f8bb8890b90ab7194f0a0c8fe2a3fb57f
Get alerted when CVE-2024-40931 or the next vulnerability affects your stack