# CVE-2025-38234: sched/rt: Fix race in push\_rt\_task

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.21% (percentile 6, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2025-07-04T13:37:46.960Z
- **Modified:** 2026-10-30T13:18:01.837Z

## Who should check

- Anyone running Linux \>= e8fa136262e1121288bb93befe2295928ffd240d, \< 35b55cd665fbfd72805318f7017626eefd13dca5; \>= e8fa136262e1121288bb93befe2295928ffd240d, \< 9f6022b2573ae068793810db719e131df3ded405; \>= e8fa136262e1121288bb93befe2295928ffd240d, \< debfbc047196df1f6bfd52f2d028c21dce67f0de; \>= e8fa136262e1121288bb93befe2295928ffd240d, \< 07ecabfbca64f4f0b6071cf96e49d162fa9d138d; \>= e8fa136262e1121288bb93befe2295928ffd240d, \< 690e47d1403e90b7f2366f03b52ed3304194c793
- Anyone running Linux 2.6.25

## Description

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

sched/rt: Fix race in push\_rt\_task

Overview
========
When a CPU chooses to call push\_rt\_task and picks a task to push to
another CPU's runqueue then it will call find\_lock\_lowest\_rq method
which would take a double lock on both CPUs' runqueues. If one of the
locks aren't readily available, it may lead to dropping the current
runqueue lock and reacquiring both the locks at once. During this window
it is possible that the task is already migrated and is running on some
other CPU. These cases are already handled. However, if the task is
migrated and has already been executed and another CPU is now trying to
wake it up (ttwu) such that it is queued again on the runqeue
(on\_rq is 1) and also if the task was run by the same CPU, then the
current checks will pass even though the task was migrated out and is no
longer in the pushable tasks list.

Crashes
=======
This bug resulted in quite a few flavors of crashes triggering kernel
panics with various crash signatures such as assert failures, page
faults, null pointer dereferences, and queue corruption errors all
coming from scheduler itself.

Some of the crashes:
-\> kernel BUG at kernel/sched/rt.c:1616! BUG\_ON(idx \>= MAX\_RT\_PRIO)
   Call Trace:
   ? \_\_die\_body+0x1a/0x60
   ? die+0x2a/0x50
   ? do\_trap+0x85/0x100
   ? pick\_next\_task\_rt+0x6e/0x1d0
   ? do\_error\_trap+0x64/0xa0
   ? pick\_next\_task\_rt+0x6e/0x1d0
   ? exc\_invalid\_op+0x4c/0x60
   ? pick\_next\_task\_rt+0x6e/0x1d0
   ? asm\_exc\_invalid\_op+0x12/0x20
   ? pick\_next\_task\_rt+0x6e/0x1d0
   \_\_schedule+0x5cb/0x790
   ? update\_ts\_time\_stats+0x55/0x70
   schedule\_idle+0x1e/0x40
   do\_idle+0x15e/0x200
   cpu\_startup\_entry+0x19/0x20
   start\_secondary+0x117/0x160
   secondary\_startup\_64\_no\_verify+0xb0/0xbb

-\> BUG: kernel NULL pointer dereference, address: 00000000000000c0
   Call Trace:
   ? \_\_die\_body+0x1a/0x60
   ? no\_context+0x183/0x350
   ? \_\_warn+0x8a/0xe0
   ? exc\_page\_fault+0x3d6/0x520
   ? asm\_exc\_page\_fault+0x1e/0x30
   ? pick\_next\_task\_rt+0xb5/0x1d0
   ? pick\_next\_task\_rt+0x8c/0x1d0
   \_\_schedule+0x583/0x7e0
   ? update\_ts\_time\_stats+0x55/0x70
   schedule\_idle+0x1e/0x40
   do\_idle+0x15e/0x200
   cpu\_startup\_entry+0x19/0x20
   start\_secondary+0x117/0x160
   secondary\_startup\_64\_no\_verify+0xb0/0xbb

-\> BUG: unable to handle page fault for address: ffff9464daea5900
   kernel BUG at kernel/sched/rt.c:1861! BUG\_ON(rq-\>cpu != task\_cpu(p))

-\> kernel BUG at kernel/sched/rt.c:1055! BUG\_ON(!rq-\>nr\_running)
   Call Trace:
   ? \_\_die\_body+0x1a/0x60
   ? die+0x2a/0x50
   ? do\_trap+0x85/0x100
   ? dequeue\_top\_rt\_rq+0xa2/0xb0
   ? do\_error\_trap+0x64/0xa0
   ? dequeue\_top\_rt\_rq+0xa2/0xb0
   ? exc\_invalid\_op+0x4c/0x60
   ? dequeue\_top\_rt\_rq+0xa2/0xb0
   ? asm\_exc\_invalid\_op+0x12/0x20
   ? dequeue\_top\_rt\_rq+0xa2/0xb0
   dequeue\_rt\_entity+0x1f/0x70
   dequeue\_task\_rt+0x2d/0x70
   \_\_schedule+0x1a8/0x7e0
   ? blk\_finish\_plug+0x25/0x40
   schedule+0x3c/0xb0
   futex\_wait\_queue\_me+0xb6/0x120
   futex\_wait+0xd9/0x240
   do\_futex+0x344/0xa90
   ? get\_mm\_exe\_file+0x30/0x60
   ? audit\_exe\_compare+0x58/0x70
   ? audit\_filter\_rules.constprop.26+0x65e/0x1220
   \_\_x64\_sys\_futex+0x148/0x1f0
   do\_syscall\_64+0x30/0x80
   entry\_SYSCALL\_64\_after\_hwframe+0x62/0xc7

-\> BUG: unable to handle page fault for address: ffff8cf3608bc2c0
   Call Trace:
   ? \_\_die\_body+0x1a/0x60
   ? no\_context+0x183/0x350
   ? spurious\_kernel\_fault+0x171/0x1c0
   ? exc\_page\_fault+0x3b6/0x520
   ? plist\_check\_list+0x15/0x40
   ? plist\_check\_list+0x2e/0x40
   ? asm\_exc\_page\_fault+0x1e/0x30
   ? \_cond\_resched+0x15/0x30
   ? futex\_wait\_queue\_me+0xc8/0x120
   ? futex\_wait+0xd9/0x240
   ? try\_to\_wake\_up+0x1b8/0x490
   ? futex\_wake+0x78/0x160
   ? do\_futex+0xcd/0xa90
   ? plist\_check\_list+0x15/0x40
   ? plist\_check\_list+0x2e/0x40
   ? plist\_del+0x6a/0xd0
   ? plist\_check\_list+0x15/0x40
   ? plist\_check\_list+0x2e/0x40
   ? dequeue\_pushable\_task+0x20/0x70
   ? \_\_schedule+0x382/0x7e0
   ? asm\_sysvec\_reschedule\_i
---truncated---

## Affected and fixed versions

- Linux: \>= e8fa136262e1121288bb93befe2295928ffd240d, \< 35b55cd665fbfd72805318f7017626eefd13dca5; \>= e8fa136262e1121288bb93befe2295928ffd240d, \< 9f6022b2573ae068793810db719e131df3ded405; \>= e8fa136262e1121288bb93befe2295928ffd240d, \< debfbc047196df1f6bfd52f2d028c21dce67f0de; \>= e8fa136262e1121288bb93befe2295928ffd240d, \< 07ecabfbca64f4f0b6071cf96e49d162fa9d138d; \>= e8fa136262e1121288bb93befe2295928ffd240d, \< 690e47d1403e90b7f2366f03b52ed3304194c793 (cvelist)
- Linux: 2.6.25 (cvelist)

## Mitigation

- Upgrade Linux to 690e47d1403e90b7f2366f03b52ed3304194c793 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-38234.md
Affected: Linux >= e8fa136262e1121288bb93befe2295928ffd240d, < 35b55cd665fbfd72805318f7017626eefd13dca5; >= e8fa136262e1121288bb93befe2295928ffd240d, < 9f6022b2573ae068793810db719e131df3ded405; >= e8fa136262e1121288bb93befe2295928ffd240d, < debfbc047196df1f6bfd52f2d028c21dce67f0de; >= e8fa136262e1121288bb93b…
Fixed in: Linux 35b55cd665fbfd72805318f7017626eefd13dca5, Linux 9f6022b2573ae068793810db719e131df3ded405, Linux 07ecabfbca64f4f0b6071cf96e49d162fa9d138d, Linux 690e47d1403e90b7f2366f03b52ed3304194c793

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-2025-38234 being exploited?

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

### How serious is CVE-2025-38234?

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

### Which versions are affected by CVE-2025-38234?

Linux \>= e8fa136262e1121288bb93befe2295928ffd240d, \< 35b55cd665fbfd72805318f7017626eefd13dca5; \>= e8fa136262e1121288bb93befe2295928ffd240d, \< 9f6022b2573ae068793810db719e131df3ded405; \>= e8fa136262e1121288bb93befe2295928ffd240d, \< debfbc047196df1f6bfd52f2d028c21dce67f0de; \>= e8fa136262e1121288bb93befe2295928ffd240d, \< 07ecabfbca64f4f0b6071cf96e49d162fa9d138d; \>= e8fa136262e1121288bb93befe2295928ffd240d, \< 690e47d1403e90b7f2366f03b52ed3304194c793; Linux 2.6.25.

### Is there a fix for CVE-2025-38234?

Yes. Fixed in Linux 35b55cd665fbfd72805318f7017626eefd13dca5, Linux 9f6022b2573ae068793810db719e131df3ded405, Linux 07ecabfbca64f4f0b6071cf96e49d162fa9d138d, Linux 690e47d1403e90b7f2366f03b52ed3304194c793. Upgrade Linux to 690e47d1403e90b7f2366f03b52ed3304194c793 or later.

### How do I check if I'm affected by CVE-2025-38234?

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/9f6022b2573ae068793810db719e131df3ded405>
- patch: <https://git.kernel.org/stable/c/debfbc047196df1f6bfd52f2d028c21dce67f0de>
- patch: <https://git.kernel.org/stable/c/07ecabfbca64f4f0b6071cf96e49d162fa9d138d>
- patch: <https://git.kernel.org/stable/c/690e47d1403e90b7f2366f03b52ed3304194c793>
- other: <https://git.kernel.org/stable/c/35b55cd665fbfd72805318f7017626eefd13dca5>

## 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-2025-38234>

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