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.
References
Configurations
Configuration 1 (hide)
|
History
18 May 2026, 12:40
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://git.kernel.org/stable/c/31022cfde5235c45fa765f0aabeff5f0652852f2 - Patch | |
| References | () https://git.kernel.org/stable/c/80688afb9c35b3934ce2d6be9973758915e2e0ef - Patch | |
| References | () https://git.kernel.org/stable/c/aa545df011338df13f0833fc1fabcb15c0521959 - Patch | |
| References | () https://git.kernel.org/stable/c/c2fb4984fe09fc176fe4c12d5e3edf626df6511d - Patch | |
| References | () https://git.kernel.org/stable/c/cebc5ebd958346195b77f42d0cd5141b4e448fae - Patch | |
| CPE | cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* |
|
| First Time |
Linux linux Kernel
Linux |
|
| CWE | CWE-787 |
11 May 2026, 08:16
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.8 |
08 May 2026, 14:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-08 14:16
Updated : 2026-05-18 12:40
NVD link : CVE-2026-43330
Mitre link : CVE-2026-43330
CVE.ORG link : CVE-2026-43330
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-787
Out-of-bounds Write
