CVE-2022-50771
kernel: rcu: Fix __this_cpu_read() lockdep warning in rcu_force_quiescent_state()
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 24, 2025
Updated · July 22, 2026
Description
A lockdep warning was found in the Linux kernel's RCU subsystem. The rcu_force_quiescent_state() function incorrectly uses __this_cpu_read() in preemptible code context. This macro requires preemption to be disabled, but the code can be called from preemptible context during rcutorture testing, triggering a lockdep warning.
Statement
This is a lockdep/debugging warning that occurs when running rcutorture with specific parameters on preemptible kernels. The warning indicates improper use of per-CPU access macros but does not cause a crash or security vulnerability in normal operation. The fix simply changes to the appropriate raw_cpu_read() macro.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-821 · Incorrect Synchronization