{
  "id": "CVE-2025-22045",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-22045",
  "published_at": "2025-04-16T14:12:05.849Z",
  "title": "x86/mm: Fix flush_tlb_range() when used for zapping normal PMDs",
  "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\nx86/mm: Fix flush_tlb_range() when used for zapping normal PMDs\n\nOn the following path, flush_tlb_range() can be used for zapping normal\nPMD entries (PMD entries that point to page tables) together with the PTE\nentries in the pointed-to page table:\n\n    collapse_pte_mapped_thp\n      pmdp_collapse_flush\n        flush_tlb_range\n\nThe arm64 version of flush_tlb_range() has a comment describing that it can\nbe used for page table removal, and does not use any last-level\ninvalidation optimizations. Fix the X86 version by making it behave the\nsame way.\n\nCurrently, X86 only uses this information for the following two purposes,\nwhich I think means the issue doesn't have much impact:\n\n - In native_flush_tlb_multi() for checking if lazy TLB CPUs need to be\n   IPI'd to avoid issues with speculative page table walks.\n - In Hyper-V TLB paravirtualization, again for lazy TLB stuff.\n\nThe patch \"x86/mm: only invalidate final translations with INVLPGB\" which\nis currently under review (see\n\u003chttps://lore.kernel.org/all/20241230175550.4046587-13-riel@surriel.com/\u003e)\nwould probably be making the impact of this a lot worse.",
  "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= 016c4d92cd16f569c6485ae62b076c1a4b779536, \u003c 618d5612ecb7bfc1c85342daafeb2b47e29e77a3",
          "\u003e= 016c4d92cd16f569c6485ae62b076c1a4b779536, \u003c 556d446068f90981e5d71ca686bdaccdd545d491",
          "\u003e= 016c4d92cd16f569c6485ae62b076c1a4b779536, \u003c 0a8f806ea6b5dd64b3d1f05ff774817d5f7ddbd1",
          "\u003e= 016c4d92cd16f569c6485ae62b076c1a4b779536, \u003c 0708fd6bd8161871bfbadced2ca4319b84ab44fe",
          "\u003e= 016c4d92cd16f569c6485ae62b076c1a4b779536, \u003c 7085895c59e4057ffae17f58990ccb630087d0d2",
          "\u003e= 016c4d92cd16f569c6485ae62b076c1a4b779536, \u003c 93224deb50a8d20df3884f3672ce9f982129aa50",
          "\u003e= 016c4d92cd16f569c6485ae62b076c1a4b779536, \u003c 320ac1af4c0bdb92c864dc9250d1329234820edf",
          "\u003e= 016c4d92cd16f569c6485ae62b076c1a4b779536, \u003c 78d6f9a9eb2a5da6fcbd76d6191d24b0dcc321be",
          "\u003e= 016c4d92cd16f569c6485ae62b076c1a4b779536, \u003c 3ef938c3503563bfc2ac15083557f880d29c2e64"
        ],
        "fixed_in": [
          "618d5612ecb7bfc1c85342daafeb2b47e29e77a3",
          "556d446068f90981e5d71ca686bdaccdd545d491",
          "0a8f806ea6b5dd64b3d1f05ff774817d5f7ddbd1",
          "0708fd6bd8161871bfbadced2ca4319b84ab44fe",
          "7085895c59e4057ffae17f58990ccb630087d0d2",
          "93224deb50a8d20df3884f3672ce9f982129aa50",
          "320ac1af4c0bdb92c864dc9250d1329234820edf",
          "78d6f9a9eb2a5da6fcbd76d6191d24b0dcc321be",
          "3ef938c3503563bfc2ac15083557f880d29c2e64"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.20"
        ],
        "fixed_in": [
          "0",
          "5.4.292",
          "5.10.236",
          "5.15.180",
          "6.1.134",
          "6.6.87",
          "6.12.23",
          "6.13.11",
          "6.14.2",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 618d5612ecb7bfc1c85342daafeb2b47e29e77a3 or 556d446068f90981e5d71ca686bdaccdd545d491 or 0a8f806ea6b5dd64b3d1f05ff774817d5f7ddbd1 or 0708fd6bd8161871bfbadced2ca4319b84ab44fe or 7085895c59e4057ffae17f58990ccb630087d0d2 or 93224deb50a8d20df3884f3672ce9f982129aa50 or 320ac1af4c0bdb92c864dc9250d1329234820edf or 78d6f9a9eb2a5da6fcbd76d6191d24b0dcc321be or 3ef938c3503563bfc2ac15083557f880d29c2e64 or later.",
      "Upgrade Linux to 0 or 5.4.292 or 5.10.236 or 5.15.180 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": []
}
