CVE-2025-22045
Published: Apr 16, 2025
Modified: May 11, 2026
Description
In the Linux kernel, the following vulnerability has been resolved: x86/mm: Fix flush_tlb_range() when used for zapping normal PMDs On the following path, flush_tlb_range() can be used for zapping normal PMD entries (PMD entries that point to page tables) together with the PTE entries in the pointed-to page table: collapse_pte_mapped_thp pmdp_collapse_flush flush_tlb_range The arm64 version of flush_tlb_range() has a comment describing that it can be used for page table removal, and does not use any last-level invalidation optimizations. Fix the X86 version by making it behave the same way. Currently, X86 only uses this information for the following two purposes, which I think means the issue doesn't have much impact: - In native_flush_tlb_multi() for checking if lazy TLB CPUs need to be IPI'd to avoid issues with speculative page table walks. - In Hyper-V TLB paravirtualization, again for lazy TLB stuff. The patch "x86/mm: only invalidate final translations with INVLPGB" which is currently under review (see <https://lore.kernel.org/all/[email protected]/>) would probably be making the impact of this a lot worse.
| Vendor | Product | Versions |
|---|---|---|
Linux | Linux | affected 016c4d92cd16f569c6485ae62b076c1a4b779536 - < 618d5612ecb7bfc1c85342daafeb2b47e29e77a3affected 016c4d92cd16f569c6485ae62b076c1a4b779536 - < 556d446068f90981e5d71ca686bdaccdd545d491affected 016c4d92cd16f569c6485ae62b076c1a4b779536 - < 0a8f806ea6b5dd64b3d1f05ff774817d5f7ddbd1affected 016c4d92cd16f569c6485ae62b076c1a4b779536 - < 0708fd6bd8161871bfbadced2ca4319b84ab44feaffected 016c4d92cd16f569c6485ae62b076c1a4b779536 - < 7085895c59e4057ffae17f58990ccb630087d0d2+4 more versions |
Linux | Linux | affected 4.20unaffected 0 - < 4.20unaffected 5.4.292 - <= 5.4.*unaffected 5.10.236 - <= 5.10.*unaffected 5.15.180 - <= 5.15.*+6 more versions |
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now