CVE-2025-22049

LoongArch: Increase ARCH_DMA_MINALIGN up to 16

published April 16, 2025

CVSS
—
EPSS
0%
Percentile
11.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00215 · 11.3th percentile
Published
2025-04-16T14:12Z
EPSS history
Timeline
  • 16 APR 14:12Z
    LoongArch: Increase ARCH_DMA_MINALIGN up to 16
    cvelistv5