Bug 2468061 (CVE-2026-43330) - CVE-2026-43330 kernel: crypto: caam - fix overflow on long hmac keys
Summary: CVE-2026-43330 kernel: crypto: caam - fix overflow on long hmac keys
Keywords:
Status: NEW
Alias: CVE-2026-43330
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-08 14:02 UTC by OSIDB Bzimport
Modified: 2026-07-14 16:41 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:27288 0 None None None 2026-06-19 23:22:00 UTC
Red Hat Product Errata RHSA-2026:39371 0 None None None 2026-07-14 16:41:16 UTC

Description OSIDB Bzimport 2026-05-08 14:02:31 UTC
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.

Comment 4 errata-xmlrpc 2026-06-19 23:21:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:27288 https://access.redhat.com/errata/RHSA-2026:27288

Comment 5 errata-xmlrpc 2026-07-14 16:41:15 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:39371 https://access.redhat.com/errata/RHSA-2026:39371


Note You need to log in before you can comment on or make changes to this bug.