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 1E1E24D6C36 for ; Thu, 17 Sep 2026 16:17:36 +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=1789661857; cv=none; b=XQvRU0P7YFt0BSqyIgaTQZ7Y1v+JhAYrBNsYPq4US+L7dXr5qvcmyRYwz5jL6SNJbOIhiHpCqoxQm+4sYxwVEabTARoAkGHUBAxcu/H+kmQijSHjJxmEpqTzzm+pjcTLELEJTBcR7IHhdvEYKqsF98GR/2hR4R5WOe9ju+gOkgI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789661857; c=relaxed/simple; bh=bJ/eZkxZykkG+9HiuWXzhIGxzm9Bi3M4Ob0p9/VF9IU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=H+pBOh7b4v57vGkSw/lHFdKeSYU1hQgucQ3cVPRYoszlEpNyLgX1YJxxeBz1PMgzqUx5u0G24oXnBP1bpPTPCWHKq566KyeAuA7e7/FLHi6CspDepAVFUSc2t7RGXokvxLWWORFs15pq9k7JACGZK9/IGVsUlX8Ogimb2laIKeY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=n2I3nxAz; 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="n2I3nxAz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 740961F000FF; Thu, 17 Sep 2026 16:17:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789661856; bh=ATOHPfA+by/2+z0SXAg/4kDZSx0Df/Z8oVbXtS00c44=; h=From:To:Cc:Subject:Date:Reply-To; b=n2I3nxAzn6Zb2Uk2QEfgSUe2mFOjXv/KNdDthx90hDFlBtphey+yeetFPKLfvt8V0 eb3MSn3A4tWTDwn9XU4nsfYCkSqyVk1QaQn8ypd1ulXpWaOJHDBNkflz2yr0F+nIMO zqAzUqgshBc6W4GhEG4td11C4WyhlAGqPhagQhSY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90158: m68k: nfcon: Do not call console_is_registered() in nfcon_device() Date: Thu, 17 Sep 2026 17:09:48 +0100 Message-ID: <2026091725-CVE-2026-90158-239a@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=2871; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+ryU7XBh/lHE630+hPnpCnMLL0jRwNMKHH4sZdmYI/I=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBCr/L/nsdSDpVHcKxxJ3Fq+c19uXiQivuD8pITKgY cp9jT9GHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRmCCGBYfWG2g3ThIQe8S1 ZoL/mSU1p71r+xgWHM1Pq9XM2rg779Xp8IxXMWuFNz5LBgA= 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: m68k: nfcon: Do not call console_is_registered() in nfcon_device() Since 7c2af0f634f1 ("tty: tty_io: use console_list_lock for list synchronization") show_cons_active() calls the .device() method under the console_list_lock, but console_is_registered() tries to acquire console_list_lock as well, causing a deadlock. It should not be necessary to check console_is_registered() here since the function should not be called in the fist place when the console is not registered. The Linux kernel CVE team has assigned CVE-2026-90158 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 7c2af0f634f1bc761ca827310dc7e8e586af502f and fixed in 6.6.157 with commit 7d3f15a664d115584fc177b5f2cfbdb3e5a50d60 Issue introduced in 6.2 with commit 7c2af0f634f1bc761ca827310dc7e8e586af502f and fixed in 6.12.110 with commit e5e11274b5512e24a346ed83f8dd85e3389d2f4b Issue introduced in 6.2 with commit 7c2af0f634f1bc761ca827310dc7e8e586af502f and fixed in 6.18.52 with commit be98f92fc244688a6bdecbc834cf2cd243056d9d Issue introduced in 6.2 with commit 7c2af0f634f1bc761ca827310dc7e8e586af502f and fixed in 7.2.6 with commit d73441232f1f067eb659e94447b1353c16609711 Issue introduced in 6.2 with commit 7c2af0f634f1bc761ca827310dc7e8e586af502f and fixed in 7.3-rc1 with commit 2f8e3cad53b5c36ab0ed5d3195bfc55c59ea61a5 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-90158 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: arch/m68k/emu/nfcon.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/7d3f15a664d115584fc177b5f2cfbdb3e5a50d60 https://git.kernel.org/stable/c/e5e11274b5512e24a346ed83f8dd85e3389d2f4b https://git.kernel.org/stable/c/be98f92fc244688a6bdecbc834cf2cd243056d9d https://git.kernel.org/stable/c/d73441232f1f067eb659e94447b1353c16609711 https://git.kernel.org/stable/c/2f8e3cad53b5c36ab0ed5d3195bfc55c59ea61a5