{"id":"CVE-2026-43330","aliases":["CVE-2026-43330"],"related":[],"kind":"vulnerability","state":"published","title":"crypto: caam - fix overflow on long hmac keys","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: caam - fix overflow on long hmac keys\n\nWhen a key longer than block size is supplied, it is copied and then\nhashed into the real key.  The memory allocated for the copy needs to\nbe rounded to DMA cache alignment, as otherwise the hashed key may\ncorrupt neighbouring memory.\n\nThe copying is performed using kmemdup, however this leads to an overflow:\nreading more bytes (aligned_len - keylen) from the keylen source buffer.\nFix this by replacing kmemdup with kmalloc, followed by memcpy.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: caam - fix overflow on long hmac keys\n\nWhen a key longer than block size is supplied, it is copied and then\nhashed into the real key.  The memory allocated for the copy needs to\nbe rounded to DMA cache alignment, as otherwise the hashed key may\ncorrupt neighbouring memory.\n\nThe copying is performed using kmemdup, however this leads to an overflow:\nreading more bytes (aligned_len - keylen) from the keylen source buffer.\nFix this by replacing kmemdup with kmalloc, followed by memcpy.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ncrypto: caam - corrección de desbordamiento en claves HMAC largas\n\nCuando se suministra una clave más larga que el tamaño de bloque, es copiada y luego hasheada en la clave real. La memoria asignada para la copia necesita ser redondeada a la alineación de caché DMA, ya que de lo contrario la clave hasheada puede corromper la memoria adyacente.\n\nLa copia se realiza usando kmemdup, sin embargo, esto lleva a un desbordamiento: leyendo más bytes (aligned_len - keylen) del búfer fuente keylen. Esto se corrige reemplazando kmemdup con kmalloc, seguido de memcpy.","source":"nvd"}],"published":"2026-05-08T13:31:18.133Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"git","introduced":"199354d7fb6eaa2cc5bb650af0bca624baffee35","fixed":"31022cfde5235c45fa765f0aabeff5f0652852f2","status":"affected"},{"type":"git","introduced":"199354d7fb6eaa2cc5bb650af0bca624baffee35","fixed":"c2fb4984fe09fc176fe4c12d5e3edf626df6511d","status":"affected"},{"type":"git","introduced":"199354d7fb6eaa2cc5bb650af0bca624baffee35","fixed":"aa545df011338df13f0833fc1fabcb15c0521959","status":"affected"},{"type":"git","introduced":"199354d7fb6eaa2cc5bb650af0bca624baffee35","fixed":"cebc5ebd958346195b77f42d0cd5141b4e448fae","status":"affected"},{"type":"git","introduced":"199354d7fb6eaa2cc5bb650af0bca624baffee35","fixed":"80688afb9c35b3934ce2d6be9973758915e2e0ef","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.3","status":"unaffected"},{"type":"semver","introduced":"6.6.134","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.81","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.22","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.12","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.3","fixed":"6.6.134"},{"status":"affected","introduced":"6.7","fixed":"6.12.81"},{"status":"affected","introduced":"6.13","fixed":"6.18.22"},{"status":"affected","introduced":"6.19","fixed":"6.19.12"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/31022cfde5235c45fa765f0aabeff5f0652852f2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c2fb4984fe09fc176fe4c12d5e3edf626df6511d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aa545df011338df13f0833fc1fabcb15c0521959","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cebc5ebd958346195b77f42d0cd5141b4e448fae","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/80688afb9c35b3934ce2d6be9973758915e2e0ef","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43330","url":"https://www.cve.org/CVERecord?id=CVE-2026-43330","licence":"CVE Terms of Use","modified":"2026-08-05T12:27:16.367Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43330","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43330","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:20.997Z","epss":{"score":0.00129,"percentile":0.02758,"date":"2026-12-01T12:00:22.000Z"}}