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=1796048717; b=kOm4dlBEAc5Wjyr6BXOESPer/C8g8SluU/Lzp2siuAQuxzU55BWLW6k3zQ17ynCFV8ZH rhDX/OdFDKYxo5/FEX7sryJmt3F0Ho4J2T0HBq9Cjbefj0BQh70rGl61wBg/DLmTYZXn/ lbDHCKxIvp98kauvckrlJ5Bl34GX/C7tlVz23G35RnwU3ModR2cQ8bPBet24aX1EDIAQw q6gwFn5jwY9c8lWOVDoGFbGgrdXjjdCVnoeFao/DVvh00tFecTnrUJKoS/x4lYtvt/AWD Ci7uZQ5nY+VJ4Bc+APFIB5wWxPwVFzW/wcYClgtZxBoAPpbs1mSGeSzqgvB6EvgjyqA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796048717; 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=iHPJdo9GCFyjNNaLno3egC3HBoi9TZDHHsCV36ZZSEA=; b=cFH8WSKWWTek6kwvS4mRA7BBcyU+RKRfGjliwS9j5eOX8x6Kj+Km6ZSiWr5sjJ9/RByX zzfHOVYvU8kQpE/0Xc2Hcj+Czvniccbj5pHQxHnpLrmIF5gDa12x8X+kXLNH/qh7sfP1K 9qvuDX7iqh8TAoCjlMOmEnPM4r8IZGmyqt8Y+jEIZZB7RthznvceAoqa5llExTmXxrTol WEj5GDA+4xqGlOe0sGbyxbBlhSqdcCNVkbgelnK0vAh2VGZ1u4FyE0yfv72C2U8SMfadv 2oybwnITQhOrFeLXiA1S/3XqiH467cb4kOTLzFTAhnzz8Jps/IZGHeK5R/hWoX/8GSQ== 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=Y0vWSKI1; 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 78416606A329 for ; Mon, 30 Nov 2026 14:25:17 +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=Y0vWSKI1 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2D571F0089A; Mon, 30 Nov 2026 14:25:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796048717; bh=iHPJdo9GCFyjNNaLno3egC3HBoi9TZDHHsCV36ZZSEA=; h=From:To:Cc:Subject:Date:Reply-To; b=Y0vWSKI1qqOad9R0f7JH0seTGLWdvfb3y7Sz4B3wpGmaYBmIaTOjH2TkuDzBS0zG4 S4YDFYuFP+MTbsLrdnmpKYgbO47H4h7h4fbnNyRTOde0oMYEvl2uSsB9e2uAQ1zSSN SfyzLkBPzzWlfgvNZg59tXNS+B00OhVMXlQCF3KA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-139648: crypto: asymmetric_keys/pkcs7 - Check all signers before waiving authattrs rejection Date: Mon, 30 Nov 2026 14:40:57 +0100 Message-ID: <2026113014-CVE-2026-139648-e7b6@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=2506; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gqnH7OD9NEPAY+fb8xvPdzyZ/COfvFfgkXd2lNN1OlE=; b=owGbwMvMwCRo6H6F97bub03G02pJDNm81VLv2A+sKxOuMjI1V1mU/YZN08kxdlfR4ecan332a ClxMAp0xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwETEJzIsuHzlQ2KDSvqBubcS fxa/Yj11puMZM8P82isKX1sWWAcmPc91ivi+qC2CJS8GAA== 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: asymmetric_keys/pkcs7 - Check all signers before waiving authattrs rejection pkcs7_check_authattrs() only looks at the first SignerInfo when deciding whether rejection of authenticated attributes may be waived. For the remaining signers it checks only that authenticated attributes are either present on all signers or absent from all of them. This means an unmatched ML-DSA signer can be placed first, followed by a trusted RSA, ECDSA, or ECRDSA signer. Verification skips the unmatched signature and accepts the later trusted signer. The first signer still leaves the waiver enabled for the whole message, so the non-ML-DSA signer can use an exception intended only for ML-DSA. Check each SignerInfo's public-key algorithm before leaving the waiver enabled. The Linux kernel CVE team has assigned CVE-2026-139648 to this issue. Affected and fixed versions =========================== Issue introduced in 7.0 with commit 91db696adea4d76017b1e1f45915a5cbf04e8da3 and fixed in 7.3.6 with commit 58f4a4d9a6663df4a1c8f2ceb7f046dd21471cda Issue introduced in 7.0 with commit 91db696adea4d76017b1e1f45915a5cbf04e8da3 and fixed in 7.4-rc1 with commit 553c623a12f4928a2889cf1bba0bd8885f0bdd4f 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-139648 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: crypto/asymmetric_keys/pkcs7_parser.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/58f4a4d9a6663df4a1c8f2ceb7f046dd21471cda https://git.kernel.org/stable/c/553c623a12f4928a2889cf1bba0bd8885f0bdd4f