# CVE-2026-139518: floppy: avoid NULL deref in reset\_interrupt when cont is cleared

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-11-30T13:35:29.499Z
- **Modified:** 2026-11-30T14:19:27.970Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 62a9afb7d24e9e435d755d69499d8c5a0c1be622; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2fa35434a093d4c17768da07d90d3f8421ced7ba; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e79a2bb6c4a80eed38572d67e46e60bbb22cd3cd; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< bb991f72fe83c0be2d6a86c0299d4e8af3b61290; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 57d79fea8480f6ab37907d109048b909a93e6b8a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 16478bcb833ad0b71c4036c17ef0b1dfab3b4787; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 25eb801eae91bc772d34fdc9386659c5ffd23a98; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7c82781039c03a3e47b70d3259f336adbb9d2692
- Anyone running Linux 2.6.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

floppy: avoid NULL deref in reset\_interrupt when cont is cleared

reset\_fdc() arms do\_floppy = reset\_interrupt; the IRQ handler then
queues that function via schedule\_bh(). If unlock\_fdc() or do\_wakeup()
clears cont before the work runs, reset\_interrupt() dereferences a NULL
cont and oopses.

Example crash excerpt:

\[ 1070.468148\] status=80
\[ 1070.468152\] fdc\_busy=1
\[ 1070.468158\] cont=          (null)
\[ 1070.468161\] current\_req=          (null)
\[ 1070.468162\] command\_status=-1
\[ 1070.468163\]
\[ 1070.557051\] floppy0: floppy timeout called
\[ 1070.557053\] no cont in shutdown!
\[ 1070.557056\] floppy0: floppy\_shutdown: timeout handler died.
\[ 1074.419509\] floppy0: FDC access conflict!
\[ 1074.419782\] BUG: unable to handle kernel NULL pointer dereference at
0000000000000008
\[ 1074.421969\] PGD 0 P4D 0
\[ 1074.422320\] Oops: 0000 \[\#1\] SMP NOPTI
\[ 1074.422648\] CPU: 10 PID: 3269 Comm: kworker/u256:4 Kdump: loaded
\[ 1074.423830\] Hardware name: inspur Standard PC (i440FX + PIIX, 1996),
BIOS 0.0.0 02/06/2015
\[ 1074.424284\] Workqueue: floppy floppy\_work\_workfn \[floppy\]
\[ 1074.424757\] RIP: 0010:reset\_interrupt+0x3a/0xa0 \[floppy\]

The same NULL deref has also been reported by syzbot on upstream.

Return early if cont is already NULL after result(). The hardware reset
has completed; result() still drains the FDC. A later request can lock
the FDC and reset again. This is a defensive fix for stale work, not a
rewrite of the floppy continuation state machine.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 62a9afb7d24e9e435d755d69499d8c5a0c1be622; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2fa35434a093d4c17768da07d90d3f8421ced7ba; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e79a2bb6c4a80eed38572d67e46e60bbb22cd3cd; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< bb991f72fe83c0be2d6a86c0299d4e8af3b61290; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 57d79fea8480f6ab37907d109048b909a93e6b8a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 16478bcb833ad0b71c4036c17ef0b1dfab3b4787; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 25eb801eae91bc772d34fdc9386659c5ffd23a98; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7c82781039c03a3e47b70d3259f336adbb9d2692 (cvelist)
- Linux: 2.6.12 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 7c82781039c03a3e47b70d3259f336adbb9d2692 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-139518. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139518.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 62a9afb7d24e9e435d755d69499d8c5a0c1be622; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2fa35434a093d4c17768da07d90d3f8421ced7ba; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e79a2bb6c4a80eed38572d67e46e60bbb22cd3cd; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 62a9afb7d24e9e435d755d69499d8c5a0c1be622, Linux 2fa35434a093d4c17768da07d90d3f8421ced7ba, Linux 57d79fea8480f6ab37907d109048b909a93e6b8a, Linux 16478bcb833ad0b71c4036c17ef0b1dfab3b4787, Linux 25eb801eae91bc772d34fdc9386659c5ffd23a98, Linux 7c82781039c03a3e47b70d3259f336adbb9d2692

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-139518 being exploited?

There is no confirmed exploitation: CVE-2026-139518 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-139518?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-139518?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 62a9afb7d24e9e435d755d69499d8c5a0c1be622; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2fa35434a093d4c17768da07d90d3f8421ced7ba; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e79a2bb6c4a80eed38572d67e46e60bbb22cd3cd; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< bb991f72fe83c0be2d6a86c0299d4e8af3b61290; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 57d79fea8480f6ab37907d109048b909a93e6b8a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 16478bcb833ad0b71c4036c17ef0b1dfab3b4787; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 25eb801eae91bc772d34fdc9386659c5ffd23a98; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7c82781039c03a3e47b70d3259f336adbb9d2692; Linux 2.6.12.

### Is there a fix for CVE-2026-139518?

Yes. Fixed in Linux 62a9afb7d24e9e435d755d69499d8c5a0c1be622, Linux 2fa35434a093d4c17768da07d90d3f8421ced7ba, Linux 57d79fea8480f6ab37907d109048b909a93e6b8a, Linux 16478bcb833ad0b71c4036c17ef0b1dfab3b4787, Linux 25eb801eae91bc772d34fdc9386659c5ffd23a98, Linux 7c82781039c03a3e47b70d3259f336adbb9d2692. Upgrade Linux to 7c82781039c03a3e47b70d3259f336adbb9d2692 or later.

### How do I check if I'm affected by CVE-2026-139518?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/62a9afb7d24e9e435d755d69499d8c5a0c1be622>
- other: <https://git.kernel.org/stable/c/2fa35434a093d4c17768da07d90d3f8421ced7ba>
- other: <https://git.kernel.org/stable/c/e79a2bb6c4a80eed38572d67e46e60bbb22cd3cd>
- other: <https://git.kernel.org/stable/c/bb991f72fe83c0be2d6a86c0299d4e8af3b61290>
- other: <https://git.kernel.org/stable/c/57d79fea8480f6ab37907d109048b909a93e6b8a>
- other: <https://git.kernel.org/stable/c/16478bcb833ad0b71c4036c17ef0b1dfab3b4787>
- other: <https://git.kernel.org/stable/c/25eb801eae91bc772d34fdc9386659c5ffd23a98>
- other: <https://git.kernel.org/stable/c/7c82781039c03a3e47b70d3259f336adbb9d2692>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-139518>

HTML: <https://flawdb.com/CVE-2026-139518> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-139518>
