Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 97DBB3C3F51 for ; Sun, 18 Oct 2026 16:09:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792339749; cv=none; b=NeYunBMZgP4pR8sS/gUuSDLuRqAcnAgVMQdDlFtoTovCmqDn8RGWSPEH0iZU9CWVSzcKV3QqPQNVK+2G7JtUhcimhNzs3eQpaAPIgn2kCA4Vp+nDVvnjBy20IldBrVyCoZzV9b0smqtMJgbutqLbeb7SUVIWXHXVURIDCds4rII= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792339749; c=relaxed/simple; bh=FnFXqXOjrClJQfeuTd7HVDy/xUk4Wmn+fz6HkBomqAM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CpH0+dB5VTspCa2RrL2vSdmhOTaC4xNSx2CGIBRa20PLipRl7GktLQEOSqYZts9d98QtmBL/eulwDZ5mn/ChgMfKMLHxvFA0wexhjZCoIi4Y0TU7LN4G2JBYKrCLHuKqerWsCPGIw5CnoZEn5Y7Z2op2Gw9HFidmv74WgIhaPf8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=p2yjK+IF; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="p2yjK+IF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 685DE1F000C4; Sun, 18 Oct 2026 16:09:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792339742; bh=7Zro6kNIAHXWrq79tJP+4ZCluhu7RZ/XqikOz2O9ZNY=; h=From:To:Cc:Subject:Date:Reply-To; b=p2yjK+IFyRhKEpO+F/pksBw05IBmF/Z35+kXOW+JzHUME6dDywHDhJuiIm2kF1A4Q 9Rl1HkS3BIpFvo+0/r02tSnp1f4+lxLSXMqbq+gkDF+/hUdRaatp1YKlmCuC794UdH AmhiWp/C0oVASe2H/lgrCH8mzOcgVxtpkoQtnFp0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98753: tty: tty_port: restore TTY_IO_ERROR on activation failure Date: Sun, 18 Oct 2026 17:45:28 +0200 Message-ID: <2026101815-CVE-2026-98753-0849@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2733; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=XOiq9RJ3xJB0iQ98xnxsmiSgA72AbinW0ITn/v3czgE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXXvofC536Xamn5t3Kj008EYxz+az4chWzGN6wT/Auc 41YujWyI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaivIRhwdQt/xWnFutJlEYe SSlaq+v03HXFOYa5EnfztOsXe6demLhoXU6d4iwdAcF2AA== 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: tty: tty_port: restore TTY_IO_ERROR on activation failure Make sure to restore the TTY_IO_ERROR flag if activation fails to prevent I/O attempts on a port that is gone or powered down. This specifically avoids issues like kernel panic due to unclocked accesses or NULL-pointer dereferences when accessing powered down or deregistered ports when a TTY ioctl races with hangup and open. Note that the flag is set again in tty_port_close() but not restoring it on activation failure leaves a window where drivers fail to handle the ioctl-hangup race. The Linux kernel CVE team has assigned CVE-2026-98753 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.33 with commit a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 and fixed in 6.12.113 with commit 34d4f67472ef7a744970b772a8565ddc727788e2 Issue introduced in 2.6.33 with commit a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 and fixed in 6.18.56 with commit 7021acc84c2e0add77a1a33152e3a1e428fdbfdb Issue introduced in 2.6.33 with commit a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 and fixed in 7.2.10 with commit 6388409b711eb91b14fa075a4d861ccc4df1cfe7 Issue introduced in 2.6.33 with commit a9a37ec33a1b3e66b260ac1c29bff0aec8b89ae4 and fixed in 7.3-rc6 with commit 56964f6a31238fb41d5830bb42520c5b10ff7d8f 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-98753 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/tty_port.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/34d4f67472ef7a744970b772a8565ddc727788e2 https://git.kernel.org/stable/c/7021acc84c2e0add77a1a33152e3a1e428fdbfdb https://git.kernel.org/stable/c/6388409b711eb91b14fa075a4d861ccc4df1cfe7 https://git.kernel.org/stable/c/56964f6a31238fb41d5830bb42520c5b10ff7d8f