CVE-2025-38508
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38508 is a vulnerability discovered in the Linux kernel, specifically affecting the x86/sev component related to Secure TSC frequency calculation. The issue was disclosed on August 16, 2025, and involves a timing discrepancy in SEV-SNP VMs. The vulnerability affects Linux kernel systems utilizing AMD SEV-SNP technology (NVD, Debian Tracker).

Technical details

The vulnerability stems from a mismatch between the reported and actual TSC (Time Stamp Counter) frequencies in SEV-SNP VMs. The GUEST_TSC_FREQ MSR reports a frequency based on the nominal P0 frequency, which deviates approximately 0.2% from the actual mean TSC frequency due to clocking parameters. This discrepancy accumulates over extended VM uptime, resulting in clock skew between the hypervisor and SEV-SNP VM. The issue manifests when the guest kernel relies on the reported nominal frequency for TSC-based timekeeping, while the actual frequency set during SNP_LAUNCH_START differs (Ubuntu Security).

Impact

The vulnerability causes inaccurate time calculations in affected systems, leading to early timer interrupts as perceived by the guest. This timing discrepancy can result in the guest perceiving hrtimers as firing earlier than expected, potentially affecting application timing and system operations in SEV-SNP virtual machines (Debian Tracker).

Mitigation and workarounds

The fix involves utilizing the TSC_FACTOR from the SEV firmware's secrets page to calculate the mean TSC frequency, ensuring accurate timekeeping and mitigating clock skew in SEV-SNP VMs. The implementation uses early_ioremap_encrypted() to map the secrets page, as ioremap_encrypted() uses kmalloc() which is not available during early TSC initialization (Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-core
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-doc
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management