# CVE-2026-23371: sched/deadline: Fix missing ENQUEUE\_REPLENISH during PI de-boosting

> 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.19% (percentile 5, 2026-11-26)
- **Published:** 2026-03-25T10:27:52.158Z
- **Modified:** 2026-10-30T13:18:37.290Z

## Who should check

- Anyone running Linux \>= 2279f540ea7d05f22d2f0c4224319330228586bc, \< e0e20852d44261a9d69188bc483872930e7ba727; \>= 2279f540ea7d05f22d2f0c4224319330228586bc, \< ce6253fe718811cceb3a0ae0dbf0a5941dea3eb6; \>= 2279f540ea7d05f22d2f0c4224319330228586bc, \< 65af3633caf195d397ec4c39f51ae7615bd5a627; \>= 2279f540ea7d05f22d2f0c4224319330228586bc, \< 0638bf16b7a73a2fe63624bd0d16d9fd904805c3; \>= 2279f540ea7d05f22d2f0c4224319330228586bc, \< ba1c22924ddcc280672a2a06a9ca99ee3a1b92c3; \>= 2279f540ea7d05f22d2f0c4224319330228586bc, \< d658686a1331db3bb108ca079d76deb3208ed949; 3cc3d77dc541181f97f1dc96d2977ef8359fd760; d2b65976bf1ae9d0d9dd5770cd01695559438309; \>= 4.19.257, \< 4.20; \>= 5.4.212, \< 5.5
- Anyone running Linux 5.10

## Description

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

sched/deadline: Fix missing ENQUEUE\_REPLENISH during PI de-boosting

Running stress-ng --schedpolicy 0 on an RT kernel on a big machine
might lead to the following WARNINGs (edited).

 sched: DL de-boosted task PID 22725: REPLENISH flag missing

 WARNING: CPU: 93 PID: 0 at kernel/sched/deadline.c:239 dequeue\_task\_dl+0x15c/0x1f8
 ... (running\_bw underflow)
 Call trace:
  dequeue\_task\_dl+0x15c/0x1f8 (P)
  dequeue\_task+0x80/0x168
  deactivate\_task+0x24/0x50
  push\_dl\_task+0x264/0x2e0
  dl\_task\_timer+0x1b0/0x228
  \_\_hrtimer\_run\_queues+0x188/0x378
  hrtimer\_interrupt+0xfc/0x260
  ...

The problem is that when a SCHED\_DEADLINE task (lock holder) is
changed to a lower priority class via sched\_setscheduler(), it may
fail to properly inherit the parameters of potential DEADLINE donors
if it didn't already inherit them in the past (shorter deadline than
donor's at that time). This might lead to bandwidth accounting
corruption, as enqueue\_task\_dl() won't recognize the lock holder as
boosted.

The scenario occurs when:
1. A DEADLINE task (donor) blocks on a PI mutex held by another
   DEADLINE task (holder), but the holder doesn't inherit parameters
   (e.g., it already has a shorter deadline)
2. sched\_setscheduler() changes the holder from DEADLINE to a lower
   class while still holding the mutex
3. The holder should now inherit DEADLINE parameters from the donor
   and be enqueued with ENQUEUE\_REPLENISH, but this doesn't happen

Fix the issue by introducing \_\_setscheduler\_dl\_pi(), which detects when
a DEADLINE (proper or boosted) task gets setscheduled to a lower
priority class. In case, the function makes the task inherit DEADLINE
parameters of the donoer (pi\_se) and sets ENQUEUE\_REPLENISH flag to
ensure proper bandwidth accounting during the next enqueue operation.

## Affected and fixed versions

