CVE & CISA-KEV Catalog

CVE-2025-38508

MEDIUM
5.5
CVSS v3
NVD

Description

In the Linux kernel, the following vulnerability has been resolved: x86/sev: Use TSC_FACTOR for Secure TSC frequency calculation When using Secure TSC, the GUEST_TSC_FREQ MSR reports a frequency based on the nominal P0 frequency, which deviates slightly (typically ~0.2%) from the actual mean TSC frequency due to clocking parameters. Over extended VM uptime, this discrepancy accumulates, causing clock skew between the hypervisor and a SEV-SNP VM, leading to early timer interrupts as perceived by the guest. The guest kernel relies on the reported nominal frequency for TSC-based timekeeping, while the actual frequency set during SNP_LAUNCH_START may differ. This mismatch results in inaccurate time calculations, causing the guest to perceive hrtimers as firing earlier than expected. Utilize the TSC_FACTOR from the SEV firmware's secrets page (see "Secrets Page Format" in the SNP Firmware ABI Specification) to calculate the mean TSC frequency, ensuring accurate timekeeping and mitigating clock skew in SEV-SNP VMs. Use early_ioremap_encrypted() to map the secrets page as ioremap_encrypted() uses kmalloc() which is not available during early TSC initialization and causes a panic. [ bp: Drop the silly dummy var: https://lore.kernel.org/r/20250630192726.GBaGLlHl84xIopx4Pt@fat_crate.local ]

How to fix

Remediation Available
linux-aws-6.14Ubuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-azure-6.14Ubuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7934-1
linux-gcp-6.14Ubuntu
Fixed in:6.14.0-1020.21~24.04.1USN-7879-4
linux-hwe-6.14Ubuntu
Fixed in:6.14.0-36.36~24.04.1USN-7879-1
linux-image-6.14.0-1016-oemUbuntu
Fixed in:6.14.0-1016.16USN-7880-1
linux-image-6.14.0-1016-realtimeUbuntu
Fixed in:6.14.0-1016.16~24.04.1USN-7879-2
linux-image-6.14.0-1017-awsUbuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-6.14.0-1017-aws-64kUbuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-6.14.0-1017-azureUbuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7934-1
linux-image-6.14.0-1017-oracleUbuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-6.14.0-1017-oracle-64kUbuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-6.14.0-1020-gcpUbuntu
Fixed in:6.14.0-1020.21~24.04.1USN-7879-4
linux-image-6.14.0-1020-gcp-64kUbuntu
Fixed in:6.14.0-1020.21~24.04.1USN-7879-4
linux-image-6.14.0-36-genericUbuntu
Fixed in:6.14.0-36.36~24.04.1USN-7879-1
linux-image-6.14.0-36-generic-64kUbuntu
Fixed in:6.14.0-36.36~24.04.1USN-7879-1
linux-image-awsUbuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-aws-6.14Ubuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-aws-64kUbuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-aws-64k-6.14Ubuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-azureUbuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7934-1
linux-image-azure-6.14Ubuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7934-1
linux-image-gcpUbuntu
Fixed in:6.14.0-1020.21~24.04.1USN-7879-4
linux-image-gcp-6.14Ubuntu
Fixed in:6.14.0-1020.21~24.04.1USN-7879-4
linux-image-gcp-64kUbuntu
Fixed in:6.14.0-1020.21~24.04.1USN-7879-4
linux-image-gcp-64k-6.14Ubuntu
Fixed in:6.14.0-1020.21~24.04.1USN-7879-4
linux-image-generic-6.14Ubuntu
Fixed in:6.14.0-36.36~24.04.1USN-7879-1
linux-image-generic-64k-6.14Ubuntu
Fixed in:6.14.0-36.36~24.04.1USN-7879-1
linux-image-generic-64k-hwe-24.04Ubuntu
Fixed in:6.14.0-36.36~24.04.1USN-7879-1
linux-image-generic-hwe-24.04Ubuntu
Fixed in:6.14.0-36.36~24.04.1USN-7879-1
linux-image-oem-6.14Ubuntu
Fixed in:6.14.0-1016.16USN-7880-1
linux-image-oracleUbuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-oracle-6.14Ubuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-oracle-64kUbuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-oracle-64k-6.14Ubuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-image-realtime-6.14Ubuntu
Fixed in:6.14.0-1016.16~24.04.1USN-7879-2
linux-image-realtime-hwe-24.04Ubuntu
Fixed in:6.14.0-1016.16~24.04.1USN-7879-2
linux-image-virtual-6.14Ubuntu
Fixed in:6.14.0-36.36~24.04.1USN-7879-1
linux-image-virtual-hwe-24.04Ubuntu
Fixed in:6.14.0-36.36~24.04.1USN-7879-1
linux-oem-6.14Ubuntu
Fixed in:6.14.0-1016.16USN-7880-1
linux-oracle-6.14Ubuntu
Fixed in:6.14.0-1017.17~24.04.1USN-7879-3
linux-realtime-6.14Ubuntu
Fixed in:6.14.0-1016.16~24.04.1USN-7879-2

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.12%probability of exploitation in 30 days
2ndpercentile

Low risk: more likely to be exploited than 2% of all known CVEs.

References

Embed a live status badge for CVE-2025-38508
CVE-2025-38508 severity badge

Markdown

[![CVE-2025-38508](https://tridentstack.com/cve/badge/CVE-2025-38508.svg)](https://tridentstack.com/cve/CVE-2025-38508)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-38508"><img src="https://tridentstack.com/cve/badge/CVE-2025-38508.svg" alt="CVE-2025-38508"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-19.