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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-03-15T20:14:35.337Z

Updated: 2024-11-04T12:00:05.791Z

Reserved: 2024-03-04T18:12:48.840Z

Link: CVE-2021-47132

cve-icon Vulnrichment

Updated: 2024-05-23T19:01:18.403Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-03-15T21:15:07.690

Modified: 2024-03-17T22:38:29.433

Link: CVE-2021-47132

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-03-15T00:00:00Z

Links: CVE-2021-47132 - Bugzilla