PoC Monitor
← All CVEs
CVE-2025-22049published 16 Apr 2025 14:12 UTCData: JSON · API

Linux

LoongArch: Increase ARCH_DMA_MINALIGN up to 16

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= fa96b57c149061f71a70bd6582d995f6424fbbf4, < f39af67f03b564b763b06e44cb960c10a382d54a
  • >= fa96b57c149061f71a70bd6582d995f6424fbbf4, < 279ec25c2df49fba1cd9488f2ddd045d9cb2112e
  • >= fa96b57c149061f71a70bd6582d995f6424fbbf4, < 1d0def2d1658666ec1f32c9495df60e7411e3c82
  • >= fa96b57c149061f71a70bd6582d995f6424fbbf4, < bfff341cac7c650e6ca8d10503725992f5564d0f
  • >= fa96b57c149061f71a70bd6582d995f6424fbbf4, < 8b82aea3666f8f2c78f86148d78aea99c46e0f82
  • >= fa96b57c149061f71a70bd6582d995f6424fbbf4, < 4103cfe9dcb88010ae4911d3ff417457d1b6a720

Fixed in f39af67f03b564b763b06e44cb960c10a382d54a, 279ec25c2df49fba1cd9488f2ddd045d9cb2112e, 1d0def2d1658666ec1f32c9495df60e7411e3c82, bfff341cac7c650e6ca8d10503725992f5564d0f, 8b82aea3666f8f2c78f86148d78aea99c46e0f82, 4103cfe9dcb88010ae4911d3ff417457d1b6a720

Linux Linux
  • 5.19

Fixed in 0, 6.1.134, 6.6.87, 6.12.23, 6.13.11, 6.14.2, 6.15

Mitigation

Upgrade Linux to f39af67f03b564b763b06e44cb960c10a382d54a or 279ec25c2df49fba1cd9488f2ddd045d9cb2112e or 1d0def2d1658666ec1f32c9495df60e7411e3c82 or bfff341cac7c650e6ca8d10503725992f5564d0f or 8b82aea3666f8f2c78f86148d78aea99c46e0f82 or 4103cfe9dcb88010ae4911d3ff417457d1b6a720 or later.

Upgrade Linux to 0 or 6.1.134 or 6.6.87 or 6.12.23 or 6.13.11 or 6.14.2 or 6.15 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published16 Apr 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.