Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability in the Linux kernel's Crypto CAAM module can lead to DMA corruption when handling HMAC keys longer than the block size. The issue arises because the memory for the key copy is not properly allocated to align with DMA cache requirements, potentially causing the hashed key to overwrite adjacent memory. This vulnerability affects several versions of the Linux kernel.
The vulnerability can cause memory corruption, where the hashed key overwrites neighboring memory, leading to undefined behavior or potential exploitation.
To reproduce this vulnerability, supply a HMAC key longer than the block size to the Crypto CAAM module. The key will be copied and hashed into the actual key, but the memory allocation for the copy will not be properly aligned. This misalignment can cause the overwritten memory to be corrupted, demonstrating the vulnerability.
The vulnerability has been addressed by modifying the memory allocation method to ensure proper alignment. Users should update to the latest version of the Linux kernel where this fix has been applied.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.