CVE-2025-38508
Description
A flaw was found in the Linux kernel. In virtual machines running AMD Secure Encrypted Virtualization-Secure Nested Paging (SEV-SNP) with Secure Time Stamp Counter (TSC) enabled, the guest kernel calculates timekeeping using a nominal frequency rather than the actual hardware frequency factor provided by firmware. Over extended uptime, this discrepancy accumulates into clock drift between the host hypervisor and the virtual machine, causing system timers to trigger prematurely. This timing inaccuracy can disrupt time-sensitive workloads operating inside the virtual machine.
Statement
This vulnerability does not affect supported Red Hat Enterprise Linux releases because the vulnerable code is not present in Red Hat kernels. The underlying issue causes clock skew and premature timer firing in AMD SEV-SNP guest environments under specific Secure TSC configurations. Because the problematic logic was introduced in later upstream kernels, Red Hat systems are not exposed to this flaw.
Understanding the Weakness (CWE)
Availability
Technical Impact: DoS: Crash, Exit, or Restart
This weakness will generally lead to undefined results and therefore crashes. In some implementations the program will halt if the weakness causes an overflow during a calculation.
Integrity
Technical Impact: Execute Unauthorized Code or Commands
The results of the math are not as expected. This could cause issues where a value would not be properly calculated and provide an incorrect answer.
Confidentiality,Availability,Access Control
Technical Impact: Read Application Data; Modify Application Data
This weakness can sometimes trigger buffer overflows which can be used to execute arbitrary code. This is usually outside the scope of a product's implicit security policy.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.