From mboxrd@z Thu Jan 1 00:00:00 1970 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 B1A2C38735A for ; Sat, 15 Aug 2026 06:38:52 +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=1786775933; cv=none; b=NbJyxjHGTg4z5+1MDgjK8eW8WHZzDt4fjKPf4W9QgjqL9dbmAlpk5O34+jX6P5dGC2FDx4oClDQ74zDkNN4+FT9ZMrh8qSTf17KrE0Bsif1UQ+w3rPaSKqvm5vJLKdStVCkzTlVsBlloO/FalK2qds5lgULikVyLPjafepHBSAM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775933; c=relaxed/simple; bh=6StvcOVlqwc0KP0RfWBhkkq75dEXJH8FCEGWpGn9gLk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Nuur3g5cu/i4KJ8ggUcN7PU9PO1MQovvEvzCnNH1LKZANO8Kt0swK5K2ei6yJWxc+hOoA8Okc/leIFXJWV6VvN1dCkzIoEz4rOoqqkkhWVg6cs94LttnNBL5BunXZKx6wccnLw8ppnEjIxOEHAXOSD54p+AtCSFrVvY2wTPW9qs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nYy2lpmA; 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="nYy2lpmA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C66A1F00A3A; Sat, 15 Aug 2026 06:38:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775932; bh=VVpYAdFm8CKAFCWyP9HAzor8pkE4Voq+l/E3dMYTLiI=; h=From:To:Cc:Subject:Date:Reply-To; b=nYy2lpmAU/JYwtO8dYUCtD56vpUUZKP1NOB3yHHn62patMTzKw0qMoEuGKYitD5Zl FxBRkDnUQl3XNHX8SEzjen6CDXLLN3ZS0aVODiLClH5xN8x9NkV3fvzBB1ZXc3vzsm vfF6XIzP8oSjA57qFVrjp9oGZz0D8qQfOX9hIPSk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74403: crypto: ccp - Check for page allocation failure correctly in TIO Date: Sat, 15 Aug 2026 15:12:10 +0900 Message-ID: <2026081509-CVE-2026-74403-03bc@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=2358; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xjKRCw7ORBhosAru1VyFlUm3GjV2EpUEWC2inWxTId8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjLKcjDx3Xdccz0z5xXrjX5/llokWHd4vnn/d8EnA+ MfaG5XfOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAijhcZ5hdt3yGtfXeVqmOY 0dfosNcam1vutzDM0z8rd+dymf0Gyc2uXzKWH0w98dp9EgA= 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: crypto: ccp - Check for page allocation failure correctly in TIO Sashiko notes: > if __snp_alloc_firmware_pages() returns NULL under memory pressure, is it > safe to pass it directly to page_address()? > > On architectures without HASHED_PAGE_VIRTUAL, page_address(NULL) might > compute a deterministic but invalid, non-zero virtual address. The > subsequent if (tio_status) check would then evaluate to true, and > sev_tsm_init_locked() would dereference the invalid pointer. Indeed, page_address(NULL) will return non-NULL garbage here. Fix this by checking the page allocation itself for NULL, not the resulting virtual address. The Linux kernel CVE team has assigned CVE-2026-74403 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 4be423572da1f4c11f45168e3fafda870ddac9f8 and fixed in 7.1.5 with commit 17e1aae19a06d9f6da4b46d54fa2aeab77ec0c69 Issue introduced in 6.19 with commit 4be423572da1f4c11f45168e3fafda870ddac9f8 and fixed in 7.2-rc1 with commit a8d5370eef00eca132a292b1901c9914c817e385 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-74403 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/crypto/ccp/sev-dev.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/17e1aae19a06d9f6da4b46d54fa2aeab77ec0c69 https://git.kernel.org/stable/c/a8d5370eef00eca132a292b1901c9914c817e385