# CVE-2025-22049: LoongArch: Increase ARCH_DMA_MINALIGN up to 16

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-04-16T14:12:08.317Z
- Modified: 2026-08-05T11:56:21.806Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from fa96b57c149061f71a70bd6582d995f6424fbbf4 before f39af67f03b564b763b06e44cb960c10a382d54a; from fa96b57c149061f71a70bd6582d995f6424fbbf4 before 279ec25c2df49fba1cd9488f2ddd045d9cb2112e; from fa96b57c149061f71a70bd6582d995f6424fbbf4 before 1d0def2d1658666ec1f32c9495df60e7411e3c82; from fa96b57c149061f71a70bd6582d995f6424fbbf4 before bfff341cac7c650e6ca8d10503725992f5564d0f; from fa96b57c149061f71a70bd6582d995f6424fbbf4 before 8b82aea3666f8f2c78f86148d78aea99c46e0f82; from fa96b57c149061f71a70bd6582d995f6424fbbf4 before 4103cfe9dcb88010ae4911d3ff417457d1b6a720; 5.19 (not affected: before 5.19; from 6.1.134 up to 6.1.*; from 6.6.87 up to 6.6.*; from 6.12.23 up to 6.12.*; from 6.13.11 up to 6.13.*; from 6.14.2 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 5.19 before 6.1.134; from 6.2 before 6.6.87; from 6.7 before 6.12.23; from 6.13 before 6.13.11; from 6.14 before 6.14.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/f39af67f03b564b763b06e44cb960c10a382d54a> (patch)
- <https://git.kernel.org/stable/c/279ec25c2df49fba1cd9488f2ddd045d9cb2112e> (patch)
- <https://git.kernel.org/stable/c/1d0def2d1658666ec1f32c9495df60e7411e3c82> (patch)
- <https://git.kernel.org/stable/c/bfff341cac7c650e6ca8d10503725992f5564d0f> (patch)
- <https://git.kernel.org/stable/c/8b82aea3666f8f2c78f86148d78aea99c46e0f82> (patch)
- <https://git.kernel.org/stable/c/4103cfe9dcb88010ae4911d3ff417457d1b6a720> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>

## Sources

- CVE List: [CVE-2025-22049](https://www.cve.org/CVERecord?id=CVE-2025-22049), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-22049](https://nvd.nist.gov/vuln/detail/CVE-2025-22049), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-22049 · Whole record: https://cve.day/CVE-2025-22049.json · Rebuilt by cve.day 2026-11-25T22:58:56.582Z
