AZL-117298: CVE-2026-139706 affecting package kernel 6.6.161.1-1

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

crypto: rsassa-pkcs1 - reject undersized keys when signing

rsassapkcs1sign() subtracts 11 from the unsigned key size before checking that the key is large enough for PKCS#1 v1.5 padding:

if (slen + hashprefix->size > ctx->keysize - 11) return -EOVERFLOW;

If the RSA modulus is shorter than 11 bytes, the subtraction wraps. With a one-byte key and hash=none, the padding memset() writes past the output buffer.

KASAN reports:

BUG: KASAN: slab-out-of-bounds in rsassapkcs1sign+0x1ad/0x3b0 Write of size 4294967294 at addr ... The buggy address is located 0 bytes to the right of allocated 1-byte region [...]

Reject keys shorter than the minimum encoded message size.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Event History

Nov 30, 2026
Advisory Published
via OSV·02:20 PM
Data Sourced
via OSV·02:20 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What must an attacker control to trigger the out-of-bounds write?

They need to cause rsassa_pkcs1_sign() to sign using an RSA modulus shorter than 11 bytes. The reported trigger uses a one-byte key with hash=none, causing unsigned arithmetic to wrap and padding to write beyond the output buffer.

2

What is the impact of using an undersized RSA key for signing?

The signing operation can perform a slab out-of-bounds write. KASAN reports a write extending past a one-byte allocated region.

3

What mitigation is available if the fixed kernel package cannot be deployed immediately?

Do not permit RSA signing with keys shorter than the minimum encoded message size, and in particular reject RSA moduli shorter than 11 bytes before invoking rsassa_pkcs1_sign().

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203