CVE-2025-39936
publishedcrypto: ccp - Always pass in an error pointer to __sev_platform_shutdown_locked()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe6bef2d0dfa036afc32df982240d0368b17ee7fd to < fa30d62ab62d8a123f20febaca4390525e2d2ad5 · 9770b428b1a28360663f1f5e524ee458b4cf454b to < bc509293c9d4f4f74e776f4a0bbb61f63c041938 · 9770b428b1a28360663f1f5e524ee458b4cf454b to < 46834d90a9a13549264b9581067d8f746b4b36cc · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.16.9 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el10uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
| Oracle Linux | 9 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-206.104.3.3.el9uek | ELSA-2026-500248 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e6bef2d0dfa036afc32df982240d0368b17ee7fd to < fa30d62ab62d8a123f20febaca4390525e2d2ad5 (affected · git)9770b428b1a28360663f1f5e524ee458b4cf454b to < bc509293c9d4f4f74e776f4a0bbb61f63c041938 (affected · git)9770b428b1a28360663f1f5e524ee458b4cf454b to < 46834d90a9a13549264b9581067d8f746b4b36cc (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.16 (affected)0 to < 6.16 (unaffected · semver)6.16.9 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
crypto: ccp - Always pass in an error pointer to __sev_platform_shutdown_locked()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ce7dfa660cf1a740a996258a21537d49a0141421c06048341bca0a5e29d4d145
- Ingested
- 23 Sep 2026, 08:47:06 UTC
- Source record
- Official CVE record