CVE-2025-39780
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-39780 is a vulnerability in the Linux kernel related to invalid task state transitions in the scheduler extension (sched/ext). The issue was discovered and reported in 2025, affecting various Linux kernel versions including those used in Debian distributions (Debian Tracker).

Technical details

The vulnerability occurs in the Linux kernel's scheduler extension when enabling a schedext scheduler, which can trigger invalid task state transitions. This results in warnings like 'schedext: Invalid task state transition 0 -> 3' and occurs because the system skips initialization for tasks that are already dead (with their usage counter set to zero), but doesn't exclude them during the scheduling class transition phase (Debian Tracker). The vulnerability has a CVSS v3 Base Score of 5.5, indicating a moderate severity level with local attack vector and low attack complexity (Red Hat Portal).

Impact

The vulnerability affects task state management in the Linux kernel scheduler, potentially leading to system instability and incorrect task handling. The issue primarily impacts systems running specific versions of the Linux kernel, particularly affecting Debian distributions including bullseye, bookworm, and trixie (Debian Tracker).

Mitigation and workarounds

The issue has been fixed in various Linux kernel versions. Debian has released fixes in version 6.16.7-1 for forky and sid distributions. The fix involves skipping dead tasks during class switching to prevent invalid task state transitions. Users are advised to update their systems to the patched versions (Debian Tracker).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-iot
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-devel-matched
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-hwe
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management