CVE-2026-139518
publishedfloppy: avoid NULL deref in reset_interrupt when cont is cleared
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 62a9afb7d24e9e435d755d69499d8c5a0c1be622 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2fa35434a093d4c17768da07d90d3f8421ced7ba · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < e79a2bb6c4a80eed38572d67e46e60bbb22cd3cd · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < bb991f72fe83c0be2d6a86c0299d4e8af3b61290 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 57d79fea8480f6ab37907d109048b909a93e6b8a · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 16478bcb833ad0b71c4036c17ef0b1dfab3b4787 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 25eb801eae91bc772d34fdc9386659c5ffd23a98 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7c82781039c03a3e47b70d3259f336adbb9d2692 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 62a9afb7d24e9e435d755d69499d8c5a0c1be622 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2fa35434a093d4c17768da07d90d3f8421ced7ba (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < e79a2bb6c4a80eed38572d67e46e60bbb22cd3cd (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < bb991f72fe83c0be2d6a86c0299d4e8af3b61290 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 57d79fea8480f6ab37907d109048b909a93e6b8a (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 16478bcb833ad0b71c4036c17ef0b1dfab3b4787 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 25eb801eae91bc772d34fdc9386659c5ffd23a98 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7c82781039c03a3e47b70d3259f336adbb9d2692 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/16478bcb833ad0b71c4036c17ef0b1dfab3b4787
- https://git.kernel.org/stable/c/25eb801eae91bc772d34fdc9386659c5ffd23a98
- https://git.kernel.org/stable/c/2fa35434a093d4c17768da07d90d3f8421ced7ba
- https://git.kernel.org/stable/c/57d79fea8480f6ab37907d109048b909a93e6b8a
- https://git.kernel.org/stable/c/62a9afb7d24e9e435d755d69499d8c5a0c1be622
- https://git.kernel.org/stable/c/7c82781039c03a3e47b70d3259f336adbb9d2692
- https://git.kernel.org/stable/c/bb991f72fe83c0be2d6a86c0299d4e8af3b61290
- https://git.kernel.org/stable/c/e79a2bb6c4a80eed38572d67e46e60bbb22cd3cd
Provider assertions
1Linux · cna
floppy: avoid NULL deref in reset_interrupt when cont is cleared
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 902846bf4f33a6386dd57bf68ed297dea96be66cc73413a0fcb1767db61e3338
- Ingested
- 30 Nov 2026, 13:42:24 UTC
- Source record
- Official CVE record