CVE-2021-47132

published 15 Mar 2024 · updated 5 Aug 2026

mptcp: fix sk_forward_memory corruption on retransmission

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.12, Kernel b5941f066b4ca331db225a976dae1d6ca8cf0ae3 and Kernel b9c78b1a95966a7bd2ddae05b73eafc0cda4fba3.

In the Linux kernel, the following vulnerability has been resolved: mptcp: fix sk_forward_memory corruption on retransmission MPTCP sk_forward_memory handling is a bit special, as such field is protected by the msk socket spin_lock, instead of the plain socket lock. Currently we have a code path updating such field without handling the relevant lock: __mptcp_retrans() -> __mptcp_clean_una_wakeup() Several helpers in __mptcp_clean_una_wakeup() will update sk_forward_alloc, possibly causing such field corruption, as reported by Matthieu. Address the issue providing and using a new variant of blamed function which explicitly acquires the msk spin lock.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.12, =96db8ffef07516a6d7414b6988f2a4298a839977, >=5.11.4 <5.12, >=64b9cea7a0afe579dd2682f1f1c04f2e4e72fd25 <b5941f066b4ca331db225a976dae1d6ca8cf0ae3, >=64b9cea7a0afe579dd2682f1f1c04f2e4e72fd25 <b9c78b1a95966a7bd2ddae05b73eafc0cda4fba35.12, b5941f066b4ca331db225a976dae1d6ca8cf0ae3, b9c78b1a95966a7bd2ddae05b73eafc0cda4fba3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47132 severity on Zeptric[![CVE-2021-47132](https://zeptric.io/badge/cve/CVE-2021-47132.svg)](https://zeptric.io/cve/CVE-2021-47132)