mptcp: pm: kernel: use RCU to free endpoint listeners
NIST has received this entry but not started reviewing it.
In the Linux kernel, the following vulnerability has been resolved: mptcp: pm: kernel: use RCU to free endpoint listeners mptcp_pm_nl_create_listen_socket() starts the TCP listener directly instead of going through mptcp_listen(). It consequently misses setting SOCK_RCU_FREE on the parent MPTCP socket. tcp_child_process() can invoke the listener's subflow_data_ready() callback without holding the MPTCP parent lock or a reference to the parent. An authenticated MP_JOIN racing with endpoint teardown can therefore access the parent after its last reference has been dropped. The ADD_ADDR error path can also close an already published listener. Set SOCK_RCU_FREE before __inet_listen_sk() publishes the TCP listener, matching mptcp_listen(). This protects the parent on every subsequent close path, including a failed endpoint addition.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 2 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Linux Linux | Software | from 1729cf186d8a5d70cf7a54e07c4763635079f015, before 30355edfe074f72feafb4470a3937c8c460be589; from 1729cf186d8a5d70cf7a54e07c4763635079f015, before c05dca67e7475a4e576582f4ed19f67ae92a982d; from 1729cf186d8a5d70cf7a54e07c4763635079f015, before fc7675944ae787f4fb3cb0ba3db2447eb006d153; from 1729cf186d8a5d70cf7a54e07c4763635079f015, before 2004c8fdb1b588188f6a17398782da4551f22be5; from 1729cf186d8a5d70cf7a54e07c4763635079f015, before c457824f76e95e10356c35c61ffc9d79b8c54228; from 1729cf186d8a5d70cf7a54e07c4763635079f015, before 78856ded7ec7995e8a05cdc9d08df4c5a62479aa; and 1 more | 30355edfe074f72feafb4470a3937c8c460be589; c05dca67e7475a4e576582f4ed19f67ae92a982d; fc7675944ae787f4fb3cb0ba3db2447eb006d153; 2004c8fdb1b588188f6a17398782da4551f22be5 |
| Linux Linux | Software | 5.12 | not recorded |
The 7.8 severity score (high) from the company that reported it, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | On the machine | The attacker needs access to the computer itself, for example a login or a file they can get you to open. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Login needed | Low | The attacker needs an ordinary user account. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Reaches beyond the program | Unchanged | The damage stays inside the vulnerable program. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | High | The attacker can take the service down completely. |
| Ease of attack | 1.8 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 5.9 | A score for how bad the harm is if it works. Higher is worse. |
NIST lists 7 sources for this flaw, none tagged as a vendor patch.