PT-2025-46738 · Unknown+4 · Trusted Platform Module+4

Published

2025-08-27

·

Updated

2026-02-24

·

CVE-2025-40181

CVSS v2.0

4.6

Medium

VectorAV:L/AC:L/Au:S/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.16.0-rc7+
Description The Linux kernel contained a flaw related to memory mapping within KVM when running as a Secure Nested Paging (SNP) or Trusted Execution Technology (TDX) guest. Specifically, the legacy PCI hole, the memory region between the Top of Lower Usable DRAM and 4GiB, was not consistently mapped as Uncacheable (UC). This occurred when overriding Memory Type Range Registers (MTRRs) for TDX/SNP. The issue stemmed from the ACPI driver always mapping SystemMemory regions as Writeback (WB) on x86, while dedicated device drivers, such as those for the HPET and TPM, required Uncacheable or Write-Combine (WC) mappings. On bare metal and non-CoCO systems, firmware typically configured the PCI hole as UC, allowing the kernel to handle MTRR overrides correctly. However, with forced WB MTRRs in SNP and TDX guests, ACPI mappings could incorrectly request WB if established before the dedicated driver initialization, leading to ioremap failures and device probe errors, such as those observed with the TPM Trusted Platform Module (TPM).
Recommendations Update to Linux kernel version 6.16.0-rc7+ or a later version that includes the fix.

Exploit

Fix

Use After Free

Improper Initialization

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-16150
CVE-2025-40181
OPENSUSE-SU-2026:20826-1
SUSE-SU-2026:0447-1
SUSE-SU-2026:0472-1
SUSE-SU-2026:0587-1
SUSE-SU-2026:21841-1
SUSE-SU-2026:21845-1
SUSE-SU-2026:21860-1
USN-8029-1
USN-8029-2
USN-8029-3
USN-8048-1

Affected Products

Hpet
Linuxmint
Linux Kernel
Trusted Platform Module
Ubuntu