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

Published Apr 16, 2025
·
Updated

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.

Affected Software

8 affected componentsFixes available
Linux Kernel
Linux Linux kernel>=5.19<6.1.134
Linux Linux kernel>=6.2<6.6.87
Linux Linux kernel>=6.7<6.12.23
Linux Linux kernel>=6.13<6.13.11
Linux Linux kernel>=6.14<6.14.2
Microsoft azl3 kernel 6.6.85.1-4
Microsoft azl3 kernel 6.6.92.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel (LoongArch) to a version that resolves this vulnerability.

    Fixed in 16

Event History

Apr 16, 2025
CVE Published
via MITRE·02:12 PM
Data Sourced
via MITRE·02:12 PM
DescriptionSeverity
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityAffected Software
Jul 11, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
SeverityAffected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2025-22049?

CVE-2025-22049 is classified as a high severity vulnerability in the Linux kernel due to potential data corruption from improper data buffer alignment.

2

How do I fix CVE-2025-22049?

To fix CVE-2025-22049, it is recommended to update the Linux kernel to the latest version that addresses this vulnerability.

3

Which systems are affected by CVE-2025-22049?

CVE-2025-22049 affects systems running the Linux kernel, particularly those utilizing LoongArch-specific devices.

4

What is ARCH_DMA_MINALIGN in CVE-2025-22049?

ARCH_DMA_MINALIGN is a kernel parameter that specifies the minimum alignment for direct memory access operations, which is set to 1 by default in this vulnerability.

5

What types of attacks can exploit CVE-2025-22049?

Exploitation of CVE-2025-22049 can lead to denial-of-service attacks or data corruption due to improper alignment of data buffers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203