PT-2021-8278

CVE-2021-46921

·

Published

2021-04-15

·

Updated

2026-08-04

Description by

CVSS 3.1
7.8
High
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to the locking mechanism in the Linux kernel, specifically in the queued write lock slowpath() function. A reader can acquire the lock without holding the wait lock, allowing reads to observe values speculatively before the write lock is truly acquired. This exposes a window to an A-B-A problem, where a value change can be seen by the writer before the reader unlocks. The problem has been observed in epoll, where the reader does a xchg while holding the read lock, but the writer can see a value change out from under it. The atomic cond read acquire() and atomic cmpxchg relaxed() functions are involved in this issue. Switching the cmpxchg to use acquire semantics addresses this issue.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Researchers
Vendors
Affected products
Related identifiers
OPENSUSE-SU-2024_1489-1
SUSE-SU-2024:0925-1
SUSE-SU-2024:0975-1
SUSE-SU-2024:0976-1
SUSE-SU-2024:1454-1
SUSE-SU-2024:1465-1
SUSE-SU-2024:1489-1
Found an issue in the description? Have something to add? Feel free to write us 👾