Overview
About vulnerability
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. A flaw was found in the Linux kernel’scrypto: caam module. When processing HMAC (Keyed-Hash Message Authentication Code) keys longer than the block size, the memory allocated for the key copy was not correctly aligned for Direct Memory Access (DMA) operations. This oversight could lead to DMA corruption, potentially causing the hashed key to corrupt adjacent memory. Such corruption could result in system instability or data integrity issues.
Details
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| Debian 13 | Planned | — |
| Ubuntu 24.04 | Planned | — |