mptcp: really cope with fastopen race
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.6.186.7.66.8In the Linux kernel, the following vulnerability has been resolved:
mptcp: really cope with fastopen race
Fastopen and PM-trigger subflow shutdown can race, as reported by syzkaller.
In my first attempt to close such race, I missed the fact that the subflow status can change again before the subflow_state_change callback is invoked.
Address the issue additionally copying with all the states directly reachable from TCP_FIN_WAIT1.
From the CVE record · Linux
A race in the Linux kernel’s MPTCP handling can occur when Fast Open and a path-manager-triggered subflow shutdown happen concurrently. The subflow state can change before its state-change callback runs; the input does not specify an attacker action, access requirement, or user interaction.
Teams running Linux kernels with MPTCP should check their versions against the vendor advisory; affected versions are not specified.