# CVE-2022-50100: sched/core: Do not requeue task on CPU excluded from cpus\_mask

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.28% (percentile 13, 2026-11-28)
- **Published:** 2025-06-18T11:02:36.629Z
- **Modified:** 2026-06-17T05:22:45.643Z

## Who should check

- Anyone running Linux \>= c6e7bd7afaeb3af55ffac122828035f1c01d1d7b, \< 748d2e9585ae53cb6be48e84f93d2f082ae1d135; \>= c6e7bd7afaeb3af55ffac122828035f1c01d1d7b, \< fde45283f4c8a91c367ea5f20f87036468755121; \>= c6e7bd7afaeb3af55ffac122828035f1c01d1d7b, \< 302f7b0fc337746f41c69eb08522907f6a90c643; \>= c6e7bd7afaeb3af55ffac122828035f1c01d1d7b, \< 751d4cbc43879229dbc124afefe240b70fd29a85
- Anyone running Linux 5.8

## Description

In the Linux kernel, the following vulnerability has been resolved:

sched/core: Do not requeue task on CPU excluded from cpus\_mask

The following warning was triggered on a large machine early in boot on
a distribution kernel but the same problem should also affect mainline.

   WARNING: CPU: 439 PID: 10 at ../kernel/workqueue.c:2231 process\_one\_work+0x4d/0x440
   Call Trace:
    \<TASK\>
    rescuer\_thread+0x1f6/0x360
    kthread+0x156/0x180
    ret\_from\_fork+0x22/0x30
    \</TASK\>

Commit c6e7bd7afaeb ("sched/core: Optimize ttwu() spinning on p-\>on\_cpu")
optimises ttwu by queueing a task that is descheduling on the wakelist,
but does not check if the task descheduling is still allowed to run on that CPU.

In this warning, the problematic task is a workqueue rescue thread which
checks if the rescue is for a per-cpu workqueue and running on the wrong CPU.
While this is early in boot and it should be possible to create workers,
the rescue thread may still used if the MAYDAY\_INITIAL\_TIMEOUT is reached
or MAYDAY\_INTERVAL and on a sufficiently large machine, the rescue
thread is being used frequently.

Tracing confirmed that the task should have migrated properly using the
stopper thread to handle the migration. However, a parallel wakeup from udev
running on another CPU that does not share CPU cache observes p-\>on\_cpu and
uses task\_cpu(p), queues the task on the old CPU and triggers the warning.

Check that the wakee task that is descheduling is still allowed to run
on its current CPU and if not, wait for the descheduling to complete
and select an allowed CPU.

## Affected and fixed versions

- Linux: \>= c6e7bd7afaeb3af55ffac122828035f1c01d1d7b, \< 748d2e9585ae53cb6be48e84f93d2f082ae1d135; \>= c6e7bd7afaeb3af55ffac122828035f1c01d1d7b, \< fde45283f4c8a91c367ea5f20f87036468755121; \>= c6e7bd7afaeb3af55ffac122828035f1c01d1d7b, \< 302f7b0fc337746f41c69eb08522907f6a90c643; \>= c6e7bd7afaeb3af55ffac122828035f1c01d1d7b, \< 751d4cbc43879229dbc124afefe240b70fd29a85 (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- Upgrade Linux to 751d4cbc43879229dbc124afefe240b70fd29a85 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50100. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50100.md
Affected: Linux >= c6e7bd7afaeb3af55ffac122828035f1c01d1d7b, < 748d2e9585ae53cb6be48e84f93d2f082ae1d135; >= c6e7bd7afaeb3af55ffac122828035f1c01d1d7b, < fde45283f4c8a91c367ea5f20f87036468755121; >= c6e7bd7afaeb3af55ffac122828035f1c01d1d7b, < 302f7b0fc337746f41c69eb08522907f6a90c643; >= c6e7bd7afaeb3af55ffac12…
Fixed in: Linux 748d2e9585ae53cb6be48e84f93d2f082ae1d135, Linux 302f7b0fc337746f41c69eb08522907f6a90c643, Linux 751d4cbc43879229dbc124afefe240b70fd29a85

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.
```

## FAQ

### Is CVE-2022-50100 being exploited?

There is no confirmed exploitation: CVE-2022-50100 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-28).

### How serious is CVE-2022-50100?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-50100?

Linux \>= c6e7bd7afaeb3af55ffac122828035f1c01d1d7b, \< 748d2e9585ae53cb6be48e84f93d2f082ae1d135; \>= c6e7bd7afaeb3af55ffac122828035f1c01d1d7b, \< fde45283f4c8a91c367ea5f20f87036468755121; \>= c6e7bd7afaeb3af55ffac122828035f1c01d1d7b, \< 302f7b0fc337746f41c69eb08522907f6a90c643; \>= c6e7bd7afaeb3af55ffac122828035f1c01d1d7b, \< 751d4cbc43879229dbc124afefe240b70fd29a85; Linux 5.8.

### Is there a fix for CVE-2022-50100?

Yes. Fixed in Linux 748d2e9585ae53cb6be48e84f93d2f082ae1d135, Linux 302f7b0fc337746f41c69eb08522907f6a90c643, Linux 751d4cbc43879229dbc124afefe240b70fd29a85. Upgrade Linux to 751d4cbc43879229dbc124afefe240b70fd29a85 or later.

### How do I check if I'm affected by CVE-2022-50100?

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.

## References

- patch: <https://git.kernel.org/stable/c/748d2e9585ae53cb6be48e84f93d2f082ae1d135>
- patch: <https://git.kernel.org/stable/c/fde45283f4c8a91c367ea5f20f87036468755121>
- patch: <https://git.kernel.org/stable/c/302f7b0fc337746f41c69eb08522907f6a90c643>
- patch: <https://git.kernel.org/stable/c/751d4cbc43879229dbc124afefe240b70fd29a85>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50100>

HTML: <https://flawdb.com/CVE-2022-50100> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50100>
