crypto: asymmetric_keys/pkcs7 - Check all signers before waiving authattrs rejection

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux91db696adea4d76017b1e1f45915a5cbf04e8da3 to before 58f4a4d9a6663df4a1c8f2ceb7f046dd21471cda Affected91db696adea4d76017b1e1f45915a5cbf04e8da3 to before 553c623a12f4928a2889cf1bba0bd8885f0bdd4f Affected
Linux Linux7.0 Affectedbefore 7.0 Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.