CVE Catalog

CVE-2025-22049

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.20%

10th percentile - higher than 10% of all known CVEs

Summary

In the Linux kernel for LoongArch architecture, ARCH_DMA_MINALIGN defaults to 1, but some devices (e.g., APBDMA) require 16-byte alignment. Small DMA buffers can cause hardware cacheline write errors.

Risk Assessment

Organizations using LoongArch with DMA devices may experience data corruption or system instability due to improper buffer alignment.

Recommendation

Apply the Linux kernel patch that increases ARCH_DMA_MINALIGN to 16 to ensure safe DMA operations for LoongArch devices.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: LoongArch: Increase ARCH_DMA_MINALIGN up to 16 ARCH_DMA_MINALIGN is 1 by default, but some LoongArch-specific devices (such as APBDMA) require 16 bytes alignment. When the data buffer length is too small, the hardware may make an error writing cacheline. Thus, it is dangerous to allocate a small memory buffer for DMA. It's always safe to define ARCH_DMA_MINALIGN as L1_CACHE_BYTES but unnecessary (kmalloc() need small memory objects). Therefore, just increase it to 16.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS