{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2025-40293",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-40293",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-12-08T00:46:16.850Z",
    "updatedAt": "2026-05-11T21:46:32.879Z",
    "importedAt": "2026-10-24T01:57:34.152Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "iommufd: Don't overflow during division for dirty tracking",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\niommufd: Don't overflow during division for dirty tracking\n\nIf pgshift is 63 then BITS_PER_TYPE(*bitmap->bitmap) * pgsize will overflow\nto 0 and this triggers divide by 0.\n\nIn this case the index should just be 0, so reorganize things to divide\nby shift and avoid hitting any overflows.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "58ccf0190d19d9a8a41f8a02b9e06742b58df4a1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "07105e61882ff4a7d58db63cc5f9e90c6c60506c"
            },
            {
              "version": "58ccf0190d19d9a8a41f8a02b9e06742b58df4a1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4c8a4f1d34eced168cc0b3a3dfe7b6dcc2090f69"
            },
            {
              "version": "58ccf0190d19d9a8a41f8a02b9e06742b58df4a1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "de7f2c67ceb1941b05b04ac35458a03e93cc57b1"
            },
            {
              "version": "58ccf0190d19d9a8a41f8a02b9e06742b58df4a1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "dbf316fc90aa954dcd5440817f4b944627ed63e0"
            },
            {
              "version": "58ccf0190d19d9a8a41f8a02b9e06742b58df4a1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "cb30dfa75d55eced379a42fd67bd5fb7ec38555e"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "6.1",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "6.1"
            },
            {
              "version": "6.1.159",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.117",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.58",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.17.8",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.17.*"
            },
            {
              "version": "6.18",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}