Executive summary
CVE-2026-139518 describes a NULL pointer dereference in the Linux kernel's floppy disk controller driver. The vulnerable path is drivers/block/floppy.c, where a hardware reset schedules reset_interrupt() for later execution on the floppy workqueue.
The callback pointer stored in cont can be cleared by unlock_fdc() or do_wakeup() before the queued work runs. When reset_interrupt() subsequently executes, it dereferences the cleared pointer and triggers a kernel oops. The supplied report includes a crash trace showing cont= (null) and a fault in reset_interrupt+0x3a/0xa0 [floppy].
The upstream response described in the advisory is a defensive early return when cont is already NULL after result(). The source material states that the hardware reset has completed at that point and that a later request may lock the FDC and reset it again.
Detailed analysis
Affected systems
The affected component is the Linux kernel floppy disk driver, specifically the reset continuation path in drivers/block/floppy.c. The relevant execution sequence is:
reset_fdc()armsdo_floppy = reset_interrupt.
- The FDC interrupt handler queues
reset_interruptthroughschedule_bh().
- Before that work executes,
unlock_fdc()ordo_wakeup()clearscont.
- The queued
reset_interrupt()function dereferences the now-NULLcontpointer.
- The kernel reports a NULL pointer dereference and executes an
Oops: 0000fault.
The captured trace identifies the workqueue as floppy floppy_work_workfn [floppy] and the crashing worker as kworker/u256:4. It also contains the messages floppy0: FDC access conflict!, floppy0: no cont in shutdown!, and floppy0: floppy_shutdown: timeout handler died.
Exposure depends on whether the target system includes and uses the legacy floppy driver. The supplied context does not establish a specific affected Linux kernel version range, a fixed commit SHA, or a list of stable-tree and distribution backports. The fix should therefore be confirmed against the kernel and distribution version deployed by the system owner.
Root cause
The defect is a race involving an asynchronously scheduled callback and a separate state-clearing path. It is best characterized as a use-after-clear or time-of-check-to-time-of-use condition affecting the cont function pointer. The defect does not originate from malformed network input or from a remotely exposed parser; it arises from internal transitions in the floppy controller state machine.
The upstream correction is intentionally limited. It avoids dereferencing cont when it is already NULL after result() has drained the FDC. The advisory characterizes this as a defensive fix for stale work rather than a redesign of the floppy continuation state machine.
Exploitability and impact
The report confirms that the same NULL dereference was reported by syzbot on upstream Linux, demonstrating that the condition is reachable through fuzzing. No public exploit, proof of concept, malware reference, or evidence of exploitation in the wild is included in the supplied material.
The realistic consequence is loss of kernel availability: an oops may terminate the affected kernel thread, destabilize the system, or cause a panic depending on kernel configuration and operational policy. The source does not establish a path to privilege escalation, controlled memory writes, or data corruption. On systems that expose floppy device nodes to unprivileged users, local access to the relevant interface may be relevant, but the precise access requirements are not specified by the advisory.
Because this is a legacy peripheral driver rather than a routinely exposed network service, the affected surface is comparatively narrow. Nevertheless, a kernel oops is operationally significant on systems where the driver remains enabled.
Mitigation
The upstream fix described in the advisory makes reset_interrupt() return early if cont is already NULL after result(). No commit SHA or distribution package reference is provided in the context, so the applicable upstream change and backport should be identified by the relevant Linux distribution or kernel vendor.
For systems that do not require floppy-controller support, removing the floppy module or building the kernel without it eliminates this driver path. On systems that require the driver, access to the floppy device interface can be limited to trusted processes while an appropriate kernel update is obtained. Kernel crash logs should be reviewed for reset_interrupt+0x3a/0xa0 [floppy], Workqueue: floppy floppy_work_workfn [floppy], and the associated FDC conflict or shutdown messages.
Expert insight
The important security property here is availability, not demonstrated code execution. The failure arises from stale asynchronous work surviving a change in the driver's continuation state. The defensive early return addresses that narrow lifetime mismatch without altering the broader state machine, which also limits the risk of introducing unrelated behavior changes.
The severity remains informational because the available evidence establishes a reproducible kernel crash in a legacy driver, but does not establish a remote attack path, reliable privilege escalation, exploitation in the wild, or broad deployment prevalence. The practical significance depends heavily on whether the floppy driver is present and reachable on the target host.
منابع
- git.kernel.org/stable/c/16478bcb833ad0b71c4036c17ef0b1dfab3b4787
- git.kernel.org/stable/c/25eb801eae91bc772d34fdc9386659c5ffd23a98
- git.kernel.org/stable/c/2fa35434a093d4c17768da07d90d3f8421ced7ba
- git.kernel.org/stable/c/57d79fea8480f6ab37907d109048b909a93e6b8a
- git.kernel.org/stable/c/62a9afb7d24e9e435d755d69499d8c5a0c1be622
- git.kernel.org/stable/c/7c82781039c03a3e47b70d3259f336adbb9d2692
- git.kernel.org/stable/c/bb991f72fe83c0be2d6a86c0299d4e8af3b61290
- git.kernel.org/stable/c/e79a2bb6c4a80eed38572d67e46e60bbb22cd3cd