LoongArch: Increase ARCH_DMA_MINALIGN up to 16 (Linux Linux)

CVE-2025-22049
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 12 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected fa96b57c149061f71a70bd6582d995f6424fbbf4 < f39af67f03b564b763b06e44cb960c10a382d54a ; affected fa96b57c149061f71a70bd6582d995f6424fbbf4 < 279ec25c2df49fba1cd9488f2ddd045d9cb2112e ; affected fa96b57c149061f71a70bd6582d995f6424fbbf4 < 1d0def2d1658666ec1f32c9495df60e7411e3c82 ; affected fa96b57c149061f71a70bd6582d995f6424fbbf4 < bfff341cac7c650e6ca8d10503725992f5564d0f ; affected fa96b57c149061f71a70bd6582d995f6424fbbf4 < 8b82aea3666f8f2c78f86148d78aea99c46e0f82 ; affected fa96b57c149061f71a70bd6582d995f6424fbbf4 < 4103cfe9dcb88010ae4911d3ff417457d1b6a720
Linux · Linuxaffected 5.19 ; unaffected 0 < 5.19 ; unaffected 6.1.134 ≤ 6.1.* ; unaffected 6.6.87 ≤ 6.6.* ; unaffected 6.12.23 ≤ 6.12.* ; unaffected 6.13.11 ≤ 6.13.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD