Linux kernel
cpe:2.3:o:kernel:linux_kernel:*:*:*:*:*:*:*, +3 more
- >= 6.1.0, < 6.1.82
A vulnerability in the Linux kernel's handling of the STM32 FMC2 NAND flash controller has been addressed. The issue was caused by overlapping memory mappings on the Error Correction Code (ECC) buffer, which are not supported. This vulnerability was present in the Linux kernel version 6.1.82.
The vulnerability could lead to improper handling of DMA (Direct Memory Access) operations, potentially causing data corruption or incorrect ECC processing during NAND flash operations.
The vulnerability can be reproduced by using the STM32 FMC2 NAND flash controller with the default buffer configuration. The overlapping mappings issue will trigger a DMA-API warning, indicating that the cacheline tracking EEXIST error has occurred, as overlapping mappings are not supported.
The vulnerability has been fixed by modifying the NAND controller driver to use a contiguous, non-cacheable buffer for the ECC data, preventing overlapping mappings. 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.