Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795099896; b=xEUmmT224ZjDu0gRGYES95BKDAqp9SL6PKdRViFrKIF3+XGRuIwyO7IpxiIVhZE91zZC 3us19AnC2rGGgBkI0tJC173SERO+SqZxJlvGGa2khLmiLaWTl5RlmbPmuKj9HjVuWx/i8 mKhRWgs2IyCGvRSvTeQIwbl0XHtK9ZuyhWcBdO+WirSuDt4yv/68b9aLODj7avvQYLKbj 5msXMQ93xauyfcUxKizyyw2bH0nrD3/2D5nZFd5xWJ/vF7aAmX+r+efbNeTvtF3YXK/XT iK9ut1t7ikTmVNW3m3PE+baBpygHrMiDhcc3UE8OAZzStOtvkglZv+LSy919dyOe/Kg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099896; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=63Ofpgv18VtFz/DIZHvHjZ8xZeJvEcLyUbzRj7QGdOk=; b=tb1fj7P5vIzzQaW2RxJPH37VlOHoqQCCVi8pfmnDl3RNrc7bZu4QC2HMYZW+XudfAyBP ztnlkScAQpxtVaysiZ9FdWaqLDwXHgMVhvxyctyBQU+eVsSRwFLJ3ldi9yR5GVHfPohAD m5zsn7Rz4tG8zSpsVE8U8FDpTDq8ZtTEluxpVhNbxvW5hTeAIroKZGZNQPLA1L7oJQtvH 2FB2vLvtOahv7Bujairz3bdj9oDH1mRggqahV1oBq+9yFdimDIipQ2KUI2Q07FYP/bz5G CXME3hmqhY6XX/y98LNxmOPt7y5CUqWYxpj3Y9hd9LkrAS1ttuU12FzuZRiuxGWKpRQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=uhUgRkRI; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7D282606A333 for ; Thu, 19 Nov 2026 14:51:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=uhUgRkRI Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7D611F000C9; Thu, 19 Nov 2026 14:51:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099896; bh=63Ofpgv18VtFz/DIZHvHjZ8xZeJvEcLyUbzRj7QGdOk=; h=From:To:Cc:Subject:Date:Reply-To; b=uhUgRkRITu4+znpz8LGfd+K1Kbg2ZODZzj5W2XAsZR7ZAp427aCMd04PMId/mIBa4 /GF0LeWEff42fpmQJIUsQdwtoC+yStLW26iy3+pDKoY/MDQiOzyyZj7HFnr4LkyzyO mC8lonaZbORX7OHQxcCuHThW95lcYaX90Qcf7tws= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99455: serial: core: shut down initialized port on removal Date: Thu, 19 Nov 2026 15:25:53 +0100 Message-ID: <2026111907-CVE-2026-99455-6d8e@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3555; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=tCwD9g0jHcyEnvorgbWEfMNYm4w4knvE8yIzFur3Heg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2drvnnmueuLLZvOuqatiRJw3vIg4arOR0yzZimt1r dlbrt/vOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAitxUYFhws4U9T22gVNumB 5e6XmzoXCAYrFDPMD7E9ZKp444nC/PyNvnXmvjvDvohxAgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: serial: core: shut down initialized port on removal When a serial port configured as a console is opened and subsequently closed, tty_port_shutdown() skips invoking port->ops->shutdown() because port->console is true. As a result, tty_port_initialized() remains true and the port's interrupt handler stays registered in the irq subsystem. If the underlying device is later unbound or removed (e.g. via sysfs driver unbind or device hot-unplug), serial_core_remove_one_port() unregisters the console, frees uport->name via kfree(), and tears down the port without shutting it down or freeing its IRQ. Consequently, the irqaction descriptor remains registered in genirq with action->name pointing to freed memory. This triggers a use-after-free read whenever genirq accesses action->name, such as when reading /proc/interrupts: BUG: KASAN: slab-use-after-free in string+0x476/0x570 Call Trace: string+0x476/0x570 vsnprintf+0x422/0x1300 seq_printf+0x... show_interrupts+... Fix this by acquiring port->mutex in serial_core_remove_one_port() after console unregistration, clearing port->console under the mutex to prevent data races with concurrent tty_port_shutdown(), and invoking uart_shutdown(NULL, state) if the port remains initialized. This ensures that port->ops->shutdown() is called and the IRQ is freed before kfree(uport->name). The Linux kernel CVE team has assigned CVE-2026-99455 to this issue. Affected and fixed versions =========================== Issue introduced in 4.9 with commit 761ed4a94582ab291aa24dcbea4e01e8936488c8 and fixed in 6.12.117 with commit b05d5ed61e84ad15536e4e51db79a1d1c221c6f1 Issue introduced in 4.9 with commit 761ed4a94582ab291aa24dcbea4e01e8936488c8 and fixed in 6.18.61 with commit 0f332cce4d592d751aad89b404f68463099167c8 Issue introduced in 4.9 with commit 761ed4a94582ab291aa24dcbea4e01e8936488c8 and fixed in 7.3.2 with commit 928335263daf58e8c0e14d860091e57791693ea0 Issue introduced in 4.9 with commit 761ed4a94582ab291aa24dcbea4e01e8936488c8 and fixed in 7.4-rc1 with commit 810d467c11f0c85107874d08dfdd11acba6aa0c0 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-99455 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/tty/serial/serial_core.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/b05d5ed61e84ad15536e4e51db79a1d1c221c6f1 https://git.kernel.org/stable/c/0f332cce4d592d751aad89b404f68463099167c8 https://git.kernel.org/stable/c/928335263daf58e8c0e14d860091e57791693ea0 https://git.kernel.org/stable/c/810d467c11f0c85107874d08dfdd11acba6aa0c0