CVE-2026-43330 Details
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.
A vulnerability in the Linux kernel's Crypto CAAM module can lead to a buffer overflow when handling HMAC keys longer than the block size. The issue arises because the key is copied using 'kmemdup', which can read beyond the intended length, potentially corrupting adjacent memory. This vulnerability affects several versions of the Linux kernel.
The vulnerability has been addressed by replacing 'kmemdup' with 'kmalloc' followed by 'memcpy' to ensure proper memory allocation and alignment. Users should upgrade to the patched version of the Linux kernel.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/31022cfde5235c45fa765f0aabeff5f0652852f2 | kernel.org | Patch |
| https://git.kernel.org/stable/c/80688afb9c35b3934ce2d6be9973758915e2e0ef | kernel.org | Patch |
| https://git.kernel.org/stable/c/aa545df011338df13f0833fc1fabcb15c0521959 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c2fb4984fe09fc176fe4c12d5e3edf626df6511d | kernel.org | Patch |
| https://git.kernel.org/stable/c/cebc5ebd958346195b77f42d0cd5141b4e448fae | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.3, < 6.6.134 >= 6.7, < 6.12.81 >= 6.13, < 6.18.22 >= 6.19, < 6.19.12 7.0 rc1 7.0 rc2 7.0 rc3 7.0 rc4 7.0 rc5 7.0 rc6 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 18, 2026 | Initial Analysis | [email protected] |
| May 11, 2026 | CVE Modified | kernel.org |
| May 8, 2026 | New CVE Received | kernel.org |