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 2A76D3C1F22 for ; Sat, 22 Aug 2026 15:37:53 +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=1787413074; cv=none; b=cklJfqWC139Kcq4Pc8VkuHGR/fwaKvIN9yF9gn8dkmvll7J2WhuYk/4qL0XJZbkS2qpweJP7NmzTNtZZE+gRKHyf+Oxh+d7IrENDUmolF0FsXqVoTufAls3M/y/B7jGbcZI+i2Sa72weBI60+QAXeHPYt4oRjuqlCosz4Vzvo0M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787413074; c=relaxed/simple; bh=rMyRdaJYVmcFtwY8QsxhMeO/zp/xZnmbJ4T3kh7Ofyk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mlSO45mrXWqbylUd8omMZQa85rXA3K5fhWPvI3g6Epcfs7qDMqzfZnGspzNijc1jNPVvEOzMSyhdgIzXrvFCwTPqGaw5FFFnYNgY2TQuLnVlMQF7ry4gyZ+YDTI81/voUmQZ/UEZURRz2CkkQkEnDfzGCzqQrxdouq08gNGFra0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OC+3qo6u; 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="OC+3qo6u" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 83B111F000E9; Sat, 22 Aug 2026 15:37:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787413073; bh=0TcFVrwR6H5Ctuc5wqiQYqf/plBuTy5+Fnh6IQiNQL8=; h=From:To:Cc:Subject:Date:Reply-To; b=OC+3qo6uZuO4ituP1l+HrfTGn7OtB/Omr8XqUGVl4bQUsTPXFCWa7uA4vJH2QZ08O qDFhhlkRs3gkvTZavIUt1A5VK+npsTtVeasQTDQK5L4rQBEQEpDLLjgd6084slEzqL 371mLy/YD4/hew1Js05rob5LYsO0j7uHBI7GWG5I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74675: vt: stabilize tty reference in kbd_keycode with tty_port_tty_get Date: Sat, 22 Aug 2026 17:32:39 +0200 Message-ID: <2026082230-CVE-2026-74675-fffa@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=2747; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YxzYyDJbPwIczN3dfC0vz00sowqxtra7Q/Q9ApcZM9s=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmdBy6lMT0WafCyXZA1x9G4Sy92pbdtR3+JUs2rGZYRE w2yo490xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwESu2TLM4Wu7eaDmq6/eFufT 6zjn6H3kX3/vEsN8D8GljE+7Zf9E7xGVurL71MMN4vkTAQ== 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: vt: stabilize tty reference in kbd_keycode with tty_port_tty_get kbd_keycode() reads vc->port.tty without acquiring a tty reference, racing against con_shutdown() which clears port.tty under a different lock. Use tty_port_tty_get()/tty_kref_put() to hold a proper reference for the duration the tty pointer is needed. The Linux kernel CVE team has assigned CVE-2026-74675 to this issue. Affected and fixed versions =========================== Fixed in 5.10.265 with commit b84fd400f80adf4d1c88fbce50ae1cf2f8119e65 Fixed in 5.15.216 with commit 38400673c9bfb39cfc87539e1a072087e98f4e4f Fixed in 6.1.183 with commit cab5a342f0589334046741006d8a280514f94235 Fixed in 6.6.152 with commit 38a0aa593ebc275aea6f79534d07f44e43768ce6 Fixed in 6.12.104 with commit 3f6b1d3fcfc26dc3fc85262f753439df93b055b4 Fixed in 6.18.45 with commit b664592e9ba8c47c9e23408db7ba52eb9f946c8a Fixed in 7.1.9 with commit cc4a1a2ce0c58eafd477effb055863935260ddc1 Fixed in 7.2 with commit e25d47a526939ad44b75f778b8a7500562b84fc1 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-74675 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/vt/keyboard.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/b84fd400f80adf4d1c88fbce50ae1cf2f8119e65 https://git.kernel.org/stable/c/38400673c9bfb39cfc87539e1a072087e98f4e4f https://git.kernel.org/stable/c/cab5a342f0589334046741006d8a280514f94235 https://git.kernel.org/stable/c/38a0aa593ebc275aea6f79534d07f44e43768ce6 https://git.kernel.org/stable/c/3f6b1d3fcfc26dc3fc85262f753439df93b055b4 https://git.kernel.org/stable/c/b664592e9ba8c47c9e23408db7ba52eb9f946c8a https://git.kernel.org/stable/c/cc4a1a2ce0c58eafd477effb055863935260ddc1 https://git.kernel.org/stable/c/e25d47a526939ad44b75f778b8a7500562b84fc1