CVE-2022-50771
rcu: Fix __this_cpu_read() lockdep warning in rcu_force_quiescent_state()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= d860d40327dde251d508a234fa00bd0d90fbb656, < 3d92527a919edd1aa381bdd6c299dd75a8167396; >= d860d40327dde251d508a234fa00bd0d90fbb656, < 5a52380b8193cf8be6c4a6b94b86ef64ed80c0dc; >= d860d40327dde251d508a234fa00bd0d90fbb656, < 98a5b1265a36e9d843a51ddd6c9fa02da50d2c57; >= d860d40327dde251d508a234fa00bd0d90fbb656, < a74af9b937707b42c3fd041aae1ed4ce2f337307; >= d860d40327dde251d508a234fa00bd0d90fbb656, < 80a3e7ab477b3655615fc1627c88c248d4ad28d9; >= d860d40327dde251d508a234fa00bd0d90fbb656, < ceb1c8c9b8aa9199da46a0f29d2d5f08d9b44c15
- Anyone running Linux 3.17
Vulnerability facts
- Affected
- Linux >= d860d40327dde251d508a234fa00bd0d90fbb656, < 3d92527a919edd1aa381bdd6c299dd75a8167396; >= d860d40327dde251d508a234fa00bd0d90fbb656, < 5a52380b8193cf8be6c4a6b94b86ef64ed80c0dc; >= d860d40327dde251d508a234fa00bd0d90fbb656, < 98a5b1265a36e9d843a51ddd6c9fa02da50d2c57; >= d860d40327dde251d508a234fa00bd0d90fbb656, < a74af9b937707b42c3fd041aae1ed4ce2f337307; >= d860d40327dde251d508a234fa00bd0d90fbb656, < 80a3e7ab477b3655615fc1627c88c248d4ad28d9; >= d860d40327dde251d508a234fa00bd0d90fbb656, < ceb1c8c9b8aa9199da46a0f29d2d5f08d9b44c15; Linux 3.17
- Fixed in
- Linux 3d92527a919edd1aa381bdd6c299dd75a8167396, Linux 5a52380b8193cf8be6c4a6b94b86ef64ed80c0dc, Linux 98a5b1265a36e9d843a51ddd6c9fa02da50d2c57, Linux 80a3e7ab477b3655615fc1627c88c248d4ad28d9
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: rcu: Fix __this_cpu_read() lockdep warning in rcu_force_quiescent_state() Running rcutorture with non-zero fqs_duration module parameter in a kernel built with CONFIG_PREEMPTION=y results in the following splat: BUG: using __this_cpu_read() in preemptible [00000000] code: rcu_torture_fqs/398 caller is __this_cpu_preempt_check+0x13/0x20 CPU: 3 PID: 398 Comm: rcu_torture_fqs Not tainted 6.0.0-rc1-yoctodev-standard+ Call Trace: <TASK> dump_stack_lvl+0x5b/0x86 dump_stack+0x10/0x16 check_preemption_disabled+0xe5/0xf0 __this_cpu_preempt_check+0x13/0x20 rcu_force_quiescent_state.part.0+0x1c/0x170 rcu_force_quiescent_state+0x1e/0x30 rcu_torture_fqs+0xca/0x160 ? rcu_torture_boost+0x430/0x430 kthread+0x192/0x1d0 ? kthread_complete_and_exit+0x30/0x30 ret_from_fork+0x22/0x30 </TASK> The problem is that rcu_force_quiescent_state() uses __this_cpu_read() in preemptible code instead of the proper raw_cpu_read(). This commit therefore changes __this_cpu_read() to raw_cpu_read().
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= d860d40327dde251d508a234fa00bd0d90fbb656, < 3d92527a919edd1aa381bdd6c299dd75a8167396; >= d860d40327dde251d508a234fa00bd0d90fbb656, < 5a52380b8193cf8be6c4a6b94b86ef64ed80c0dc; >= d860d40327dde251d508a234fa00bd0d90fbb656, < 98a5b1265a36e9d843a51ddd6c9fa02da50d2c57; >= d860d40327dde251d508a234fa00bd0d90fbb656, < a74af9b937707b42c3fd041aae1ed4ce2f337307; >= d860d40327dde251d508a234fa00bd0d90fbb656, < 80a3e7ab477b3655615fc1627c88c248d4ad28d9; >= d860d40327dde251d508a234fa00bd0d90fbb656, < ceb1c8c9b8aa9199da46a0f29d2d5f08d9b44c15 | — | cvelist |
| Linux | 3.17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50771. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50771.md Affected: Linux >= d860d40327dde251d508a234fa00bd0d90fbb656, < 3d92527a919edd1aa381bdd6c299dd75a8167396; >= d860d40327dde251d508a234fa00bd0d90fbb656, < 5a52380b8193cf8be6c4a6b94b86ef64ed80c0dc; >= d860d40327dde251d508a234fa00bd0d90fbb656, < 98a5b1265a36e9d843a51ddd6c9fa02da50d2c57; >= d860d40327dde251d508a23… Fixed in: Linux 3d92527a919edd1aa381bdd6c299dd75a8167396, Linux 5a52380b8193cf8be6c4a6b94b86ef64ed80c0dc, Linux 98a5b1265a36e9d843a51ddd6c9fa02da50d2c57, Linux 80a3e7ab477b3655615fc1627c88c248d4ad28d9 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/3d92527a919edd1aa381bdd6c299dd75a8167396
- https://git.kernel.org/stable/c/5a52380b8193cf8be6c4a6b94b86ef64ed80c0dc
- https://git.kernel.org/stable/c/98a5b1265a36e9d843a51ddd6c9fa02da50d2c57
- https://git.kernel.org/stable/c/a74af9b937707b42c3fd041aae1ed4ce2f337307
- https://git.kernel.org/stable/c/80a3e7ab477b3655615fc1627c88c248d4ad28d9
- https://git.kernel.org/stable/c/ceb1c8c9b8aa9199da46a0f29d2d5f08d9b44c15
FAQ
Is CVE-2022-50771 being exploited?
There is no confirmed exploitation: CVE-2022-50771 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50771?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2022-50771?
Linux >= d860d40327dde251d508a234fa00bd0d90fbb656, < 3d92527a919edd1aa381bdd6c299dd75a8167396; >= d860d40327dde251d508a234fa00bd0d90fbb656, < 5a52380b8193cf8be6c4a6b94b86ef64ed80c0dc; >= d860d40327dde251d508a234fa00bd0d90fbb656, < 98a5b1265a36e9d843a51ddd6c9fa02da50d2c57; >= d860d40327dde251d508a234fa00bd0d90fbb656, < a74af9b937707b42c3fd041aae1ed4ce2f337307; >= d860d40327dde251d508a234fa00bd0d90fbb656, < 80a3e7ab477b3655615fc1627c88c248d4ad28d9; >= d860d40327dde251d508a234fa00bd0d90fbb656, < ceb1c8c9b8aa9199da46a0f29d2d5f08d9b44c15; Linux 3.17.
Is there a fix for CVE-2022-50771?
Yes. Fixed in Linux 3d92527a919edd1aa381bdd6c299dd75a8167396, Linux 5a52380b8193cf8be6c4a6b94b86ef64ed80c0dc, Linux 98a5b1265a36e9d843a51ddd6c9fa02da50d2c57, Linux 80a3e7ab477b3655615fc1627c88c248d4ad28d9. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-50771?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.