CVE-2025-22045

CVE-2025-22045

High · published April 16, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
14.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00239 · 14.1th percentile
Published
2025-04-16T19:15Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel≥ 4.20, < 5.4.2925.4.292
linux/linux_kernel≥ 5.5, < 5.10.2365.10.236
linux/linux_kernel≥ 5.11, < 5.15.1805.15.180
linux/linux_kernel≥ 5.16, < 6.1.1346.1.134
linux/linux_kernel≥ 6.2, < 6.6.876.6.87
linux/linux_kernel≥ 6.7, < 6.12.236.12.23
linux/linux_kernel≥ 6.13, < 6.13.116.13.11
linux/linux_kernel≥ 6.14, < 6.14.26.14.2
References (11)
EPSS history
Timeline
  • 16 APR 14:12Z
    x86/mm: Fix flush_tlb_range() when used for zapping normal PMDs
    cvelistv5