Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-38508— x86/sev: Use TSC_FACTOR for Secure TSC frequency calculation

EPSS 0.03% · P8
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-38508

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
x86/sev: Use TSC_FACTOR for Secure TSC frequency calculation
Source: NVD (National Vulnerability Database)
Vulnerability 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 ]
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于Secure TSC频率计算未使用TSC_FACTOR,可能导致时间不准确。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 73bbf3b0fbba9aa27fef07a1fbd837661a863f03 ~ d0195c42e65805938c9eb507657e7cdf8e1e9522 -
LinuxLinux 6.14 -

II. Public POCs for CVE-2025-38508

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-38508

登录查看更多情报信息。

Same Patch Batch · Linux · 2025-08-16 · 59 CVEs total

CVE-2025-38520drm/amdkfd: Don't call mmput from MMU notifier callback
CVE-2025-38507HID: nintendo: avoid bluetooth suspend/resume stalls
CVE-2025-38504io_uring/zcrx: fix pp destruction warnings
CVE-2025-38505wifi: mwifiex: discard erroneous disassoc frames on STA interface
CVE-2025-38506KVM: Allow CPU to reschedule while setting per-page memory attributes
CVE-2025-38503btrfs: fix assertion when building free space tree
CVE-2025-38516pinctrl: qcom: msm: mark certain pins as invalid for interrupts
CVE-2025-38517lib/alloc_tag: do not acquire non-existent lock in alloc_tag_top_users()
CVE-2025-38518x86/CPU/AMD: Disable INVLPGB on Zen2
CVE-2025-38519mm/damon: fix divide by zero in damon_get_intervals_score()
CVE-2025-38515drm/sched: Increment job count before swapping tail spsc queue
CVE-2025-38521drm/imagination: Fix kernel crash when hard resetting the GPU
CVE-2025-38522sched/ext: Prevent update_locked_rq() calls with NULL rq
CVE-2025-38523cifs: Fix the smbd_response slab to allow usercopy
CVE-2025-38524rxrpc: Fix recv-recv race of completed call
CVE-2025-38525rxrpc: Fix irq-disabled in local_bh_enable()
CVE-2025-38526ice: add NULL check in eswitch lag check
CVE-2025-38527smb: client: fix use-after-free in cifs_oplock_break
CVE-2025-38528bpf: Reject %p% format string in bprintf-like helpers
CVE-2025-38529comedi: aio_iiro_16: Fix bit shift out of bounds

Showing top 20 of 59 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2025-38508

No comments yet


Leave a comment