CVE-2026-43330

crypto: caam - fix overflow on long hmac keys

High · published May 8, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
6.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00175 · 6.7th percentile
Published
2026-05-08T13:31Z
EPSS history
Timeline
  • 08 MAY 13:31Z
    crypto: caam - fix overflow on long hmac keys
    cvelistv5