{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "761ed4a94582ab291aa24dcbea4e01e8936488c8"
            },
            {
              "fixed": "b05d5ed61e84ad15536e4e51db79a1d1c221c6f1"
            },
            {
              "fixed": "0f332cce4d592d751aad89b404f68463099167c8"
            },
            {
              "fixed": "928335263daf58e8c0e14d860091e57791693ea0"
            },
            {
              "fixed": "810d467c11f0c85107874d08dfdd11acba6aa0c0"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.9.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.61"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99455.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nserial: core: shut down initialized port on removal\n\nWhen a serial port configured as a console is opened and subsequently\nclosed, tty_port_shutdown() skips invoking port-\u003eops-\u003eshutdown() because\nport-\u003econsole is true. As a result, tty_port_initialized() remains true\nand the port's interrupt handler stays registered in the irq subsystem.\n\nIf the underlying device is later unbound or removed (e.g. via sysfs\ndriver unbind or device hot-unplug), serial_core_remove_one_port()\nunregisters the console, frees uport-\u003ename via kfree(), and tears down\nthe port without shutting it down or freeing its IRQ. Consequently, the\nirqaction descriptor remains registered in genirq with action-\u003ename\npointing to freed memory.\n\nThis triggers a use-after-free read whenever genirq accesses action-\u003ename,\nsuch as when reading /proc/interrupts:\n\n  BUG: KASAN: slab-use-after-free in string+0x476/0x570\n  Call Trace:\n   string+0x476/0x570\n   vsnprintf+0x422/0x1300\n   seq_printf+0x...\n   show_interrupts+...\n\nFix this by acquiring port-\u003emutex in serial_core_remove_one_port() after\nconsole unregistration, clearing port-\u003econsole under the mutex to prevent\ndata races with concurrent tty_port_shutdown(), and invoking\nuart_shutdown(NULL, state) if the port remains initialized. This ensures\nthat port-\u003eops-\u003eshutdown() is called and the IRQ is freed before\nkfree(uport-\u003ename).",
  "id": "CVE-2026-99455",
  "modified": "2026-11-19T16:46:12.277967708Z",
  "published": "2026-11-19T14:41:55.354Z",
  "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/0f332cce4d592d751aad89b404f68463099167c8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/810d467c11f0c85107874d08dfdd11acba6aa0c0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/928335263daf58e8c0e14d860091e57791693ea0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b05d5ed61e84ad15536e4e51db79a1d1c221c6f1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99455.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99455"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "serial: core: shut down initialized port on removal"
}