Bug 2360258 (CVE-2025-22049) - CVE-2025-22049 kernel: LoongArch: Increase ARCH_DMA_MINALIGN up to 16
Summary: CVE-2025-22049 kernel: LoongArch: Increase ARCH_DMA_MINALIGN up to 16
Keywords:
Status: NEW
Alias: CVE-2025-22049
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-16 15:05 UTC by OSIDB Bzimport
Modified: 2025-04-17 09:35 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-04-16 15:05:07 UTC
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.

Comment 1 Avinash Hanwate 2025-04-17 09:28:29 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025041602-CVE-2025-22049-4f6b@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.