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 405253D1CC6 for ; Fri, 28 Aug 2026 06:51:33 +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=1787899894; cv=none; b=LF8vzXZLlFC1inEfZ7MakCLN4xEK4fIAKkP4/HGv2fCPiTmWm29Zw9Rhn4ubNx3lFO4SxxmAmh7btgnQ2PVjX0Si+cgf3j4X1wMuT0swC+MP+hHYSbnB9EMd3dqTWhlpkL874SOucLBlZW067G+zp2b1TBsp8N0Wqmu6DqDTjmo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787899894; c=relaxed/simple; bh=Mrr0j0JcXq86HmYsyk9KToLiLqMxV+vDTMhnlg1CflA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=T534S+1grKV/mx4RdtbBJ5HP/9361mDA6ufm90n116pUyTS5aTsFQHs4++pnKOOpa05fsnvCUpabMQL2Jf1n+k+ElN+vU61r1ZyjpUzQcjecHp/M9vnzZxtVrljrI/ZU9MIQBfIsyrumQv3Psq14KP625sOzOqWmPCwbO304ZOo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FUfeBmWN; 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="FUfeBmWN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B6CD1F000E9; Fri, 28 Aug 2026 06:51:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787899893; bh=TkSChEjlu0scOcWpl4cDGo5JNEKqosdFdJECr4Hzako=; h=From:To:Cc:Subject:Date:Reply-To; b=FUfeBmWNiksAGuMGt6HKu8sNRgOpeHYvvxR7d6Bd6FYn/hP8jDQQwdFzbiEOwQ9yF jK33f9PJaCnrI/Yw96ddpb2H0sGQH8IBjWvutq5eKIdxnmooJxna6xqe5SzkU+V5hv cQRLe0jGtBGM02OZRyVoNqcG1tl2/6c90JJq8vRE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80652: crypto: ccp - Treat zero-length cert chain as query for blob lengths Date: Fri, 28 Aug 2026 08:49:29 +0200 Message-ID: <2026082843-CVE-2026-80652-a6d5@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=5424; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=XUayslkDTMjwOwnhYDJmqU9+5uwBtDHJWFntAwHk5Ak=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkT9X22Lp74I/HKp2RvAdMn3w5dK43wspjgYFuSXin01 aE5hs+oI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZy4jDD/IA9j+8HifhL1/P0 Mk10VDyw5Tq/JsP8QJ+bdwTjQnpYVz9bo8RtYNX7OWILAA== 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 - Treat zero-length cert chain as query for blob lengths When handling a PDH export, treat a zero-length userspace cert chain buffer as a request to query the length of the relevant blobs. Failure to account for the zero-length buffer trips a BUG_ON() when running with CONFIG_DEBUG_VIRTUAL=y due to trying to get the physical address of the ZERO_SIZE_PTR (returned by kzalloc() on the bogus allocation). kernel BUG at arch/x86/mm/physaddr.c:28 ! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 30 UID: 0 PID: 28580 Comm: syz.2.18 Kdump: loaded Tainted: G W 6.18.16-smp-DEV #1 NONE Tainted: [W]=WARN Hardware name: Google, Inc. Arcadia_IT_80/Arcadia_IT_80, BIOS 12.62.0-0 11/19/2025 RIP: 0010:__phys_addr+0x16a/0x180 arch/x86/mm/physaddr.c:28 RSP: 0018:ffffc9008329fc80 EFLAGS: 00010293 RAX: ffffffff8179110a RBX: 0000778000000010 RCX: ffff8884e6992600 RDX: 0000000000000000 RSI: 0000000080000010 RDI: 0000778000000010 RBP: ffffc9008329fdf0 R08: 0000000000000dc0 R09: 00000000ffffffff R10: dffffc0000000000 R11: fffffbfff126d297 R12: dffffc0000000000 R13: 1ffff92010653fc8 R14: 0000000080000010 R15: dffffc0000000000 FS: 0000555556bec9c0(0000) GS:ffff88aa4ce1c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd3159e7000 CR3: 00000004fbc44000 CR4: 0000000000350ef0 Call Trace: [] sev_ioctl_do_pdh_export+0x559/0x7a0 drivers/crypto/ccp/sev-dev.c:2308 [] sev_ioctl+0x2cd/0x480 drivers/crypto/ccp/sev-dev.c:2556 [] vfs_ioctl fs/ioctl.c:52 [inline] [] __do_sys_ioctl fs/ioctl.c:598 [inline] [] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:584 [] do_syscall_x64 arch/x86/entry/syscall_64.c:64 [inline] [] do_syscall_64+0x9f/0xf40 arch/x86/entry/syscall_64.c:98 [] entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7fd3158eac39 Thankfully, the bug is benign outside of CONFIG_DEBUG_VIRTUAL=y as getting the physical address is just arithmetic, and the PSP errors out before trying to write to the garbage address (which it must, otherwise querying the blob lengths would clobber memory at pfn=0). The Linux kernel CVE team has assigned CVE-2026-80652 to this issue. Affected and fixed versions =========================== Issue introduced in 4.16 with commit 76a2b524a4b1d6dc0f2421f9854a01d55d5e5436 and fixed in 5.10.261 with commit 1c587f30c6242cc37b3d6ee6d91daef84e51633f Issue introduced in 4.16 with commit 76a2b524a4b1d6dc0f2421f9854a01d55d5e5436 and fixed in 5.15.212 with commit 13b4d5e055d344e34b864bced0a591ceaac7ad81 Issue introduced in 4.16 with commit 76a2b524a4b1d6dc0f2421f9854a01d55d5e5436 and fixed in 6.1.178 with commit 94344bc7c9d70b04be718d841b92873aa3ea8191 Issue introduced in 4.16 with commit 76a2b524a4b1d6dc0f2421f9854a01d55d5e5436 and fixed in 6.6.145 with commit 50c3c7df4f26d36b30bc950a7d780f7029fd52f8 Issue introduced in 4.16 with commit 76a2b524a4b1d6dc0f2421f9854a01d55d5e5436 and fixed in 6.12.97 with commit ee717e73ab47253c82c134c342e32fcdfcfccd87 Issue introduced in 4.16 with commit 76a2b524a4b1d6dc0f2421f9854a01d55d5e5436 and fixed in 6.18.40 with commit 21650fe221ea9b72809140b691589dde8bff3eab Issue introduced in 4.16 with commit 76a2b524a4b1d6dc0f2421f9854a01d55d5e5436 and fixed in 7.1.5 with commit d88071a6ce091272726bedda26c105b85b23705f Issue introduced in 4.16 with commit 76a2b524a4b1d6dc0f2421f9854a01d55d5e5436 and fixed in 7.2 with commit ef8c9dacda2871accd64e3eda951fef6b788b1ea 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-80652 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/1c587f30c6242cc37b3d6ee6d91daef84e51633f https://git.kernel.org/stable/c/13b4d5e055d344e34b864bced0a591ceaac7ad81 https://git.kernel.org/stable/c/94344bc7c9d70b04be718d841b92873aa3ea8191 https://git.kernel.org/stable/c/50c3c7df4f26d36b30bc950a7d780f7029fd52f8 https://git.kernel.org/stable/c/ee717e73ab47253c82c134c342e32fcdfcfccd87 https://git.kernel.org/stable/c/21650fe221ea9b72809140b691589dde8bff3eab https://git.kernel.org/stable/c/d88071a6ce091272726bedda26c105b85b23705f https://git.kernel.org/stable/c/ef8c9dacda2871accd64e3eda951fef6b788b1ea