Invalid Task State Transitions in Linux Kernel Scheduler
CVE-2025-39780
What is CVE-2025-39780?
In the Linux kernel, a vulnerability exists within the scheduler that can cause invalid task state transitions when using the sched_ext scheduler. This issue arises during class switch operations, particularly affecting tasks that are already dead, leading to warnings and potential system instability. The kernel fails to appropriately skip these dead tasks during scheduling transitions, resulting in alerts like 'Invalid task state transition 0 -> 3'. A fix has been implemented to ensure dead tasks are excluded from class switching, thereby preventing these erroneous state transitions and enhancing system reliability.
Affected Version(s)
Linux a8532fac7b5d27b8d62008a89593dccb6f9786ef < 786f6314604b34c3e7de5f733f4e08e35c448a50
Linux a8532fac7b5d27b8d62008a89593dccb6f9786ef < 6a32cbe95029ebe21cc08349fd7ef2a3d32d2043
Linux a8532fac7b5d27b8d62008a89593dccb6f9786ef