CVE-2026-43330

crypto: caam - fix overflow on long hmac keys

HIGH
7.8
CVSS Score
Published: May 8, 2026 at 01:31 PM UTC
Updated: August 5, 2026 at 01:24 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.1%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.13 ≤ v < 6.18.226.19 ≤ v < 6.19.126.3 ≤ v < 6.12.816.3 ≤ v < 6.18.226.3 ≤ v < 6.19.126.3 ≤ v < 6.6.1346.3 ≤ v < 7.06.7 ≤ v < 6.12.81199354d7fb6eaa2cc5bb650af0bca624baffee356.37.0 rc17.0 rc27.0 rc37.0 rc47.0 rc57.0 rc6
Vendor states this is fixed in 31022cfde5235c45fa765f0aabeff5f0652852f2 (fixed)
Vendor states this is fixed in 80688afb9c35b3934ce2d6be9973758915e2e0ef (fixed)
Vendor states this is fixed in aa545df011338df13f0833fc1fabcb15c0521959 (fixed)
Vendor states this is fixed in c2fb4984fe09fc176fe4c12d5e3edf626df6511d (fixed)
Vendor states this is fixed in cebc5ebd958346195b77f42d0cd5141b4e448fae (fixed)
Vendor states this is fixed in 6.12.81 (unaffected)
Vendor states this is fixed in 6.18.22 (unaffected)
Vendor states this is fixed in 6.19.12 (unaffected)
Vendor states this is fixed in 6.3 (unaffected)
Vendor states this is fixed in 6.6.134 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusANALYZED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card