CVE-2025-22049

LoongArch: Increase ARCH_DMA_MINALIGN up to 16

7.8 high EPSS 0.22%

Published 16 Apr 2025 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2025-22049

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-22049 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.2% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from fa96b57c149061f71a70bd6582d995f6424fbbf4, before f39af67f03b564b763b06e44cb960c10a382d54a
affected from fa96b57c149061f71a70bd6582d995f6424fbbf4, before 279ec25c2df49fba1cd9488f2ddd045d9cb2112e
affected from fa96b57c149061f71a70bd6582d995f6424fbbf4, before 1d0def2d1658666ec1f32c9495df60e7411e3c82
affected from fa96b57c149061f71a70bd6582d995f6424fbbf4, before bfff341cac7c650e6ca8d10503725992f5564d0f
affected from fa96b57c149061f71a70bd6582d995f6424fbbf4, before 8b82aea3666f8f2c78f86148d78aea99c46e0f82
affected from fa96b57c149061f71a70bd6582d995f6424fbbf4, before 4103cfe9dcb88010ae4911d3ff417457d1b6a720
Other versions: unaffected
Linux
affected 5.19
unaffected before 5.19
unaffected from 6.1.134 up to and including 6.1.*
unaffected from 6.6.87 up to and including 6.6.*
unaffected from 6.12.23 up to and including 6.12.*
unaffected from 6.13.11 up to and including 6.13.*
unaffected from 6.14.2 up to and including 6.14.*
unaffected 6.15 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-22049 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-22049

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-22049
trivy image --scanners vuln IMAGE | grep CVE-2025-22049

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-22049 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.