{
  "id": "CVE-2025-38688",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38688",
  "published_at": "2025-09-04T15:32:42.607Z",
  "title": "iommufd: Prevent ALIGN() overflow",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/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\niommufd: Prevent ALIGN() overflow\n\nWhen allocating IOVA the candidate range gets aligned to the target\nalignment. If the range is close to ULONG_MAX then the ALIGN() can\nwrap resulting in a corrupted iova.\n\nOpen code the ALIGN() using get_add_overflow() to prevent this.\nThis simplifies the checks as we don't need to check for length earlier\neither.\n\nConsolidate the two copies of this code under a single helper.\n\nThis bug would allow userspace to create a mapping that overlaps with some\nother mapping or a reserved range.",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 51fe6141f0f64ae0bbc096a41a07572273e8c0ef, \u003c d19b817540c0abe84854a64ee9ee34cecc3bbeef",
          "\u003e= 51fe6141f0f64ae0bbc096a41a07572273e8c0ef, \u003c ebb6021560b94649bec6b8faba6fe0dca2218e81",
          "\u003e= 51fe6141f0f64ae0bbc096a41a07572273e8c0ef, \u003c e42a046bb41dcdde4f766a17d8211842007ed537",
          "\u003e= 51fe6141f0f64ae0bbc096a41a07572273e8c0ef, \u003c 79fad1917802c28de51a479318a056a6fbe3e2f2",
          "\u003e= 51fe6141f0f64ae0bbc096a41a07572273e8c0ef, \u003c b42497e3c0e74db061eafad41c0cd7243c46436b"
        ],
        "fixed_in": [
          "d19b817540c0abe84854a64ee9ee34cecc3bbeef",
          "ebb6021560b94649bec6b8faba6fe0dca2218e81",
          "e42a046bb41dcdde4f766a17d8211842007ed537",
          "79fad1917802c28de51a479318a056a6fbe3e2f2",
          "b42497e3c0e74db061eafad41c0cd7243c46436b"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.2"
        ],
        "fixed_in": [
          "0",
          "6.6.103",
          "6.12.43",
          "6.15.11",
          "6.16.2",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to d19b817540c0abe84854a64ee9ee34cecc3bbeef or ebb6021560b94649bec6b8faba6fe0dca2218e81 or e42a046bb41dcdde4f766a17d8211842007ed537 or 79fad1917802c28de51a479318a056a6fbe3e2f2 or b42497e3c0e74db061eafad41c0cd7243c46436b or later.",
      "Upgrade Linux to 0 or 6.6.103 or 6.12.43 or 6.15.11 or 6.16.2 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
