crypto: caam - fix DMA corruption on long hmac keys (Linux Linux)

CVE-2026-43044
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.12 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: caam - fix DMA corruption 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 rounding was performed, but never actually used for the allocation. Fix this by replacing kmemdup with kmalloc for a larger buffer, followed by memcpy.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 199354d7fb6eaa2cc5bb650af0bca624baffee35 < a7ecf06d3ee06e9b3322e1e7b003ea5c6f6e135a ; affected 199354d7fb6eaa2cc5bb650af0bca624baffee35 < c0c133e0225d87aad326bb90bbce9bdd6fde3cbb ; affected 199354d7fb6eaa2cc5bb650af0bca624baffee35 < 68feed135a0c7243a9275ae7e6a18260f755f52b ; affected 199354d7fb6eaa2cc5bb650af0bca624baffee35 < f2af8be110bde26b3e3354efdfdda97f426306a4 ; affected 199354d7fb6eaa2cc5bb650af0bca624baffee35 < 5ddfdcbe10dc5f97afc4e46ca22be2be717e8caf
Linux · Linuxaffected 6.3 ; unaffected 0 < 6.3 ; unaffected 6.6.134 ≤ 6.6.* ; unaffected 6.12.81 ≤ 6.12.* ; unaffected 6.18.22 ≤ 6.18.* ; unaffected 6.19.12 ≤ 6.19.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD