sched/deadline: Fix missing ENQUEUE_REPLENISH during PI de-boosting
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 introduci
CVE-2026-23371
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-23371
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "2279f540ea7d05f22d2f0c4224319330228586bc",
"lessThan": "ce6253fe718811cceb3a0ae0dbf0a5941dea3eb6",
"versionType": "git"
},
{
"status": "affected",
"version": "2279f540ea7d05f22d2f0c4224319330228586bc",
"lessThan": "65af3633caf195d397ec4c39f51ae7615bd5a627",
"versionType": "git"
},
{
"status": "affected",
"version": "2279f540ea7d05f22d2f0c4224319330228586bc",
"lessThan": "0638bf16b7a73a2fe63624bd0d16d9fd904805c3",
"versionType": "git"
},
{
"status": "affected",
"version": "2279f540ea7d05f22d2f0c4224319330228586bc",
"lessThan": "ba1c22924ddcc280672a2a06a9ca99ee3a1b92c3",
"versionType": "git"
},
{
"status": "affected",
"version": "2279f540ea7d05f22d2f0c4224319330228586bc",
"lessThan": "d658686a1331db3bb108ca079d76deb3208ed949",
"versionType": "git"
},
{
"status": "affected",
"version": "3cc3d77dc541181f97f1dc96d2977ef8359fd760",
"versionType": "git"
},
{
"status": "affected",
"version": "d2b65976bf1ae9d0d9dd5770cd01695559438309",
"versionType": "git"
},
{
"status": "affected",
"version": "4.19.257",
"lessThan": "4.20",
"versionType": "semver"
},
{
"status": "affected",
"version": "5.4.212",
"lessThan": "5.5",
"versionType": "semver"
}
],
"programFiles": [
"kernel/sched/syscalls.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.10"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.10",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.114",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.34",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "6.19.7",
"versionType": "semver",
"lessThanOrEqual": "6.19.*"
},
{
"status": "unaffected",
"version": "7.0",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"kernel/sched/syscalls.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-23371
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #46120 · Revision 1
- Added to Heist Feed
- Publisher date