Fixed
Created: Aug 17, 2025
Updated: Sep 1, 2025
Resolved Date: Aug 17, 2025
Found In Version: 10.25.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 25
Component/s: Kernel
In the Linux kernel, the following vulnerability has been resolved:EOL][EOL]x86/sev: Use TSC_FACTOR for Secure TSC frequency calculation[EOL][EOL]When using Secure TSC, the GUEST_TSC_FREQ MSR reports a frequency based on[EOL]the nominal P0 frequency, which deviates slightly (typically ~0.2%) from[EOL]the actual mean TSC frequency due to clocking parameters.[EOL][EOL]Over extended VM uptime, this discrepancy accumulates, causing clock skew[EOL]between the hypervisor and a SEV-SNP VM, leading to early timer interrupts as[EOL]perceived by the guest.[EOL][EOL]The guest kernel relies on the reported nominal frequency for TSC-based[EOL]timekeeping, while the actual frequency set during SNP_LAUNCH_START may[EOL]differ. This mismatch results in inaccurate time calculations, causing the[EOL]guest to perceive hrtimers as firing earlier than expected.[EOL][EOL]Utilize the TSC_FACTOR from the SEV firmware's secrets page (see "Secrets[EOL]Page Format" in the SNP Firmware ABI Specification) to calculate the mean[EOL]TSC frequency, ensuring accurate timekeeping and mitigating clock skew in[EOL]SEV-SNP VMs.[EOL][EOL]Use early_ioremap_encrypted() to map the secrets page as[EOL]ioremap_encrypted() uses kmalloc() which is not available during early TSC[EOL]initialization and causes a panic.[EOL][EOL] [ bp: Drop the silly dummy var:[EOL] https://lore.kernel.org/r/20250630192726.GBaGLlHl84xIopx4Pt@fat_crate.local ]
CREATE(Triage):(User=pbi-cn) [CVE-2025-38508 (https://nvd.nist.gov/vuln/detail/CVE-2025-38508)