Linux
mptcp: fix race in mptcp_pm_nl_flush_addrs_doit()
In the Linux kernel, the following vulnerability has been resolved: mptcp: fix race in mptcp_pm_nl_flush_addrs_doit() syzbot and Eulgyu Kim reported crashes in mptcp_pm_nl_get_local_id() and/or mptcp_pm_nl_is_backup() Root cause is list_splice_init() in mptcp_pm_nl_flush_addrs_doit() which is not RCU ready. list_splice_init_rcu() can not be called here while holding pernet->lock spinlock. Many thanks to Eulgyu Kim for providing a repro and testing our patches.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 141694df6573b49aa4143c92556544b4b0bbda72, < 338d40bab283da2639780ee3e458fb61f1567d8c
- >= 141694df6573b49aa4143c92556544b4b0bbda72, < 7896dbe990d56d5bb8097863b2645355633665eb
- >= 141694df6573b49aa4143c92556544b4b0bbda72, < 455e882192c9833f176f3fbbbb2f036b6c5bf555
- >= 141694df6573b49aa4143c92556544b4b0bbda72, < 51223bdd0f60b06cfc7f25885c4d4be917adba94
- >= 141694df6573b49aa4143c92556544b4b0bbda72, < 1f1b9523527df02685dde603f20ff6e603d8e4a1
- >= 141694df6573b49aa4143c92556544b4b0bbda72, < e2a9eeb69f7d4ca4cf4c70463af77664fdb6ab1d
Fixed in 338d40bab283da2639780ee3e458fb61f1567d8c, 7896dbe990d56d5bb8097863b2645355633665eb, 455e882192c9833f176f3fbbbb2f036b6c5bf555, 51223bdd0f60b06cfc7f25885c4d4be917adba94, 1f1b9523527df02685dde603f20ff6e603d8e4a1, e2a9eeb69f7d4ca4cf4c70463af77664fdb6ab1d
- 5.11
Fixed in 0, 5.15.201, 6.1.164, 6.6.125, 6.12.72, 6.18.9, 6.19
Mitigation
Upgrade Linux to 338d40bab283da2639780ee3e458fb61f1567d8c or 7896dbe990d56d5bb8097863b2645355633665eb or 455e882192c9833f176f3fbbbb2f036b6c5bf555 or 51223bdd0f60b06cfc7f25885c4d4be917adba94 or 1f1b9523527df02685dde603f20ff6e603d8e4a1 or e2a9eeb69f7d4ca4cf4c70463af77664fdb6ab1d or later.
Upgrade Linux to 0 or 5.15.201 or 6.1.164 or 6.6.125 or 6.12.72 or 6.18.9 or 6.19 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.