CVE Database›Document archive›CVE-2025-22049

CVE-2025-22049

kernel: LoongArch: Increase ARCH_DMA_MINALIGN up to 16

Loading…

Severity

Unknown

Red Hat Product Security

—

CVSS

Review impact separately from score.

Published · April 16, 2025

Updated · October 30, 2026

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.

Statement

This vulnerability does not affect Red Hat Enterprise Linux or other Red Hat products because the LoongArch architecture is not supported. The issue stems from insufficient memory alignment during DMA buffer allocation on specific hardware devices exclusive to the LoongArch platform. Because Red Hat does not compile or distribute kernel binaries for this architecture, systems running supported Red Hat enterprise offerings are not exposed to this flaw.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CWE not specified