CVE-2021-47132CWE-787

CVE-2021-47132

High · published March 16, 2024

CVSS v3.1
7.5
EPSS
0%
Percentile
40.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00483 · 40.7th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2024-03-16T01:15Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 5.12, < 5.12.105.12.10
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (4)
EPSS history
Timeline
  • 15 MAR 20:14Z
    mptcp: fix sk_forward_memory corruption on retransmission
    cvelistv5