{
  "id": "CVE-2025-22049",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-22049",
  "published_at": "2025-04-16T14:12:08.317Z",
  "title": "LoongArch: Increase ARCH_DMA_MINALIGN up to 16",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: Increase ARCH_DMA_MINALIGN up to 16\n\nARCH_DMA_MINALIGN is 1 by default, but some LoongArch-specific devices\n(such as APBDMA) require 16 bytes alignment. When the data buffer length\nis too small, the hardware may make an error writing cacheline. Thus, it\nis dangerous to allocate a small memory buffer for DMA. It's always safe\nto define ARCH_DMA_MINALIGN as L1_CACHE_BYTES but unnecessary (kmalloc()\nneed small memory objects). Therefore, just increase it to 16.",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= fa96b57c149061f71a70bd6582d995f6424fbbf4, \u003c f39af67f03b564b763b06e44cb960c10a382d54a",
          "\u003e= fa96b57c149061f71a70bd6582d995f6424fbbf4, \u003c 279ec25c2df49fba1cd9488f2ddd045d9cb2112e",
          "\u003e= fa96b57c149061f71a70bd6582d995f6424fbbf4, \u003c 1d0def2d1658666ec1f32c9495df60e7411e3c82",
          "\u003e= fa96b57c149061f71a70bd6582d995f6424fbbf4, \u003c bfff341cac7c650e6ca8d10503725992f5564d0f",
          "\u003e= fa96b57c149061f71a70bd6582d995f6424fbbf4, \u003c 8b82aea3666f8f2c78f86148d78aea99c46e0f82",
          "\u003e= fa96b57c149061f71a70bd6582d995f6424fbbf4, \u003c 4103cfe9dcb88010ae4911d3ff417457d1b6a720"
        ],
        "fixed_in": [
          "f39af67f03b564b763b06e44cb960c10a382d54a",
          "279ec25c2df49fba1cd9488f2ddd045d9cb2112e",
          "1d0def2d1658666ec1f32c9495df60e7411e3c82",
          "bfff341cac7c650e6ca8d10503725992f5564d0f",
          "8b82aea3666f8f2c78f86148d78aea99c46e0f82",
          "4103cfe9dcb88010ae4911d3ff417457d1b6a720"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.19"
        ],
        "fixed_in": [
          "0",
          "6.1.134",
          "6.6.87",
          "6.12.23",
          "6.13.11",
          "6.14.2",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "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."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
