CVE-2026-43330: crypto: caam - fix overflow on long hmac keys
In the Linux kernel, the following vulnerability has been resolved:
crypto: caam - fix overflow on long hmac keys
When a key longer than block size is supplied, it is copied and then hashed into the real key. The memory allocated for the copy needs to be rounded to DMA cache alignment, as otherwise the hashed key may corrupt neighbouring memory.
The copying is performed using kmemdup, however this leads to an overflow: reading more bytes (alignedlen - keylen) from the keylen source buffer. Fix this by replacing kmemdup with kmalloc, followed by memcpy.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-43330?
CVE-2026-43330 is considered a moderate severity vulnerability due to its impact on cryptographic key handling.
How do I fix CVE-2026-43330?
To fix CVE-2026-43330, update the Linux kernel to the patched version that addresses the overflow issue with long HMAC keys.
What products are affected by CVE-2026-43330?
CVE-2026-43330 affects the Linux kernel, specifically versions vulnerable to long HMAC key overflow.
What type of vulnerability is CVE-2026-43330?
CVE-2026-43330 is a cryptographic vulnerability related to improper handling of hashing keys.
Is CVE-2026-43330 being actively exploited?
As of now, there is no public information indicating that CVE-2026-43330 is actively being exploited in the wild.