CVE-2025-39900: net_sched: gen_estimator: fix est_timer() vs CONFIG_PREEMPT_RT=y
In the Linux kernel, the following vulnerability has been resolved:
netsched: genestimator: fix esttimer() vs CONFIGPREEMPTRT=y
syzbot reported a WARNING in esttimer() [1]
Problem here is that with CONFIGPREEMPTRT=y, timer callbacks can be preempted.
Adopt preemptdisablenested()/preemptenablenested() to fix this.
[1] WARNING: CPU: 0 PID: 16 at ./include/linux/seqlock.h:221 seqpropassert include/linux/seqlock.h:221 [inline] WARNING: CPU: 0 PID: 16 at ./include/linux/seqlock.h:221 esttimer+0x6dc/0x9f0 net/core/genestimator.c:93 Modules linked in: CPU: 0 UID: 0 PID: 16 Comm: ktimers/0 Not tainted syzkaller #0 PREEMPT{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:seqpropassert include/linux/seqlock.h:221 [inline] RIP: 0010:esttimer+0x6dc/0x9f0 net/core/genestimator.c:93 Call Trace: <TASK> calltimerfn+0x17e/0x5f0 kernel/time/timer.c:1747 expiretimers kernel/time/timer.c:1798 [inline] runtimers kernel/time/timer.c:2372 [inline] runtimerbase+0x648/0x970 kernel/time/timer.c:2384 runtimerbase kernel/time/timer.c:2393 [inline] runtimersoftirq+0xb7/0x180 kernel/time/timer.c:2403 handlesoftirqs+0x22c/0x710 kernel/softirq.c:579 dosoftirq kernel/softirq.c:613 [inline] runktimerd+0xcf/0x190 kernel/softirq.c:1043 smpbootthreadfn+0x53f/0xa60 kernel/smpboot.c:160 kthread+0x70e/0x8a0 kernel/kthread.c:463 retfromfork+0x3fc/0x770 arch/x86/kernel/process.c:148 retfromforkasm+0x1a/0x30 arch/x86/entry/entry64.S:245 </TASK>
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-39900?
CVE-2025-39900 has been categorized as a medium severity vulnerability in the Linux kernel.
How do I fix CVE-2025-39900?
To fix CVE-2025-39900, update to the latest version of the Linux kernel that includes the patch addressing the gen_estimator vulnerability.
What systems are affected by CVE-2025-39900?
CVE-2025-39900 affects Linux kernel versions that have CONFIG_PREEMPT_RT enabled.
What are the potential impacts of CVE-2025-39900?
CVE-2025-39900 could lead to unexpected behavior in timer management when preemption is enabled, which may affect system stability.
Who reported CVE-2025-39900?
CVE-2025-39900 was reported by syzbot as a warning in the est_timer() function.