{"id":"AZL-114908","summary":"CVE-2026-99455 affecting package kernel 6.6.161.1-1","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).","modified":"2026-11-20T14:17:30.793480051Z","published":"2026-11-19T15:17:59Z","upstream":["CVE-2026-99455"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99455"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-114908.json"}}],"schema_version":"1.9.2"}