CVE-2025-39936: crypto: ccp - Always pass in an error pointer to __sev_platform_shutdown_locked()
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.14% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 46834d90a9a13549264b9581067d8f746b4b36cc, bc509293c9d4f4f74e776f4a0bbb61f63c041938, fa30d62ab62d8a123f20febaca4390525e2d2ad5.
Low priority for now. Upgrade to Linux Linux 46834d90a9a13549264b9581067d8f746b4b36cc, bc509293c9d4f4f74e776f4a0bbb61f63c041938, fa30d62ab62d8a123f20febaca4390525e2d2ad5 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Always pass in an error pointer to __sev_platform_shutdown_locked() When 9770b428b1a2 ("crypto: ccp - Move dev_info/err messages for SEV/SNP init and shutdown") moved the error messages dumping so that they don't need to be issued by the callers, it missed the case where __sev_firmware_shutdown() calls __sev_platform_shutdown_locked() with a NULL argument which leads to a NULL ptr deref on the shutdown path, during suspend to disk: #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 0 P4D 0 Oops: Oops: 0000 [#1] SMP NOPTI CPU: 0 UID: 0 PID: 983 Comm: hib.sh Not tainted 6.17.0-rc4+ #1 PREEMPT(voluntary) Hardware name: Supermicro Super Server/H12SSL-i, BIOS 2.5 09/08/2022 RIP: 0010:__sev_platform_shutdown_locked.cold+0x0/0x21 [ccp] That rIP is: 00000000000006fd <__sev_platform_shutdown_locked.cold>: 6fd: 8b 13 mov (%rbx),%edx 6ff: 48 8b 7d 00 mov 0x0(%rbp),%rdi 703: 89 c1 mov %eax,%ecx Code: 74 05 31 ff 41 89 3f 49 8b 3e 89 ea 48 c7 c6 a0 8e 54 a0 41 bf 92 ff ff ff e8 e5 2e 09 e1 c6 05 2a d4 38 00 01 e9 26 af ff ff <8b> 13 48 8b 7d 00 89 c1 48 c7 c6 18 90 54 a0 89 44 24 04 e8 c1 2e RSP: 0018:ffffc90005467d00 EFLAGS: 00010282 RAX: 00000000ffffff92 RBX: 0000000000000000 RCX: 0000000000000000 ^^^^^^^^^^^^^^^^ and %rbx is nice and clean. Call Trace: <TASK> __sev_firmware_shutdown.isra.0 sev_dev_destroy psp_dev_destroy sp_destroy pci_device_shutdown device_shutdown kernel_power_off hibernate.cold state_store kernfs_fop_write_iter vfs_write ksys_write do_syscall_64 entry_SYSCALL_64_after_hwframe Pass in a pointer to the function-local error var in the caller. With that addressed, suspending the ccp shows the error properly at least: ccp 0000:47:00.1: sev command 0x2 timed out, disabling PSP ccp 0000:47:00.1: SEV: failed to SHUTDOWN error 0x0, rc -110 SEV-SNP: Leaking PFN range 0x146800-0x146a00 SEV-SNP: PFN 0x146800 unassigned, dumping non-zero entries in 2M PFN region: [0x146800 - 0x146a00] ... ccp 0000:47:00.1: SEV-SNP firmware shutdown failed, rc -16, error 0x0 ACPI: PM: Preparing to enter system sleep state S5 kvm: exiting hardware virtualization reboot: Power down Btw, this driver is crying to be cleaned up to pass in a proper I/O struct which can be used to store information between the different functions, otherwise stuff like that will happen in the future again.
- Published
- Oct 4, 2025
- Updated
- Oct 19, 2026
- EPSS
- 0.1% · 4th percentile
- CWE
- CWE-476
Report tools
Action score
22
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 6.16affected
- e6bef2d0dfa036afc32df982240d0368b17ee7fd and later · before fa30d62ab62d8a123f20febaca4390525e2d2ad5affected · git
- 9770b428b1a28360663f1f5e524ee458b4cf454b and later · before bc509293c9d4f4f74e776f4a0bbb61f63c041938affected · git
- 9770b428b1a28360663f1f5e524ee458b4cf454b and later · before 46834d90a9a13549264b9581067d8f746b4b36ccaffected · git
- before 6.16not affected · semver
- 6.16.9 and later · up to and including 6.16.*not affected · semver
- 6.17 and laternot affected · original_commit_for_fix
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel6.16 and later · before 6.16.9
- linux linux kernel6.17
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:14 | linux | before 6.16.9-1 | 6.16.9-1 |
| openSUSE:Leap 16.0 | dtb-aarch64 | before 6.12.0-160000.41.1 | 6.12.0-160000.41.1 |
| openSUSE:Leap 16.0 | kernel-64kb | before 6.12.0-160000.41.1 | 6.12.0-160000.41.1 |
| openSUSE:Leap 16.0 | kernel-azure | before 6.12.0-160000.41.1 | 6.12.0-160000.41.1 |
| openSUSE:Leap 16.0 | kernel-default | before 6.12.0-160000.41.1 | 6.12.0-160000.41.1 |
| openSUSE:Leap 16.0 | kernel-default-base | before 6.12.0-160000.41.1.160000.2.31 | 6.12.0-160000.41.1.160000.2.31 |
| openSUSE:Leap 16.0 | kernel-docs | before 6.12.0-160000.41.1 | 6.12.0-160000.41.1 |
| openSUSE:Leap 16.0 | kernel-kvmsmall | before 6.12.0-160000.41.1 | 6.12.0-160000.41.1 |
| openSUSE:Leap 16.0 | kernel-obs-build | before 6.12.0-160000.41.1 | 6.12.0-160000.41.1 |
| openSUSE:Leap 16.0 | kernel-obs-qa | before 6.12.0-160000.41.1 | 6.12.0-160000.41.1 |
| openSUSE:Leap 16.0 | kernel-rt | before 6.12.0-160000.41.1 | 6.12.0-160000.41.1 |
| openSUSE:Leap 16.0 | kernel-source | before 6.12.0-160000.41.1 | 6.12.0-160000.41.1 |
| openSUSE:Leap 16.0 | kernel-syms | before 6.12.0-160000.41.1 | 6.12.0-160000.41.1 |
| openSUSE:Leap 16.0 | kernel-zfcpdump | before 6.12.0-160000.41.1 | 6.12.0-160000.41.1 |
| openSUSE:Leap 16.1 | dtb-aarch64 | before 6.12.0-160100.9.1 | 6.12.0-160100.9.1 |
| openSUSE:Leap 16.1 | kernel-64kb | before 6.12.0-160100.9.1 | 6.12.0-160100.9.1 |
| openSUSE:Leap 16.1 | kernel-azure | before 6.12.0-160100.9.1 | 6.12.0-160100.9.1 |
| openSUSE:Leap 16.1 | kernel-default | before 6.12.0-160100.9.1 | 6.12.0-160100.9.1 |
| openSUSE:Leap 16.1 | kernel-default-base | before 6.12.0-160100.9.1.160100.3.14 | 6.12.0-160100.9.1.160100.3.14 |
| openSUSE:Leap 16.1 | kernel-docs | before 6.12.0-160100.9.1 | 6.12.0-160100.9.1 |
| openSUSE:Leap 16.1 | kernel-kvmsmall | before 6.12.0-160100.9.1 | 6.12.0-160100.9.1 |
| openSUSE:Leap 16.1 | kernel-nvidia64kb | before 6.12.0-160100.7.1 | 6.12.0-160100.7.1 |
| openSUSE:Leap 16.1 | kernel-obs-build | before 6.12.0-160100.9.1 | 6.12.0-160100.9.1 |
| openSUSE:Leap 16.1 | kernel-obs-qa | before 6.12.0-160100.9.1 | 6.12.0-160100.9.1 |
+20
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2025-39934Oct 4, 2025 · drm: bridge: anx7625: Fix NULL pointer dereference with early IRQ22Monitor
- ← EarlierCVE-2025-39935Oct 4, 2025 · ASoC: codec: sma1307: Fix memory corruption in sma1307_setting_loaded()31Monitor
- Later →CVE-2025-39937Oct 4, 2025 · net: rfkill: gpio: Fix crash due to dereferencering uninitialized pointer22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 46834d90a9a13549264b9581067d8f746b4b36cc | Vendor (CNA) |
| Linux Linux | bc509293c9d4f4f74e776f4a0bbb61f63c041938 | Vendor (CNA) |
| Linux Linux | fa30d62ab62d8a123f20febaca4390525e2d2ad5 | Vendor (CNA) |
| debian:linux | 6.16.9-1 · Debian:14 | Package registry (OSV) |
| opensuse:dtb-aarch64 | 6.12.0-160000.41.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-64kb | 6.12.0-160000.41.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-azure | 6.12.0-160000.41.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-default | 6.12.0-160000.41.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-default-base | 6.12.0-160000.41.1.160000.2.31 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-docs | 6.12.0-160000.41.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-kvmsmall | 6.12.0-160000.41.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-obs-build | 6.12.0-160000.41.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-obs-qa | 6.12.0-160000.41.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-rt | 6.12.0-160000.41.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-source | 6.12.0-160000.41.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:kernel-syms | 6.12.0-160000.41.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| suse:kernel-64kb | 6.12.0-160000.41.1 · SUSE:Linux Micro 6.2 | Package registry (OSV) |
| suse:kernel-azure | 6.12.0-160000.41.1 · SUSE:Linux Enterprise Server 16.0 | Package registry (OSV) |
| suse:kernel-default | 6.12.0-160000.41.1 · SUSE:Linux Micro 6.2 | Package registry (OSV) |
| suse:kernel-default-base | 6.12.0-160000.41.1.160000.2.32 · SUSE:Linux Micro 6.2 | Package registry (OSV) |
| suse:kernel-docs | 6.12.0-160000.41.1 · SUSE:Linux Enterprise Server 16.0 | Package registry (OSV) |
| suse:kernel-kvmsmall | 6.12.0-160000.41.1 · SUSE:Linux Enterprise Server 16.0 | Package registry (OSV) |
| suse:kernel-obs-build | 6.12.0-160000.41.1 · SUSE:Linux Micro Extras 6.2 | Package registry (OSV) |
| suse:kernel-obs-qa | 6.12.0-160000.41.1 · SUSE:Linux Enterprise Server 16.0 | Package registry (OSV) |
| suse:kernel-rt | 6.12.0-160000.41.1 · SUSE:Linux Micro 6.2 | Package registry (OSV) |
| suse:kernel-source | 6.12.0-160000.41.1 · SUSE:Linux Micro 6.2 | Package registry (OSV) |
| suse:kernel-syms | 6.12.0-160000.41.1 · SUSE:Linux Micro Extras 6.2 | Package registry (OSV) |
| suse:kernel-zfcpdump | 6.12.0-160000.41.1 · SUSE:Linux Enterprise Server 16.0 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-476 · NULL Pointer DereferenceCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (2 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.