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 EE82B49739F for ; Thu, 17 Sep 2026 16:26:16 +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=1789662378; cv=none; b=rZWqfoEVNqybZebbQ3C3BYJd6n4bTE1nWTMXC31qcL1MTvd7WO7ne8ydHfDJYaBVDtdRz6ZP8cmTrgIN4Tp716YJHq5FXZGBbyec8CO/HAjbm7zLBJ5dGIcp9f9SOdisP5uUf6Ou/cyQg5DpU7MqBY7Kz/eMuviyWA7el0OUiNo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662378; c=relaxed/simple; bh=5ekgBQLuiS4a+PnlkuPh5VwtVeKpCy/0YUvGdQc2M64=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=i5fYYWqWoCUpIR6qm8Gx2AFbN9JMfPkHS9DtYJ56syPsAAXnHdvMjjzTTitLuS6Kvu5bK5Sg3zO6oO+qLcwuEB/6WS9zRjN+VCglszjfCZNLsPI9R241nUOp7w2KXhc7KOgxSK9hejSPSX6ThaPqni7zEwR8ob59htSBVH1KkVg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pxlU6F+I; 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="pxlU6F+I" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B3DA1F00893; Thu, 17 Sep 2026 16:26:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662376; bh=5ZcR2MgsDuzZGycizjy/p3+I1ynaIpjgjhsCtdVI+kE=; h=From:To:Cc:Subject:Date:Reply-To; b=pxlU6F+Iz5lShed45DLEGvVKyPmAA2P/b2pxwqPlggus1XbwPwcwZE0VBuwI7ywvB Tcv3ThpYhbI74NZpQYYEap1v1YznXRwizLnklzSD++JuUB3rKNlPmQWoi1DKq5pmsB YpaWt0UOoV2/teBfE75edMYjfcSLusLRB5zSmk9g= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90334: tty: clear cdev pointer after cdev_add() failure Date: Thu, 17 Sep 2026 17:12:44 +0100 Message-ID: <2026091701-CVE-2026-90334-cd95@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=3391; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=blzQTyWtW63w/hjtVxyC3yLQqN9XZWezm79J3ou3Du8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBObOZa51m3HTMlekYY3z36r9aQLHdZVuSqjUlEdqK jOuS5/fEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNZuoFhQdsNpvUrvVn/PJ3c PVns7BNvntdtZxkWHPA7ITfjIZ9coNy9X5w7Gn/9UDq8AQA= 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: clear cdev pointer after cdev_add() failure tty_cdev_add() drops the cdev reference when cdev_add() fails, but leaves driver->cdevs[index] pointing to freed memory. tty_unregister_device() later passes that stale pointer to cdev_del(), causing a use-after-free. Clear the slot after dropping the reference. The Linux kernel CVE team has assigned CVE-2026-90334 to this issue. Affected and fixed versions =========================== Issue introduced in 4.3 with commit c1a752ba2d6b8a52879c7ab637cff38359ea9827 and fixed in 5.10.270 with commit fb1de260033c215dba438973d82b48562bdc86bb Issue introduced in 4.3 with commit c1a752ba2d6b8a52879c7ab637cff38359ea9827 and fixed in 5.15.221 with commit e9e64dd02fd68776afda00777591eca0c3984285 Issue introduced in 4.3 with commit c1a752ba2d6b8a52879c7ab637cff38359ea9827 and fixed in 6.1.188 with commit 33a44333a9dfda044b0e233399b12ead7f8a90ae Issue introduced in 4.3 with commit c1a752ba2d6b8a52879c7ab637cff38359ea9827 and fixed in 6.6.157 with commit d331c63570af61ef7aaf516b64a8d6f47518a3a4 Issue introduced in 4.3 with commit c1a752ba2d6b8a52879c7ab637cff38359ea9827 and fixed in 6.12.110 with commit a83fcddf3c75d004f12aa13555bb73da19fb75a9 Issue introduced in 4.3 with commit c1a752ba2d6b8a52879c7ab637cff38359ea9827 and fixed in 6.18.52 with commit 4f6bd79bb7e55095f09bec9b4eb6c09df1306116 Issue introduced in 4.3 with commit c1a752ba2d6b8a52879c7ab637cff38359ea9827 and fixed in 7.2.6 with commit 5c5a795bf6248fe96f96dd9fd79d66bbb4a92077 Issue introduced in 4.3 with commit c1a752ba2d6b8a52879c7ab637cff38359ea9827 and fixed in 7.3-rc1 with commit 6645856f0df3aeecd45519cb611415b4b89c2223 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-90334 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/fb1de260033c215dba438973d82b48562bdc86bb https://git.kernel.org/stable/c/e9e64dd02fd68776afda00777591eca0c3984285 https://git.kernel.org/stable/c/33a44333a9dfda044b0e233399b12ead7f8a90ae https://git.kernel.org/stable/c/d331c63570af61ef7aaf516b64a8d6f47518a3a4 https://git.kernel.org/stable/c/a83fcddf3c75d004f12aa13555bb73da19fb75a9 https://git.kernel.org/stable/c/4f6bd79bb7e55095f09bec9b4eb6c09df1306116 https://git.kernel.org/stable/c/5c5a795bf6248fe96f96dd9fd79d66bbb4a92077 https://git.kernel.org/stable/c/6645856f0df3aeecd45519cb611415b4b89c2223