CVE-2025-39936
BaseFortify
Publication date: 2025-10-04
Last updated on: 2026-03-25
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a NULL pointer dereference in the Linux kernel's crypto CCP driver related to SEV (Secure Encrypted Virtualization) firmware shutdown. Specifically, the function __sev_platform_shutdown_locked() was called with a NULL error pointer, causing a kernel NULL pointer dereference during the suspend-to-disk process. This leads to a kernel crash (Oops) when the system tries to suspend, due to improper error handling in the shutdown path of the SEV firmware.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to crash (kernel panic) during system suspend operations, particularly when suspending the CCP device related to SEV firmware. This can lead to system instability, unexpected reboots, or failure to properly suspend or shutdown, potentially causing data loss or service disruption.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring kernel logs for specific error messages related to SEV/SNP shutdown failures and NULL pointer dereferences during suspend to disk. Look for messages such as 'sev command 0x2 timed out, disabling PSP', 'SEV: failed to SHUTDOWN error 0x0', and kernel oops related to __sev_platform_shutdown_locked. Commands like 'dmesg | grep -i sev' or 'journalctl -k | grep sev' can help identify these errors in system logs.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation involves updating the Linux kernel to a version where this vulnerability is fixed, as the issue is resolved by passing a proper error pointer to __sev_platform_shutdown_locked to avoid NULL pointer dereference. Until the update is applied, avoid suspending the system to disk (hibernation) on affected hardware to prevent triggering the bug.