# CVE-2024-56583: sched/deadline: Fix warning in migrate\_enable for boosted tasks

> 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.29% (percentile 15, 2026-11-26)
- **Published:** 2024-12-27T14:50:51.781Z
- **Modified:** 2026-11-05T21:17:35.613Z

## Who should check

- Anyone running Linux \>= 295d6d5e373607729bcc8182c25afe964655714f, \< 6923c1b117a93477c392a1d46da73ef40987a091; \>= 295d6d5e373607729bcc8182c25afe964655714f, \< b600d30402854415aa57548a6b53dc6478f65517; \>= 295d6d5e373607729bcc8182c25afe964655714f, \< e41074904d9ed3fe582d6e544c77b40c22043c82; \>= 295d6d5e373607729bcc8182c25afe964655714f, \< 0664e2c311b9fa43b33e3e81429cd0c2d7f9c638; fd8cb2e71cdd8e814cbdadddd0d0e6e3d49eaa2c; \>= 4.14.70, \< 4.15
- Anyone running Linux 4.15

## Description

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

sched/deadline: Fix warning in migrate\_enable for boosted tasks

When running the following command:

while true; do
    stress-ng --cyclic 30 --timeout 30s --minimize --quiet
done

a warning is eventually triggered:

WARNING: CPU: 43 PID: 2848 at kernel/sched/deadline.c:794
setup\_new\_dl\_entity+0x13e/0x180
...
Call Trace:
 \<TASK\>
 ? show\_trace\_log\_lvl+0x1c4/0x2df
 ? enqueue\_dl\_entity+0x631/0x6e0
 ? setup\_new\_dl\_entity+0x13e/0x180
 ? \_\_warn+0x7e/0xd0
 ? report\_bug+0x11a/0x1a0
 ? handle\_bug+0x3c/0x70
 ? exc\_invalid\_op+0x14/0x70
 ? asm\_exc\_invalid\_op+0x16/0x20
 enqueue\_dl\_entity+0x631/0x6e0
 enqueue\_task\_dl+0x7d/0x120
 \_\_do\_set\_cpus\_allowed+0xe3/0x280
 \_\_set\_cpus\_allowed\_ptr\_locked+0x140/0x1d0
 \_\_set\_cpus\_allowed\_ptr+0x54/0xa0
 migrate\_enable+0x7e/0x150
 rt\_spin\_unlock+0x1c/0x90
 group\_send\_sig\_info+0xf7/0x1a0
 ? kill\_pid\_info+0x1f/0x1d0
 kill\_pid\_info+0x78/0x1d0
 kill\_proc\_info+0x5b/0x110
 \_\_x64\_sys\_kill+0x93/0xc0
 do\_syscall\_64+0x5c/0xf0
 entry\_SYSCALL\_64\_after\_hwframe+0x6e/0x76
 RIP: 0033:0x7f0dab31f92b

This warning occurs because set\_cpus\_allowed dequeues and enqueues tasks
with the ENQUEUE\_RESTORE flag set. If the task is boosted, the warning
is triggered. A boosted task already had its parameters set by
rt\_mutex\_setprio, and a new call to setup\_new\_dl\_entity is unnecessary,
hence the WARN\_ON call.

Check if we are requeueing a boosted task and avoid calling
setup\_new\_dl\_entity if that's the case.

## Affected and fixed versions

- Linux: \>= 295d6d5e373607729bcc8182c25afe964655714f, \< 6923c1b117a93477c392a1d46da73ef40987a091; \>= 295d6d5e373607729bcc8182c25afe964655714f, \< b600d30402854415aa57548a6b53dc6478f65517; \>= 295d6d5e373607729bcc8182c25afe964655714f, \< e41074904d9ed3fe582d6e544c77b40c22043c82; \>= 295d6d5e373607729bcc8182c25afe964655714f, \< 0664e2c311b9fa43b33e3e81429cd0c2d7f9c638; fd8cb2e71cdd8e814cbdadddd0d0e6e3d49eaa2c; \>= 4.14.70, \< 4.15 (cvelist)
- Linux: 4.15 (cvelist)

## Mitigation

- Upgrade Linux to 4.15 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-56583. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56583.md
Affected: Linux >= 295d6d5e373607729bcc8182c25afe964655714f, < 6923c1b117a93477c392a1d46da73ef40987a091; >= 295d6d5e373607729bcc8182c25afe964655714f, < b600d30402854415aa57548a6b53dc6478f65517; >= 295d6d5e373607729bcc8182c25afe964655714f, < e41074904d9ed3fe582d6e544c77b40c22043c82; >= 295d6d5e373607729bcc818…
Fixed in: Linux 6923c1b117a93477c392a1d46da73ef40987a091, Linux 0664e2c311b9fa43b33e3e81429cd0c2d7f9c638, Linux 4.15

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-56583 being exploited?

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

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

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

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

Linux \>= 295d6d5e373607729bcc8182c25afe964655714f, \< 6923c1b117a93477c392a1d46da73ef40987a091; \>= 295d6d5e373607729bcc8182c25afe964655714f, \< b600d30402854415aa57548a6b53dc6478f65517; \>= 295d6d5e373607729bcc8182c25afe964655714f, \< e41074904d9ed3fe582d6e544c77b40c22043c82; \>= 295d6d5e373607729bcc8182c25afe964655714f, \< 0664e2c311b9fa43b33e3e81429cd0c2d7f9c638; fd8cb2e71cdd8e814cbdadddd0d0e6e3d49eaa2c; \>= 4.14.70, \< 4.15; Linux 4.15.

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

Yes. Fixed in Linux 6923c1b117a93477c392a1d46da73ef40987a091, Linux 0664e2c311b9fa43b33e3e81429cd0c2d7f9c638, Linux 4.15. Upgrade Linux to 4.15 or later.

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

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/b600d30402854415aa57548a6b53dc6478f65517>
- patch: <https://git.kernel.org/stable/c/e41074904d9ed3fe582d6e544c77b40c22043c82>
- patch: <https://git.kernel.org/stable/c/0664e2c311b9fa43b33e3e81429cd0c2d7f9c638>
- other: <https://git.kernel.org/stable/c/6923c1b117a93477c392a1d46da73ef40987a091>

## 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-56583>

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