CVE-2025-22049

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-22049
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-22049.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-22049
Downstream
Related
Published
2025-04-16T15:15:58Z
Modified
2025-08-09T20:01:26Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

LoongArch: Increase ARCHDMAMINALIGN up to 16

ARCHDMAMINALIGN 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 ARCHDMAMINALIGN as L1CACHEBYTES but unnecessary (kmalloc() need small memory objects). Therefore, just increase it to 16.

References

Affected packages