From mboxrd@z Thu Jan 1 00:00:00 1970 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=1796289644; b=rf9Lu8BO8mR4CQlxRQl8ZhP3kMKZ/oCfwVw6VUv4ffvAIoaq+4EezF9qc0PJPnDnUQ6L nf3n+8tR0FczF+56eQdSX8D25GQTCgcBr4aYHK/vOCrPoVxQdA64SJSz/6AwZlcvi9C+8 8hsl4+7BYIBZhdpT/y6VqkXL026Q9th45R80mys2/Mq2EOV4pdHhbgAe4XbCGu8iO3ivO YY/E/efcoda45N+NwW+Lcj2tfZMOz0aa5+f4wif8MxHQu4uHyMlpz3YdlB4Z+gytdud7I BWvBLLv3jjH+UeUzsZOJSI50ONpboEoDuIBTM8WyvUiFSuGN0XvvWYjoQJyzLWuX7Ig== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796289644; 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=hyXlu9yFrFPQ71Gna67RMeLNcF17Oa6ZgEAjFZDai7k=; b=v90LKkIl2hiD299xjzIbpM2OzPoC/cFi0KCO/WR4eKV9xxAorkUVk+d5W4yYG/qwMIpP 195vI+rkizS6tusx1iCpw9OfSClTDU71UW7OXQcaYI4Mh/CgZ5m4ucy/emeh2bbBBbEr2 SdYOpf4dU7W9NTHYelkL7guO4+GGGSrYpM5oST5kZ/N2qxEcB+qK1r9v4UtcdQk0BQXDu RE7vFTgHt9Zrbs5UYY5eJ+e8a8YFQyHIiVQh7L/TjBvWt2yKvGWHkPuAqs8Res2TdDLZB KUuTVIvHlHTPgskYBpAlRBtz5B/irUxobe4dCjEJQ0s7X9dAXSPZahaJTHWwISlvQNg== 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=TgzLexxk; 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 D3811606A338 for ; Thu, 3 Dec 2026 09:20:44 +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=TgzLexxk Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E60F1F000C1; Thu, 3 Dec 2026 09:20:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796289644; bh=hyXlu9yFrFPQ71Gna67RMeLNcF17Oa6ZgEAjFZDai7k=; h=From:To:Cc:Subject:Date:Reply-To; b=TgzLexxkP83WjQ3UGlLyH4/xYiP18B3s+Hbi5X93diaYkNurM3qylaStM2cTl5Lyj YXTB5dhaLb43l6pVKr4k45NCBFJ4zAQ5f81/6ORJoMh0ujMoeXPNpmrpKSbY8EbhzG Hg4E1l6W0m2kffH0WBc9xm4/a66ZV8UYDH0J7hRQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-142997: serial: imx: fix the tty reference of the wakeup event Date: Thu, 3 Dec 2026 10:17:13 +0100 Message-ID: <2026120336-CVE-2026-142997-e57a@gregkh> X-Mailer: git-send-email 2.56.1 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=1961; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=BfBc1Qw9bXudxmB/1THmO025nVuzreAkdq0JLhoev8A=; b=owGbwMvMwCRo6H6F97bub03G02pJDNmCxqWNVlKeVjfzxV5N+/DIb+13TlFV44azs7acE87d4 xT7myG8I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZiHcQwT/Ha5S3MMk0Lrt7K sI9flHfkYtRnI4YFB11SwpkT3c9sfd6wlU3GKOIdk9JmAA== 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: imx: fix the tty reference of the wakeup event To report a wakeup event, imx_uart_enable_wakeup() gets the tty with tty_port_tty_get() and never puts it: each wakeup by the UART leaks a reference, and the tty is not freed when it is closed. The Linux kernel CVE team has assigned CVE-2026-142997 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 0cfadf4bcd283de6d5cb06748dfb1d65e993dbf9 and fixed in 7.3.7 with commit f0617addedb05c2e917508e26bbebc48c1fdfb9b Issue introduced in 6.19 with commit 0cfadf4bcd283de6d5cb06748dfb1d65e993dbf9 and fixed in 7.4-rc4 with commit 6d7fbd5a28d092ab61ec0092cf1e085d2bb9ed7e 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-142997 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/imx.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/f0617addedb05c2e917508e26bbebc48c1fdfb9b https://git.kernel.org/stable/c/6d7fbd5a28d092ab61ec0092cf1e085d2bb9ed7e