{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-22045","id":"CVE-2025-22045","title":"x86/mm: Fix flush_tlb_range() when used for zapping normal PMDs","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\nTh","descriptionLong":"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<https://lore.kernel.org/all/20241230175550.4046587-13-riel@surriel.com/>)\nwould probably be making the impact of this a lot worse.","published":"2025-04-16T14:12:05.849Z","updated":"2026-10-29T11:12:05.762551490Z","reserved":"2024-12-29T08:45:45.810Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"016c4d92cd16f569c6485ae62b076c1a4b779536","lessThan":"618d5612ecb7bfc1c85342daafeb2b47e29e77a3","status":"affected","versionType":"git"},{"version":"016c4d92cd16f569c6485ae62b076c1a4b779536","lessThan":"556d446068f90981e5d71ca686bdaccdd545d491","status":"affected","versionType":"git"},{"version":"016c4d92cd16f569c6485ae62b076c1a4b779536","lessThan":"0a8f806ea6b5dd64b3d1f05ff774817d5f7ddbd1","status":"affected","versionType":"git"},{"version":"016c4d92cd16f569c6485ae62b076c1a4b779536","lessThan":"0708fd6bd8161871bfbadced2ca4319b84ab44fe","status":"affected","versionType":"git"},{"version":"016c4d92cd16f569c6485ae62b076c1a4b779536","lessThan":"7085895c59e4057ffae17f58990ccb630087d0d2","status":"affected","versionType":"git"},{"version":"016c4d92cd16f569c6485ae62b076c1a4b779536","lessThan":"93224deb50a8d20df3884f3672ce9f982129aa50","status":"affected","versionType":"git"},{"version":"016c4d92cd16f569c6485ae62b076c1a4b779536","lessThan":"320ac1af4c0bdb92c864dc9250d1329234820edf","status":"affected","versionType":"git"},{"version":"016c4d92cd16f569c6485ae62b076c1a4b779536","lessThan":"78d6f9a9eb2a5da6fcbd76d6191d24b0dcc321be","status":"affected","versionType":"git"},{"version":"016c4d92cd16f569c6485ae62b076c1a4b779536","lessThan":"3ef938c3503563bfc2ac15083557f880d29c2e64","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.20","status":"affected"},{"version":"0","lessThan":"4.20","status":"unaffected","versionType":"semver"},{"version":"5.4.292","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.236","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.180","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.134","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.87","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.23","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13.11","lessThanOrEqual":"6.13.*","status":"unaffected","versionType":"semver"},{"version":"6.14.2","lessThanOrEqual":"6.14.*","status":"unaffected","versionType":"semver"},{"version":"6.15","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/618d5612ecb7bfc1c85342daafeb2b47e29e77a3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/556d446068f90981e5d71ca686bdaccdd545d491","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0a8f806ea6b5dd64b3d1f05ff774817d5f7ddbd1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0708fd6bd8161871bfbadced2ca4319b84ab44fe","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7085895c59e4057ffae17f58990ccb630087d0d2","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/93224deb50a8d20df3884f3672ce9f982129aa50","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/320ac1af4c0bdb92c864dc9250d1329234820edf","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/78d6f9a9eb2a5da6fcbd76d6191d24b0dcc321be","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3ef938c3503563bfc2ac15083557f880d29c2e64","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22045.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22045","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00243,"epssPercentile":0.15729,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-22045","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22045","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-22045","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-22045","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}