What’s Vulnerable › Vulnerabilities
CVE-2026-43330: crypto: caam - fix overflow on long hmac keys
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-08 · updated 2026-06-17
- Weakness: CWE-787
Description
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 (aligned_len - keylen) from the keylen source buffer. Fix this by replacing kmemdup with kmalloc, followed by memcpy.
Affected products
- Linux kernel: from 6.3 before 6.6.134; from 6.7 before 6.12.81; from 6.13 before 6.18.22; from 6.19 before 6.19.12; 7.0-rc1, 7.0-rc2, 7.0-rc3, 7.0-rc4, 7.0-rc5, 7.0-rc6 — fixed in 6.12.81, 6.18.22, 6.19.12, 6.6.134
How to fix
Upgrade to a fixed version: Linux kernel 6.12.81, 6.18.22, 6.19.12, 6.6.134. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/31022cfde5235c45fa765f0aabeff5f0652852f2
- https://git.kernel.org/stable/c/80688afb9c35b3934ce2d6be9973758915e2e0ef
- https://git.kernel.org/stable/c/aa545df011338df13f0833fc1fabcb15c0521959
- https://git.kernel.org/stable/c/c2fb4984fe09fc176fe4c12d5e3edf626df6511d
- https://git.kernel.org/stable/c/cebc5ebd958346195b77f42d0cd5141b4e448fae
Get alerted when CVE-2026-43330 or the next vulnerability affects your stack