{"api_version":"1","generated_at":"2026-12-01T15:01:28+00:00","cve":"CVE-2026-139518","urls":{"html":"https://cve.report/CVE-2026-139518","api":"https://cve.report/api/cve/CVE-2026-139518.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139518","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139518"},"summary":{"title":"floppy: avoid NULL deref in reset_interrupt when cont is cleared","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfloppy: avoid NULL deref in reset_interrupt when cont is cleared\n\nreset_fdc() arms do_floppy = reset_interrupt; the IRQ handler then\nqueues that function via schedule_bh(). If unlock_fdc() or do_wakeup()\nclears cont before the work runs, reset_interrupt() dereferences a NULL\ncont and oopses.\n\nExample crash excerpt:\n\n[ 1070.468148] status=80\n[ 1070.468152] fdc_busy=1\n[ 1070.468158] cont=          (null)\n[ 1070.468161] current_req=          (null)\n[ 1070.468162] command_status=-1\n[ 1070.468163]\n[ 1070.557051] floppy0: floppy timeout called\n[ 1070.557053] no cont in shutdown!\n[ 1070.557056] floppy0: floppy_shutdown: timeout handler died.\n[ 1074.419509] floppy0: FDC access conflict!\n[ 1074.419782] BUG: unable to handle kernel NULL pointer dereference at\n0000000000000008\n[ 1074.421969] PGD 0 P4D 0\n[ 1074.422320] Oops: 0000 [#1] SMP NOPTI\n[ 1074.422648] CPU: 10 PID: 3269 Comm: kworker/u256:4 Kdump: loaded\n[ 1074.423830] Hardware name: inspur Standard PC (i440FX + PIIX, 1996),\nBIOS 0.0.0 02/06/2015\n[ 1074.424284] Workqueue: floppy floppy_work_workfn [floppy]\n[ 1074.424757] RIP: 0010:reset_interrupt+0x3a/0xa0 [floppy]\n\nThe same NULL deref has also been reported by syzbot on upstream.\n\nReturn early if cont is already NULL after result(). The hardware reset\nhas completed; result() still drains the FDC. A later request can lock\nthe FDC and reset again. This is a defensive fix for stale work, not a\nrewrite of the floppy continuation state machine.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:27","updated_at":"2026-11-30 14:19:27"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/7c82781039c03a3e47b70d3259f336adbb9d2692","name":"https://git.kernel.org/stable/c/7c82781039c03a3e47b70d3259f336adbb9d2692","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/57d79fea8480f6ab37907d109048b909a93e6b8a","name":"https://git.kernel.org/stable/c/57d79fea8480f6ab37907d109048b909a93e6b8a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/25eb801eae91bc772d34fdc9386659c5ffd23a98","name":"https://git.kernel.org/stable/c/25eb801eae91bc772d34fdc9386659c5ffd23a98","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e79a2bb6c4a80eed38572d67e46e60bbb22cd3cd","name":"https://git.kernel.org/stable/c/e79a2bb6c4a80eed38572d67e46e60bbb22cd3cd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/62a9afb7d24e9e435d755d69499d8c5a0c1be622","name":"https://git.kernel.org/stable/c/62a9afb7d24e9e435d755d69499d8c5a0c1be622","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/16478bcb833ad0b71c4036c17ef0b1dfab3b4787","name":"https://git.kernel.org/stable/c/16478bcb833ad0b71c4036c17ef0b1dfab3b4787","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bb991f72fe83c0be2d6a86c0299d4e8af3b61290","name":"https://git.kernel.org/stable/c/bb991f72fe83c0be2d6a86c0299d4e8af3b61290","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2fa35434a093d4c17768da07d90d3f8421ced7ba","name":"https://git.kernel.org/stable/c/2fa35434a093d4c17768da07d90d3f8421ced7ba","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139518","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139518","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 62a9afb7d24e9e435d755d69499d8c5a0c1be622 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 2fa35434a093d4c17768da07d90d3f8421ced7ba git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 e79a2bb6c4a80eed38572d67e46e60bbb22cd3cd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 bb991f72fe83c0be2d6a86c0299d4e8af3b61290 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 57d79fea8480f6ab37907d109048b909a93e6b8a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 16478bcb833ad0b71c4036c17ef0b1dfab3b4787 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 25eb801eae91bc772d34fdc9386659c5ffd23a98 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 7c82781039c03a3e47b70d3259f336adbb9d2692 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.12","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/block/floppy.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"62a9afb7d24e9e435d755d69499d8c5a0c1be622","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"2fa35434a093d4c17768da07d90d3f8421ced7ba","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"e79a2bb6c4a80eed38572d67e46e60bbb22cd3cd","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"bb991f72fe83c0be2d6a86c0299d4e8af3b61290","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"57d79fea8480f6ab37907d109048b909a93e6b8a","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"16478bcb833ad0b71c4036c17ef0b1dfab3b4787","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"25eb801eae91bc772d34fdc9386659c5ffd23a98","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"7c82781039c03a3e47b70d3259f336adbb9d2692","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/block/floppy.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.12"},{"lessThan":"2.6.12","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfloppy: avoid NULL deref in reset_interrupt when cont is cleared\n\nreset_fdc() arms do_floppy = reset_interrupt; the IRQ handler then\nqueues that function via schedule_bh(). If unlock_fdc() or do_wakeup()\nclears cont before the work runs, reset_interrupt() dereferences a NULL\ncont and oopses.\n\nExample crash excerpt:\n\n[ 1070.468148] status=80\n[ 1070.468152] fdc_busy=1\n[ 1070.468158] cont=          (null)\n[ 1070.468161] current_req=          (null)\n[ 1070.468162] command_status=-1\n[ 1070.468163]\n[ 1070.557051] floppy0: floppy timeout called\n[ 1070.557053] no cont in shutdown!\n[ 1070.557056] floppy0: floppy_shutdown: timeout handler died.\n[ 1074.419509] floppy0: FDC access conflict!\n[ 1074.419782] BUG: unable to handle kernel NULL pointer dereference at\n0000000000000008\n[ 1074.421969] PGD 0 P4D 0\n[ 1074.422320] Oops: 0000 [#1] SMP NOPTI\n[ 1074.422648] CPU: 10 PID: 3269 Comm: kworker/u256:4 Kdump: loaded\n[ 1074.423830] Hardware name: inspur Standard PC (i440FX + PIIX, 1996),\nBIOS 0.0.0 02/06/2015\n[ 1074.424284] Workqueue: floppy floppy_work_workfn [floppy]\n[ 1074.424757] RIP: 0010:reset_interrupt+0x3a/0xa0 [floppy]\n\nThe same NULL deref has also been reported by syzbot on upstream.\n\nReturn early if cont is already NULL after result(). The hardware reset\nhas completed; result() still drains the FDC. A later request can lock\nthe FDC and reset again. This is a defensive fix for stale work, not a\nrewrite of the floppy continuation state machine."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:35:29.499Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/62a9afb7d24e9e435d755d69499d8c5a0c1be622"},{"url":"https://git.kernel.org/stable/c/2fa35434a093d4c17768da07d90d3f8421ced7ba"},{"url":"https://git.kernel.org/stable/c/e79a2bb6c4a80eed38572d67e46e60bbb22cd3cd"},{"url":"https://git.kernel.org/stable/c/bb991f72fe83c0be2d6a86c0299d4e8af3b61290"},{"url":"https://git.kernel.org/stable/c/57d79fea8480f6ab37907d109048b909a93e6b8a"},{"url":"https://git.kernel.org/stable/c/16478bcb833ad0b71c4036c17ef0b1dfab3b4787"},{"url":"https://git.kernel.org/stable/c/25eb801eae91bc772d34fdc9386659c5ffd23a98"},{"url":"https://git.kernel.org/stable/c/7c82781039c03a3e47b70d3259f336adbb9d2692"}],"title":"floppy: avoid NULL deref in reset_interrupt when cont is cleared","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139518","datePublished":"2026-11-30T13:35:29.499Z","dateReserved":"2026-11-30T13:22:15.938Z","dateUpdated":"2026-11-30T13:35:29.499Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:27","lastModifiedDate":"2026-11-30 14:19:27","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139518","Ordinal":"1","Title":"floppy: avoid NULL deref in reset_interrupt when cont is cleared","CVE":"CVE-2026-139518","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139518","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nfloppy: avoid NULL deref in reset_interrupt when cont is cleared\n\nreset_fdc() arms do_floppy = reset_interrupt; the IRQ handler then\nqueues that function via schedule_bh(). If unlock_fdc() or do_wakeup()\nclears cont before the work runs, reset_interrupt() dereferences a NULL\ncont and oopses.\n\nExample crash excerpt:\n\n[ 1070.468148] status=80\n[ 1070.468152] fdc_busy=1\n[ 1070.468158] cont=          (null)\n[ 1070.468161] current_req=          (null)\n[ 1070.468162] command_status=-1\n[ 1070.468163]\n[ 1070.557051] floppy0: floppy timeout called\n[ 1070.557053] no cont in shutdown!\n[ 1070.557056] floppy0: floppy_shutdown: timeout handler died.\n[ 1074.419509] floppy0: FDC access conflict!\n[ 1074.419782] BUG: unable to handle kernel NULL pointer dereference at\n0000000000000008\n[ 1074.421969] PGD 0 P4D 0\n[ 1074.422320] Oops: 0000 [#1] SMP NOPTI\n[ 1074.422648] CPU: 10 PID: 3269 Comm: kworker/u256:4 Kdump: loaded\n[ 1074.423830] Hardware name: inspur Standard PC (i440FX + PIIX, 1996),\nBIOS 0.0.0 02/06/2015\n[ 1074.424284] Workqueue: floppy floppy_work_workfn [floppy]\n[ 1074.424757] RIP: 0010:reset_interrupt+0x3a/0xa0 [floppy]\n\nThe same NULL deref has also been reported by syzbot on upstream.\n\nReturn early if cont is already NULL after result(). The hardware reset\nhas completed; result() still drains the FDC. A later request can lock\nthe FDC and reset again. This is a defensive fix for stale work, not a\nrewrite of the floppy continuation state machine.","Type":"Description","Title":"floppy: avoid NULL deref in reset_interrupt when cont is cleared"}]}}}