CVE-2026-43330

crypto: caam - fix overflow on long hmac keys

State
Published
Severity
7.8 High
Published
May 8, 2026
Updated
Aug 5, 2026
Reserved
May 1, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 199354d7fb6eaa2cc5bb650af0bca624baffee35 to before 31022cfde5235c45fa765f0aabeff5f0652852f2Affected
  • 199354d7fb6eaa2cc5bb650af0bca624baffee35 to before c2fb4984fe09fc176fe4c12d5e3edf626df6511dAffected
  • 199354d7fb6eaa2cc5bb650af0bca624baffee35 to before aa545df011338df13f0833fc1fabcb15c0521959Affected
  • 199354d7fb6eaa2cc5bb650af0bca624baffee35 to before cebc5ebd958346195b77f42d0cd5141b4e448faeAffected
  • 199354d7fb6eaa2cc5bb650af0bca624baffee35 to before 80688afb9c35b3934ce2d6be9973758915e2e0efAffected
LinuxLinux
  • 6.3Affected
  • before 6.3Not affected
  • 6.6.134 through 6.6.*Not affected
  • 6.12.81 through 6.12.*Not affected
  • 6.18.22 through 6.18.*Not affected
  • 6.19.12 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.