{"id":"CVE-2025-22045","aliases":["CVE-2025-22045"],"related":[],"kind":"vulnerability","state":"published","title":"x86/mm: Fix flush_tlb_range() when used for zapping normal PMDs","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: x86/mm: Arregla flush_tlb_range() cuando se usa para zapping de PMD normales En la siguiente ruta, flush_tlb_range() se puede usar para zapping de entradas PMD normales (entradas PMD que apuntan a tablas de páginas) junto con las entradas PTE en la tabla de páginas apuntada: colapso_pte_mapped_thp pmdp_collapse_flush flush_tlb_range La versión arm64 de flush_tlb_range() tiene un comentario que describe que se puede usar para la eliminación de la tabla de páginas y no usa ninguna optimización de invalidación de último nivel. Arregla la versión X86 haciendo que se comporte de la misma manera. Actualmente, X86 solo usa esta información para los dos propósitos siguientes, lo que creo que significa que el problema no tiene mucho impacto: - En native_flush_tlb_multi() para verificar si las CPU TLB perezosas necesitan ser IPI'd para evitar problemas con recorridos especulativos de la tabla de páginas. En la paravirtualización de TLB de Hyper-V, de nuevo para problemas de TLB lentos. El parche \"x86/mm: solo invalidar las traducciones finales con INVLPGB\", actualmente en revisión (véase ), probablemente estaría agravando considerablemente el impacto de esto.","source":"nvd"}],"published":"2025-04-16T14:12:05.849Z","modified":"2026-10-15T22:18:14.140Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"016c4d92cd16f569c6485ae62b076c1a4b779536","fixed":"618d5612ecb7bfc1c85342daafeb2b47e29e77a3","status":"affected"},{"type":"git","introduced":"016c4d92cd16f569c6485ae62b076c1a4b779536","fixed":"556d446068f90981e5d71ca686bdaccdd545d491","status":"affected"},{"type":"git","introduced":"016c4d92cd16f569c6485ae62b076c1a4b779536","fixed":"0a8f806ea6b5dd64b3d1f05ff774817d5f7ddbd1","status":"affected"},{"type":"git","introduced":"016c4d92cd16f569c6485ae62b076c1a4b779536","fixed":"0708fd6bd8161871bfbadced2ca4319b84ab44fe","status":"affected"},{"type":"git","introduced":"016c4d92cd16f569c6485ae62b076c1a4b779536","fixed":"7085895c59e4057ffae17f58990ccb630087d0d2","status":"affected"},{"type":"git","introduced":"016c4d92cd16f569c6485ae62b076c1a4b779536","fixed":"93224deb50a8d20df3884f3672ce9f982129aa50","status":"affected"},{"type":"git","introduced":"016c4d92cd16f569c6485ae62b076c1a4b779536","fixed":"320ac1af4c0bdb92c864dc9250d1329234820edf","status":"affected"},{"type":"git","introduced":"016c4d92cd16f569c6485ae62b076c1a4b779536","fixed":"78d6f9a9eb2a5da6fcbd76d6191d24b0dcc321be","status":"affected"},{"type":"git","introduced":"016c4d92cd16f569c6485ae62b076c1a4b779536","fixed":"3ef938c3503563bfc2ac15083557f880d29c2e64","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.20","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.20","status":"unaffected"},{"type":"semver","introduced":"5.4.292","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.236","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.180","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.134","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.87","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.23","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.11","lastAffected":"6.13.*","status":"unaffected"},{"type":"semver","introduced":"6.14.2","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.20","fixed":"5.4.292"},{"status":"affected","introduced":"5.5","fixed":"5.10.236"},{"status":"affected","introduced":"5.11","fixed":"5.15.180"},{"status":"affected","introduced":"5.16","fixed":"6.1.134"},{"status":"affected","introduced":"6.2","fixed":"6.6.87"},{"status":"affected","introduced":"6.7","fixed":"6.12.23"},{"status":"affected","introduced":"6.13","fixed":"6.13.11"},{"status":"affected","introduced":"6.14","fixed":"6.14.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/618d5612ecb7bfc1c85342daafeb2b47e29e77a3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/556d446068f90981e5d71ca686bdaccdd545d491","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0a8f806ea6b5dd64b3d1f05ff774817d5f7ddbd1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0708fd6bd8161871bfbadced2ca4319b84ab44fe","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7085895c59e4057ffae17f58990ccb630087d0d2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/93224deb50a8d20df3884f3672ce9f982129aa50","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/320ac1af4c0bdb92c864dc9250d1329234820edf","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/78d6f9a9eb2a5da6fcbd76d6191d24b0dcc321be","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ef938c3503563bfc2ac15083557f880d29c2e64","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:44:15.332Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-22045","url":"https://www.cve.org/CVERecord?id=CVE-2025-22045","licence":"CVE Terms of Use","modified":"2026-10-15T21:51:57.120Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-22045","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22045","licence":"Public domain","modified":"2026-10-15T22:18:14.140Z"}],"updatedAt":"2026-11-25T22:58:56.580Z","epss":{"score":0.00323,"percentile":0.17793,"date":"2026-11-30T12:00:22.000Z"}}