mirror of
https://github.com/0xMarcio/cve.git
synced 2025-11-30 18:56:19 +00:00
1.2 KiB
1.2 KiB
CVE-2025-22049
Description
In the Linux kernel, the following vulnerability has been resolved:LoongArch: Increase ARCH_DMA_MINALIGN up to 16ARCH_DMA_MINALIGN is 1 by default, but some LoongArch-specific devices(such as APBDMA) require 16 bytes alignment. When the data buffer lengthis too small, the hardware may make an error writing cacheline. Thus, itis dangerous to allocate a small memory buffer for DMA. It's always safeto define ARCH_DMA_MINALIGN as L1_CACHE_BYTES but unnecessary (kmalloc()need small memory objects). Therefore, just increase it to 16.
POC
Reference
No PoCs from references.