- Linux: \>= 2279f540ea7d05f22d2f0c4224319330228586bc, \< e0e20852d44261a9d69188bc483872930e7ba727; \>= 2279f540ea7d05f22d2f0c4224319330228586bc, \< ce6253fe718811cceb3a0ae0dbf0a5941dea3eb6; \>= 2279f540ea7d05f22d2f0c4224319330228586bc, \< 65af3633caf195d397ec4c39f51ae7615bd5a627; \>= 2279f540ea7d05f22d2f0c4224319330228586bc, \< 0638bf16b7a73a2fe63624bd0d16d9fd904805c3; \>= 2279f540ea7d05f22d2f0c4224319330228586bc, \< ba1c22924ddcc280672a2a06a9ca99ee3a1b92c3; \>= 2279f540ea7d05f22d2f0c4224319330228586bc, \< d658686a1331db3bb108ca079d76deb3208ed949; 3cc3d77dc541181f97f1dc96d2977ef8359fd760; d2b65976bf1ae9d0d9dd5770cd01695559438309; \>= 4.19.257, \< 4.20; \>= 5.4.212, \< 5.5 (cvelist)
- Linux: 5.10 (cvelist)

## Mitigation

- Upgrade Linux to 5.5 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-23371.md
Affected: Linux >= 2279f540ea7d05f22d2f0c4224319330228586bc, < e0e20852d44261a9d69188bc483872930e7ba727; >= 2279f540ea7d05f22d2f0c4224319330228586bc, < ce6253fe718811cceb3a0ae0dbf0a5941dea3eb6; >= 2279f540ea7d05f22d2f0c4224319330228586bc, < 65af3633caf195d397ec4c39f51ae7615bd5a627; >= 2279f540ea7d05f22d2f0c4…
Fixed in: Linux 65af3633caf195d397ec4c39f51ae7615bd5a627, Linux 0638bf16b7a73a2fe63624bd0d16d9fd904805c3, Linux 4.20, Linux 5.5

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-2026-23371 being exploited?

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

### How serious is CVE-2026-23371?

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

### Which versions are affected by CVE-2026-23371?

Linux \>= 2279f540ea7d05f22d2f0c4224319330228586bc, \< e0e20852d44261a9d69188bc483872930e7ba727; \>= 2279f540ea7d05f22d2f0c4224319330228586bc, \< ce6253fe718811cceb3a0ae0dbf0a5941dea3eb6; \>= 2279f540ea7d05f22d2f0c4224319330228586bc, \< 65af3633caf195d397ec4c39f51ae7615bd5a627; \>= 2279f540ea7d05f22d2f0c4224319330228586bc, \< 0638bf16b7a73a2fe63624bd0d16d9fd904805c3; \>= 2279f540ea7d05f22d2f0c4224319330228586bc, \< ba1c22924ddcc280672a2a06a9ca99ee3a1b92c3; \>= 2279f540ea7d05f22d2f0c4224319330228586bc, \< d658686a1331db3bb108ca079d76deb3208ed949; 3cc3d77dc541181f97f1dc96d2977ef8359fd760; d2b65976bf1ae9d0d9dd5770cd01695559438309; \>= 4.19.257, \< 4.20; \>= 5.4.212, \< 5.5; Linux 5.10.

### Is there a fix for CVE-2026-23371?

Yes. Fixed in Linux 65af3633caf195d397ec4c39f51ae7615bd5a627, Linux 0638bf16b7a73a2fe63624bd0d16d9fd904805c3, Linux 4.20, Linux 5.5. Upgrade Linux to 5.5 or later.

### How do I check if I'm affected by CVE-2026-23371?

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/ba1c22924ddcc280672a2a06a9ca99ee3a1b92c3>
- patch: <https://git.kernel.org/stable/c/d658686a1331db3bb108ca079d76deb3208ed949>
- other: <https://git.kernel.org/stable/c/e0e20852d44261a9d69188bc483872930e7ba727>
- other: <https://git.kernel.org/stable/c/ce6253fe718811cceb3a0ae0dbf0a5941dea3eb6>
- other: <https://git.kernel.org/stable/c/65af3633caf195d397ec4c39f51ae7615bd5a627>
- other: <https://git.kernel.org/stable/c/0638bf16b7a73a2fe63624bd0d16d9fd904805c3>

## 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-2026-23371>

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