AZL-117742: CVE-2026-142928 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
crypto: rsassa-pkcs1 - reject undersized keys when verifying
rsassapkcs1verify() accepts any nonzero key size.
With a one-byte key and a zero RSA result, the leading-zero handling decrements dstlen to zero and advances outbuf past the allocation. The next outbuf[0] access reads out of bounds.
KASAN reports:
BUG: KASAN: slab-out-of-bounds in rsassapkcs1verify+0x79d/0x900 Read of size 1 at addr ... The buggy address is located 0 bytes to the right of allocated 73-byte region [...]
Reject keys shorter than the minimum PKCS#1 v1.5 encoded message size.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In RSA PKCS#1 v1.5 verification, reject keys shorter than the minimum encoded-message size.
Event History
Frequently Asked Questions
What must an attacker provide to trigger the out-of-bounds read?
The vulnerable verification path must process an undersized RSA key, specifically a one-byte key, together with a zero RSA result. This causes the leading-zero handling to advance the output buffer past its allocation before it is read.
How can I determine whether my kernel is affected?
The affected package identified here is azure-linux/kernel version 6.6.161.1-1. The vulnerability is resolved by rejecting keys shorter than the minimum PKCS#1 v1.5 encoded message size during RSASSA-PKCS1 verification.