CVE-2025-22045
Vulnerability Summary
Timeline
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/20241230175550.4046587-13-riel@surriel.com/>) would probably be making the impact of this a lot worse.
CVSS Metrics
- v4.0•MEDIUM•Score: 5.8CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
- v3.1•MEDIUM•Score: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 0.24%• Percentile: 15%
Affected Systems
- debian•linux
< 5.10.237-1 | < 6.1.135-1 | < 6.12.25-1 | < 6.12.25-1
- debian•linux-6.1
< 6.1.137-1~deb11u1
- ubuntu•linux
< 5.4.0-218.238 | < 5.15.0-142.152 | < 6.8.0-86.87
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
< 5.4.0-1147.157 | < 5.15.0-1086.93 | < 6.8.0-1041.43
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.15
< 5.15.0-1086.93~20.04.1
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1147.157~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-6.5
all
- ubuntu•linux-aws-6.8
< 6.8.0-1041.43~22.04.1
- ubuntu•linux-aws-fips
< 5.4.0-1147.157+fips1 | all | < 5.15.0-1086.93+fips1 | < 6.8.0-1041.43+fips1
- ubuntu•linux-azure
all | < 5.4.0-1152.159 | < 5.15.0-1091.100 | < 6.8.0-1041.47
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
< 5.15.0-1091.100~20.04.1
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1152.159~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.11
< 6.11.0-1018.18~24.04.1
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-6.5
all
- ubuntu•linux-azure-6.8
< 6.8.0-1041.47~22.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all | all | all
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fde-6.2
all
- ubuntu•linux-azure-fips
< 5.4.0-1153.160+fips1 | all | < 5.15.0-1091.100+fips1 | < 6.8.0-1044.50+fips1
- ubuntu•linux-azure-nvidia
< 6.8.0-1029.32
- ubuntu•linux-bluefield
all | < 5.4.0-1106.113 | < 5.15.0-1069.71 | < 6.8.0-1012.16
- ubuntu•linux-fips
< 5.4.0-1121.131 | all | < 5.15.0-142.152+fips1 | < 6.8.0-86.87+fips1
- ubuntu•linux-gcp
all | < 5.4.0-1150.159 | < 5.15.0-1085.94 | < 6.8.0-1042.45
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.15
< 5.15.0-1085.94~20.04.1
- ubuntu•linux-gcp-5.19
all
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1150.159~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-6.11
< 6.11.0-1016.16~24.04.1
- ubuntu•linux-gcp-6.2
all
- ubuntu•linux-gcp-6.5
all
- ubuntu•linux-gcp-6.8
< 6.8.0-1042.45~22.04.1
- ubuntu•linux-gcp-fips
< 5.4.0-1150.159+fips1 | all | < 5.15.0-1085.94+fips1 | < 6.8.0-1042.45+fips1
Showing first 50 affected entries in server-rendered view.
References (53)
- https://git.kernel.org/stable/c/618d5612ecb7bfc1c85342daafeb2b47e29e77a3
- https://git.kernel.org/stable/c/556d446068f90981e5d71ca686bdaccdd545d491
- https://git.kernel.org/stable/c/0a8f806ea6b5dd64b3d1f05ff774817d5f7ddbd1
- https://git.kernel.org/stable/c/0708fd6bd8161871bfbadced2ca4319b84ab44fe
- https://git.kernel.org/stable/c/7085895c59e4057ffae17f58990ccb630087d0d2
- https://git.kernel.org/stable/c/93224deb50a8d20df3884f3672ce9f982129aa50
- https://git.kernel.org/stable/c/320ac1af4c0bdb92c864dc9250d1329234820edf
- https://git.kernel.org/stable/c/78d6f9a9eb2a5da6fcbd76d6191d24b0dcc321be
- https://git.kernel.org/stable/c/3ef938c3503563bfc2ac15083557f880d29c2e64
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
- https://ubuntu.com/security/CVE-2025-22045
- https://www.cve.org/CVERecord?id=CVE-2025-22045
- https://git.kernel.org/linus/3ef938c3503563bfc2ac15083557f880d29c2e64
- https://ubuntu.com/security/notices/USN-7585-1
- https://ubuntu.com/security/notices/USN-7585-2
- https://ubuntu.com/security/notices/USN-7591-1
- https://ubuntu.com/security/notices/USN-7591-2
- https://ubuntu.com/security/notices/USN-7591-3
- https://ubuntu.com/security/notices/USN-7592-1
- https://ubuntu.com/security/notices/USN-7593-1
- https://ubuntu.com/security/notices/USN-7594-1
- https://ubuntu.com/security/notices/USN-7591-4
- https://ubuntu.com/security/notices/USN-7597-1
- https://ubuntu.com/security/notices/USN-7597-2
- https://ubuntu.com/security/notices/USN-7598-1
- https://ubuntu.com/security/notices/USN-7585-3
- https://ubuntu.com/security/notices/USN-7585-4
- https://ubuntu.com/security/notices/USN-7594-2
- https://ubuntu.com/security/notices/USN-7602-1
- https://ubuntu.com/security/notices/USN-7585-5
- https://ubuntu.com/security/notices/USN-7605-1
- https://ubuntu.com/security/notices/USN-7606-1
- https://ubuntu.com/security/notices/USN-7585-6
- https://ubuntu.com/security/notices/USN-7591-5
- https://ubuntu.com/security/notices/USN-7605-2
- https://ubuntu.com/security/notices/USN-7594-3
- https://ubuntu.com/security/notices/USN-7628-1
- https://ubuntu.com/security/notices/USN-7585-7
- https://ubuntu.com/security/notices/USN-7640-1
- https://ubuntu.com/security/notices/USN-7591-6
- https://ubuntu.com/security/notices/USN-7655-1
- https://ubuntu.com/security/notices/USN-7835-1
- https://ubuntu.com/security/notices/USN-7835-2
- https://ubuntu.com/security/notices/USN-7835-3
- https://ubuntu.com/security/notices/USN-7835-4
- https://ubuntu.com/security/notices/USN-7835-5
- https://ubuntu.com/security/notices/USN-7835-6
- https://ubuntu.com/security/notices/USN-7887-1
- https://ubuntu.com/security/notices/USN-7887-2
- https://ubuntu.com/security/notices/USN-7940-1
- https://ubuntu.com/security/notices/USN-7940-2
- https://security-tracker.debian.org/tracker/CVE-2025-22045