# CVE-2024-35840: mptcp: use OPTION_MPTCP_MPJ_SYNACK in subflow_finish_connect()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-05-17T14:27:31.166Z
- Modified: 2026-06-17T07:35:31.747Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

mptcp: use OPTION_MPTCP_MPJ_SYNACK in subflow_finish_connect()

subflow_finish_connect() uses four fields (backup, join_id, thmac, none)
that may contain garbage unless OPTION_MPTCP_MPJ_SYNACK has been set
in mptcp_parse_option()

(As written by CVE List.)

## Affected

- Linux Linux: from f296234c98a8fcec94eec80304a873f635d350ea before 413b913507326972135d2977975dbff8b7f2c453; from f296234c98a8fcec94eec80304a873f635d350ea before 51e4cb032d49ce094605f27e45eabebc0408893c; from f296234c98a8fcec94eec80304a873f635d350ea before ad3e8f5c3d5c53841046ef7a947c04ad45a20721; from f296234c98a8fcec94eec80304a873f635d350ea before 76e8de7273a22a00d27e9b8b7d4d043d6433416a; from f296234c98a8fcec94eec80304a873f635d350ea before be1d9d9d38da922bd4beeec5b6dd821ff5a1dfeb; 5.7 (not affected: before 5.7; from 5.15.148 up to 5.15.*; from 6.1.75 up to 6.1.*; from 6.6.14 up to 6.6.*; from 6.7.2 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 5.7 before 5.15.148; from 5.16 before 6.1.75; from 6.2 before 6.6.14; from 6.7 before 6.7.2

## References

- <https://git.kernel.org/stable/c/413b913507326972135d2977975dbff8b7f2c453> (patch)
- <https://git.kernel.org/stable/c/51e4cb032d49ce094605f27e45eabebc0408893c> (patch)
- <https://git.kernel.org/stable/c/ad3e8f5c3d5c53841046ef7a947c04ad45a20721> (patch)
- <https://git.kernel.org/stable/c/76e8de7273a22a00d27e9b8b7d4d043d6433416a> (patch)
- <https://git.kernel.org/stable/c/be1d9d9d38da922bd4beeec5b6dd821ff5a1dfeb> (patch)

## Sources

- CVE List: [CVE-2024-35840](https://www.cve.org/CVERecord?id=CVE-2024-35840), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-35840](https://nvd.nist.gov/vuln/detail/CVE-2024-35840), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-35840 · Whole record: https://cve.day/CVE-2024-35840.json · Rebuilt by cve.day 2026-11-25T22:58:40.538Z
