x86/mm: Fix flush_tlb_range() when used for zapping normal PMDs

Summary

CVECVE-2025-22045
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-04-16 15:15:57 UTC
Updated2026-07-30 06:22:05 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Problem Types: NVD-CWE-noinfo


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1416baaa9-dc9f-4396-8d5f-8c081fb06d67Secondary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1CNADECLARED7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 016c4d92cd16f569c6485ae62b076c1a4b779536 618d5612ecb7bfc1c85342daafeb2b47e29e77a3 git Not specified
CNA Linux Linux affected 016c4d92cd16f569c6485ae62b076c1a4b779536 556d446068f90981e5d71ca686bdaccdd545d491 git Not specified
CNA Linux Linux affected 016c4d92cd16f569c6485ae62b076c1a4b779536 0a8f806ea6b5dd64b3d1f05ff774817d5f7ddbd1 git Not specified
CNA Linux Linux affected 016c4d92cd16f569c6485ae62b076c1a4b779536 0708fd6bd8161871bfbadced2ca4319b84ab44fe git Not specified
CNA Linux Linux affected 016c4d92cd16f569c6485ae62b076c1a4b779536 7085895c59e4057ffae17f58990ccb630087d0d2 git Not specified
CNA Linux Linux affected 016c4d92cd16f569c6485ae62b076c1a4b779536 93224deb50a8d20df3884f3672ce9f982129aa50 git Not specified
CNA Linux Linux affected 016c4d92cd16f569c6485ae62b076c1a4b779536 320ac1af4c0bdb92c864dc9250d1329234820edf git Not specified
CNA Linux Linux affected 016c4d92cd16f569c6485ae62b076c1a4b779536 78d6f9a9eb2a5da6fcbd76d6191d24b0dcc321be git Not specified
CNA Linux Linux affected 016c4d92cd16f569c6485ae62b076c1a4b779536 3ef938c3503563bfc2ac15083557f880d29c2e64 git Not specified
CNA Linux Linux affected 4.20 Not specified
CNA Linux Linux unaffected 4.20 semver Not specified
CNA Linux Linux unaffected 5.4.292 5.4.* semver Not specified
CNA Linux Linux unaffected 5.10.236 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.180 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.134 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.87 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.23 6.12.* semver Not specified
CNA Linux Linux unaffected 6.13.11 6.13.* semver Not specified
CNA Linux Linux unaffected 6.14.2 6.14.* semver Not specified
CNA Linux Linux unaffected 6.15 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
lists.debian.org/debian-lts-announce/2025/05/msg00030.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
git.kernel.org/stable/c/3ef938c3503563bfc2ac15083557f880d29c2e64 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/7085895c59e4057ffae17f58990ccb630087d0d2 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/556d446068f90981e5d71ca686bdaccdd545d491 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/618d5612ecb7bfc1c85342daafeb2b47e29e77a3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/320ac1af4c0bdb92c864dc9250d1329234820edf 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/0a8f806ea6b5dd64b3d1f05ff774817d5f7ddbd1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/0708fd6bd8161871bfbadced2ca4319b84ab44fe 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/78d6f9a9eb2a5da6fcbd76d6191d24b0dcc321be 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
lists.debian.org/debian-lts-announce/2025/05/msg00045.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
git.kernel.org/stable/c/93224deb50a8d20df3884f3672ce9f982129aa50 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report