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 E545A4973B4 for ; Thu, 17 Sep 2026 16:26:19 +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=1789662381; cv=none; b=SSAp+LUoP+pKq8Dg2Hc3CQPdK/HyVj8JL9W4izT2DIM4SDpIBQV6Tqd2Pyc5wuBK7/0Qfu3gUGDA7LgzB01Uthv+PZ8HM/zWIZIKa0Kw1oWneQa/FqxJJzjPftPFKNJUL2ojcgTdQ8RRoB/DokgPg8gjm7KEAacz1Xd1c5B5wZw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662381; c=relaxed/simple; bh=jplaIhLWVoNModsj9v7zsWqgRV0qQm4sQbPwN3utB5s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TwAJNahqgNdPl2NLUl6t7k37H+gc8KnJqVXdHHeK7xsJbAFEKdM2ghtlmPbHJlgK0x3eAyKSPRPA3hLK2ONqT9cbxRzRmHRi6nvESvcLeXlFQhaUvYlVjx9cYA93YyHVRw7hAEdjIupN7aLFBs9Yfa4MEbsbNhvvN7JUfmrwGdI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=N/DyfMVH; 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="N/DyfMVH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4472E1F00893; Thu, 17 Sep 2026 16:26:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662379; bh=QJsjSUwM/em7XBxI6VVPkTrfKmwqmeL0EKljRyFxow8=; h=From:To:Cc:Subject:Date:Reply-To; b=N/DyfMVHsHpCPSh9Fipu2vcjzLUHtHkmP30b9pprUYvoz3x6D/frNEL+J8PwtbkUe 8aBb9t7MLS+FPeCqTPq5QobgX4NaH+EDrHsPh5SEYFQswEwFUZZkm0J4veaGKP8qUG mLrLYxhdHKutJRHmSgqP43KkuAzMtQ/cL/PR+NMw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90335: tty: skip cdev_del() when no cdev is registered Date: Thu, 17 Sep 2026 17:12:45 +0100 Message-ID: <2026091701-CVE-2026-90335-133c@gregkh> X-Mailer: git-send-email 2.55.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=2018; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+/e81KjXcRSTmd/UmUn9f//ud14hh9XUQctncmCnjhI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBOa6FwbwX/+/ylWph8ttx1Pmxy4TEpe9WCIqfNxrQ +2Bn7r/OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAia2MZ5sd19qVOa7ad8m+L sm/Gip2tsvcZOxnmmbYefiEnxFrod3bDdvWzv7/t/dlnCAA= 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: skip cdev_del() when no cdev is registered TTY device registration can fail before a cdev is allocated. Serial core keeps the port so setserial can still use it, and later removal passes the NULL cdev slot to cdev_del(), causing a NULL-pointer dereference. Only delete the cdev when the slot is not NULL. The Linux kernel CVE team has assigned CVE-2026-90335 to this issue. Affected and fixed versions =========================== Issue introduced in 4.3 with commit a3a10ce3429e5dee623ad5c8407ea58e204fcb0a and fixed in 7.2.6 with commit 3dbf85ef40b6366ba15e882f7536cdc98bea579a Issue introduced in 4.3 with commit a3a10ce3429e5dee623ad5c8407ea58e204fcb0a and fixed in 7.3-rc1 with commit c3b5623fd97648f2747444aa8932ae604662df93 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-90335 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_io.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/3dbf85ef40b6366ba15e882f7536cdc98bea579a https://git.kernel.org/stable/c/c3b5623fd97648f2747444aa8932ae604662df93