{
  "id": "CVE-2025-21815",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-21815",
  "published_at": "2025-02-27T20:04:14.733Z",
  "title": "mm/compaction: fix UBSAN shift-out-of-bounds warning",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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\nmm/compaction: fix UBSAN shift-out-of-bounds warning\n\nsyzkaller reported a UBSAN shift-out-of-bounds warning of (1UL \u003c\u003c order)\nin isolate_freepages_block().  The bogus compound_order can be any value\nbecause it is union with flags.  Add back the MAX_PAGE_ORDER check to fix\nthe warning.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 3da0272a4c7d0d37b47b28e87014f421296fc2be, \u003c 4491159774d973a9e2e998d25d8fbb20fada6dfa",
          "\u003e= 3da0272a4c7d0d37b47b28e87014f421296fc2be, \u003c 10b7d3eb535098ccd4c82a182a33655d8a0e5c88",
          "\u003e= 3da0272a4c7d0d37b47b28e87014f421296fc2be, \u003c d1366e74342e75555af2648a2964deb2d5c92200"
        ],
        "fixed_in": [
          "4491159774d973a9e2e998d25d8fbb20fada6dfa",
          "10b7d3eb535098ccd4c82a182a33655d8a0e5c88",
          "d1366e74342e75555af2648a2964deb2d5c92200"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.7"
        ],
        "fixed_in": [
          "0",
          "6.12.14",
          "6.13.3",
          "6.14"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 4491159774d973a9e2e998d25d8fbb20fada6dfa or 10b7d3eb535098ccd4c82a182a33655d8a0e5c88 or d1366e74342e75555af2648a2964deb2d5c92200 or later.",
      "Upgrade Linux to 0 or 6.12.14 or 6.13.3 or 6.14 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
