CVE-2025-40163
BaseFortify
Publication date: 2025-11-12
Last updated on: 2025-11-12
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, ensure that the Linux kernel is updated to include the fix that stops the dl_server before the CPU goes offline. This fix prevents the hrtimer from firing after the CPU is removed. Avoid running CPU removal operations that trigger this issue until the kernel is patched.
Can you explain this vulnerability to me?
This vulnerability occurs in the Linux kernel's CPU scheduler deadline code. When a CPU is being taken offline, a high-resolution timer (dl_server hrtimer) related to deadline scheduling can still be active and fire after the CPU is removed from the system. This causes a kernel warning and potentially unstable behavior because the timer callback runs on a CPU that is no longer present. The fix involves stopping the dl_server timer before the CPU is marked offline to prevent this race condition.
How can this vulnerability impact me? :
This vulnerability can cause kernel warnings and potentially unstable or unpredictable behavior during CPU removal operations. It may lead to system instability or crashes when CPUs are taken offline dynamically, affecting system reliability and uptime.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by observing kernel warnings related to the CPU removal operation, specifically warnings like: "WARNING: CPU: 0 PID: 0 at kernel/sched/cpudeadline.c:219 cpudl_set+0x58/0x170". You can monitor the kernel log for such warnings using commands like 'dmesg | grep cpudl_set' or 'journalctl -k | grep cpudl_set'. Additionally, running the CPU removal command 'drmgr -c cpu -r -q 1' may reproduce the warning if the system is vulnerable.