{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2"
            },
            {
              "fixed": "62a9afb7d24e9e435d755d69499d8c5a0c1be622"
            },
            {
              "fixed": "2fa35434a093d4c17768da07d90d3f8421ced7ba"
            },
            {
              "fixed": "e79a2bb6c4a80eed38572d67e46e60bbb22cd3cd"
            },
            {
              "fixed": "bb991f72fe83c0be2d6a86c0299d4e8af3b61290"
            },
            {
              "fixed": "57d79fea8480f6ab37907d109048b909a93e6b8a"
            },
            {
              "fixed": "16478bcb833ad0b71c4036c17ef0b1dfab3b4787"
            },
            {
              "fixed": "25eb801eae91bc772d34fdc9386659c5ffd23a98"
            },
            {
              "fixed": "7c82781039c03a3e47b70d3259f336adbb9d2692"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.12"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139518.json"
  },
  "details": "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.",
  "id": "CVE-2026-139518",
  "modified": "2026-11-30T14:45:45.192917794Z",
  "published": "2026-11-30T13:35:29.499Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/16478bcb833ad0b71c4036c17ef0b1dfab3b4787"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/25eb801eae91bc772d34fdc9386659c5ffd23a98"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2fa35434a093d4c17768da07d90d3f8421ced7ba"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/57d79fea8480f6ab37907d109048b909a93e6b8a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/62a9afb7d24e9e435d755d69499d8c5a0c1be622"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7c82781039c03a3e47b70d3259f336adbb9d2692"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bb991f72fe83c0be2d6a86c0299d4e8af3b61290"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e79a2bb6c4a80eed38572d67e46e60bbb22cd3cd"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139518.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139518"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "floppy: avoid NULL deref in reset_interrupt when cont is cleared"
}