PT-2026-166971
CVE-2026-143113
·
Published
2026-12-03
·
Updated
2026-12-03
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
crypto: caam - reject overlong RSA CRT parameters
caam read rsa crt() right-aligns dP, dQ, and qInv in buffers sized
from the corresponding prime. rsa parse priv key() only bounds these
integers against n, so a malformed key can provide, for example, a
two-byte dP with a one-byte p. dstlen - nbytes then underflows and
memcpy() writes outside the allocation during set priv key(). KASAN
reports a slab-out-of-bounds write in caam read rsa crt().
Reject empty or overlong CRT parameters after stripping leading zeros.
qInv is consumed by CAAM as a p-sized value, so size it from p rather
than q to match the DMA mapping in set rsa priv f3 pdb(). Let the
top-level key cleanup handle partial form-3 allocations and return the
specific error to the caller.
Also test nbytes before dereferencing it while stripping zeros, so an
all-zero integer does not read one byte beyond its input.
Found an issue in the description? Have something to add? Feel free to write us 👾