# CVE-2024-36888: workqueue: Fix selection of wake\_cpu in kick\_pool()

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

- **Severity:** MEDIUM 6.2
- **CVSS:** 6.2 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; 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.33% (percentile 18, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-05-30T15:28:56.214Z
- **Modified:** 2026-06-17T07:37:16.807Z

## Who should check

- Anyone running Linux \>= 8639ecebc9b1796d7074751a350462f5e1c61cd4, \< c57824d4fe07c2131f8c48687cbd5ee2be60c767; \>= 8639ecebc9b1796d7074751a350462f5e1c61cd4, \< 6d559e70b3eb6623935cbe7f94c1912c1099777b; \>= 8639ecebc9b1796d7074751a350462f5e1c61cd4, \< 57a01eafdcf78f6da34fad9ff075ed5dfdd9f420
- Anyone running Linux 6.6

## Description

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

workqueue: Fix selection of wake\_cpu in kick\_pool()

With cpu\_possible\_mask=0-63 and cpu\_online\_mask=0-7 the following
kernel oops was observed:

smp: Bringing up secondary CPUs ...
smp: Brought up 1 node, 8 CPUs
Unable to handle kernel pointer dereference in virtual kernel address space
Failing address: 0000000000000000 TEID: 0000000000000803
\[..\]
 Call Trace:
arch\_vcpu\_is\_preempted+0x12/0x80
select\_idle\_sibling+0x42/0x560
select\_task\_rq\_fair+0x29a/0x3b0
try\_to\_wake\_up+0x38e/0x6e0
kick\_pool+0xa4/0x198
\_\_queue\_work.part.0+0x2bc/0x3a8
call\_timer\_fn+0x36/0x160
\_\_run\_timers+0x1e2/0x328
\_\_run\_timer\_base+0x5a/0x88
run\_timer\_softirq+0x40/0x78
\_\_do\_softirq+0x118/0x388
irq\_exit\_rcu+0xc0/0xd8
do\_ext\_irq+0xae/0x168
ext\_int\_handler+0xbe/0xf0
psw\_idle\_exit+0x0/0xc
default\_idle\_call+0x3c/0x110
do\_idle+0xd4/0x158
cpu\_startup\_entry+0x40/0x48
rest\_init+0xc6/0xc8
start\_kernel+0x3c4/0x5e0
startup\_continue+0x3c/0x50

The crash is caused by calling arch\_vcpu\_is\_preempted() for an offline
CPU. To avoid this, select the cpu with cpumask\_any\_and\_distribute()
to mask \_\_pod\_cpumask with cpu\_online\_mask. In case no cpu is left in
the pool, skip the assignment.

tj: This doesn't fully fix the bug as CPUs can still go down between picking
the target CPU and the wake call. Fixing that likely requires adding
cpu\_online() test to either the sched or s390 arch code. However, regardless
of how that is fixed, workqueue shouldn't be picking a CPU which isn't
online as that would result in unpredictable and worse behavior.

## Affected and fixed versions

- Linux: \>= 8639ecebc9b1796d7074751a350462f5e1c61cd4, \< c57824d4fe07c2131f8c48687cbd5ee2be60c767; \>= 8639ecebc9b1796d7074751a350462f5e1c61cd4, \< 6d559e70b3eb6623935cbe7f94c1912c1099777b; \>= 8639ecebc9b1796d7074751a350462f5e1c61cd4, \< 57a01eafdcf78f6da34fad9ff075ed5dfdd9f420 (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- Upgrade Linux to 57a01eafdcf78f6da34fad9ff075ed5dfdd9f420 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-36888.md
Affected: Linux >= 8639ecebc9b1796d7074751a350462f5e1c61cd4, < c57824d4fe07c2131f8c48687cbd5ee2be60c767; >= 8639ecebc9b1796d7074751a350462f5e1c61cd4, < 6d559e70b3eb6623935cbe7f94c1912c1099777b; >= 8639ecebc9b1796d7074751a350462f5e1c61cd4, < 57a01eafdcf78f6da34fad9ff075ed5dfdd9f420; Linux 6.6
Fixed in: Linux 6d559e70b3eb6623935cbe7f94c1912c1099777b, Linux 57a01eafdcf78f6da34fad9ff075ed5dfdd9f420

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-2024-36888 being exploited?

There is no confirmed exploitation: CVE-2024-36888 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-36888?

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

### Which versions are affected by CVE-2024-36888?

Linux \>= 8639ecebc9b1796d7074751a350462f5e1c61cd4, \< c57824d4fe07c2131f8c48687cbd5ee2be60c767; \>= 8639ecebc9b1796d7074751a350462f5e1c61cd4, \< 6d559e70b3eb6623935cbe7f94c1912c1099777b; \>= 8639ecebc9b1796d7074751a350462f5e1c61cd4, \< 57a01eafdcf78f6da34fad9ff075ed5dfdd9f420; Linux 6.6.

### Is there a fix for CVE-2024-36888?

Yes. Fixed in Linux 6d559e70b3eb6623935cbe7f94c1912c1099777b, Linux 57a01eafdcf78f6da34fad9ff075ed5dfdd9f420. Upgrade Linux to 57a01eafdcf78f6da34fad9ff075ed5dfdd9f420 or later.

### How do I check if I'm affected by CVE-2024-36888?

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/c57824d4fe07c2131f8c48687cbd5ee2be60c767>
- patch: <https://git.kernel.org/stable/c/6d559e70b3eb6623935cbe7f94c1912c1099777b>
- patch: <https://git.kernel.org/stable/c/57a01eafdcf78f6da34fad9ff075ed5dfdd9f420>

## 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-2024-36888>

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