CVE-2022-50177
rcutorture: Fix ksoftirqd boosting timing and iteration
Mitigation
- Upgrade Linux to 3002153a91a9732a6d1d0bb95138593c7da15743 or later.
Who should check
- Anyone running Linux >= ea6d962e80b61996aeacb443661cc3adcb605315, < 621595f771a6bd458ffbc40679e222ba5d0a7a1e; >= ea6d962e80b61996aeacb443661cc3adcb605315, < 8e84693621f53bf894af9905a6531e0530402145; >= ea6d962e80b61996aeacb443661cc3adcb605315, < 7e7472c62c6ded322afd9d5ac8bb20a08e7c5674; >= ea6d962e80b61996aeacb443661cc3adcb605315, < 3002153a91a9732a6d1d0bb95138593c7da15743
- Anyone running Linux 5.14
Vulnerability facts
- Affected
- Linux >= ea6d962e80b61996aeacb443661cc3adcb605315, < 621595f771a6bd458ffbc40679e222ba5d0a7a1e; >= ea6d962e80b61996aeacb443661cc3adcb605315, < 8e84693621f53bf894af9905a6531e0530402145; >= ea6d962e80b61996aeacb443661cc3adcb605315, < 7e7472c62c6ded322afd9d5ac8bb20a08e7c5674; >= ea6d962e80b61996aeacb443661cc3adcb605315, < 3002153a91a9732a6d1d0bb95138593c7da15743; Linux 5.14
- Fixed in
- Linux 621595f771a6bd458ffbc40679e222ba5d0a7a1e, Linux 8e84693621f53bf894af9905a6531e0530402145, Linux 7e7472c62c6ded322afd9d5ac8bb20a08e7c5674, Linux 3002153a91a9732a6d1d0bb95138593c7da15743
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: rcutorture: Fix ksoftirqd boosting timing and iteration The RCU priority boosting can fail in two situations: 1) If (nr_cpus= > maxcpus=), which means if the total number of CPUs is higher than those brought online at boot, then torture_onoff() may later bring up CPUs that weren't online on boot. Now since rcutorture initialization only boosts the ksoftirqds of the CPUs that have been set online on boot, the CPUs later set online by torture_onoff won't benefit from the boost, making RCU priority boosting fail. 2) The ksoftirqd kthreads are boosted after the creation of rcu_torture_boost() kthreads, which opens a window large enough for these rcu_torture_boost() kthreads to wait (despite running at FIFO priority) for ksoftirqds that are still running at SCHED_NORMAL priority. The issues can trigger for example with: ./kvm.sh --configs TREE01 --kconfig "CONFIG_RCU_BOOST=y" [ 34.968561] rcu-torture: !!! [ 34.968627] ------------[ cut here ]------------ [ 35.014054] WARNING: CPU: 4 PID: 114 at kernel/rcu/rcutorture.c:1979 rcu_torture_stats_print+0x5ad/0x610 [ 35.052043] Modules linked in: [ 35.069138] CPU: 4 PID: 114 Comm: rcu_torture_sta Not tainted 5.18.0-rc1 #1 [ 35.096424] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.14.0-0-g155821a-rebuilt.opensuse.org 04/01/2014 [ 35.154570] RIP: 0010:rcu_torture_stats_print+0x5ad/0x610 [ 35.198527] Code: 63 1b 02 00 74 02 0f 0b 48 83 3d 35 63 1b 02 00 74 02 0f 0b 48 83 3d 21 63 1b 02 00 74 02 0f 0b 48 83 3d 0d 63 1b 02 00 74 02 <0f> 0b 83 eb 01 0f 8e ba fc ff ff 0f 0b e9 b3 fc ff f82 [ 37.251049] RSP: 0000:ffffa92a0050bdf8 EFLAGS: 00010202 [ 37.277320] rcu: De-offloading 8 [ 37.290367] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000001 [ 37.290387] RDX: 0000000000000000 RSI: 00000000ffffbfff RDI: 00000000ffffffff [ 37.290398] RBP: 000000000000007b R08: 0000000000000000 R09: c0000000ffffbfff [ 37.290407] R10: 000000000000002a R11: ffffa92a0050bc18 R12: ffffa92a0050be20 [ 37.290417] R13: ffffa92a0050be78 R14: 0000000000000000 R15: 000000000001bea0 [ 37.290427] FS: 0000000000000000(0000) GS:ffff96045eb00000(0000) knlGS:0000000000000000 [ 37.290448] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 37.290460] CR2: 0000000000000000 CR3: 000000001dc0c000 CR4: 00000000000006e0 [ 37.290470] Call Trace: [ 37.295049] <TASK> [ 37.295065] ? preempt_count_add+0x63/0x90 [ 37.295095] ? _raw_spin_lock_irqsave+0x12/0x40 [ 37.295125] ? rcu_torture_stats_print+0x610/0x610 [ 37.295143] rcu_torture_stats+0x29/0x70 [ 37.295160] kthread+0xe3/0x110 [ 37.295176] ? kthread_complete_and_exit+0x20/0x20 [ 37.295193] ret_from_fork+0x22/0x30 [ 37.295218] </TASK> Fix this with boosting the ksoftirqds kthreads from the boosting hotplug callback itself and before the boosting kthreads are created.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= ea6d962e80b61996aeacb443661cc3adcb605315, < 621595f771a6bd458ffbc40679e222ba5d0a7a1e; >= ea6d962e80b61996aeacb443661cc3adcb605315, < 8e84693621f53bf894af9905a6531e0530402145; >= ea6d962e80b61996aeacb443661cc3adcb605315, < 7e7472c62c6ded322afd9d5ac8bb20a08e7c5674; >= ea6d962e80b61996aeacb443661cc3adcb605315, < 3002153a91a9732a6d1d0bb95138593c7da15743 | — | cvelist |
| Linux | 5.14 | — | 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-50177. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50177.md Affected: Linux >= ea6d962e80b61996aeacb443661cc3adcb605315, < 621595f771a6bd458ffbc40679e222ba5d0a7a1e; >= ea6d962e80b61996aeacb443661cc3adcb605315, < 8e84693621f53bf894af9905a6531e0530402145; >= ea6d962e80b61996aeacb443661cc3adcb605315, < 7e7472c62c6ded322afd9d5ac8bb20a08e7c5674; >= ea6d962e80b61996aeacb44… Fixed in: Linux 621595f771a6bd458ffbc40679e222ba5d0a7a1e, Linux 8e84693621f53bf894af9905a6531e0530402145, Linux 7e7472c62c6ded322afd9d5ac8bb20a08e7c5674, Linux 3002153a91a9732a6d1d0bb95138593c7da15743 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
FAQ
Is CVE-2022-50177 being exploited?
There is no confirmed exploitation: CVE-2022-50177 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50177?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-50177?
Linux >= ea6d962e80b61996aeacb443661cc3adcb605315, < 621595f771a6bd458ffbc40679e222ba5d0a7a1e; >= ea6d962e80b61996aeacb443661cc3adcb605315, < 8e84693621f53bf894af9905a6531e0530402145; >= ea6d962e80b61996aeacb443661cc3adcb605315, < 7e7472c62c6ded322afd9d5ac8bb20a08e7c5674; >= ea6d962e80b61996aeacb443661cc3adcb605315, < 3002153a91a9732a6d1d0bb95138593c7da15743; Linux 5.14.
Is there a fix for CVE-2022-50177?
Yes. Fixed in Linux 621595f771a6bd458ffbc40679e222ba5d0a7a1e, Linux 8e84693621f53bf894af9905a6531e0530402145, Linux 7e7472c62c6ded322afd9d5ac8bb20a08e7c5674, Linux 3002153a91a9732a6d1d0bb95138593c7da15743. Upgrade Linux to 3002153a91a9732a6d1d0bb95138593c7da15743 or later.
How do I check if I'm affected by CVE-2022-50177?
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.