CVE-2026-139518: floppy: avoid NULL deref in reset_interrupt when cont is cleared
floppy: avoid NULL deref in resetinterrupt when cont is cleared
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1 - Compensating control
In reset_interrupt(), return early if cont is already NULL after result().
Event History
Frequently Asked Questions
Which systems are exposed to this failure?
The issue affects Linux kernel systems using the floppy driver, specifically when the floppy controller reset and interrupt-handling paths are exercised. The provided crash shows the failure occurring in the floppy workqueue.
What conditions trigger the crash?
The failure requires a race where reset_fdc() schedules reset_interrupt(), then unlock_fdc() or do_wakeup() clears cont before the queued work executes. reset_interrupt() subsequently dereferences the now-NULL cont pointer, causing a kernel oops.
How can I identify a suspected occurrence?
Look for kernel logs mentioning "floppy timeout called", "no cont in shutdown!", "FDC access conflict!", or a NULL pointer dereference with reset_interrupt in the stack trace. The example identifies the workqueue as "floppy" and the faulting function as reset_interrupt.