In the Linux kernel, the following vulnerability has been resolved:
KVM: SVM: Fix page overflow in sev_dbg_crypt() for ENCRYPT path
In sev_dbg_crypt(), the per-iteration transfer length is bounded by the source page offset (PAGE_SIZE - s_off) but not by the destination page offset (PAGE_SIZE - d_off). When d_off > s_off, the encrypt path (__sev_dbg_encrypt_user) performs a read-modify-write using a single-page intermediate buffer (dst_tpage):
1. __sev_dbg_decrypt() expands the size to round_up(len + (d_off & 15), 16) before issuing the PSP command. If len + (d_off & 15) > PAGE_SIZE, the PSP writes beyond the end of the 4096-byte dst_tpage allocation.
2. The subsequent memcpy()/copy_from_user() into page_address(dst_tpage) + (d_off & 15) of 'len' bytes overflows by up to 15 bytes under the same condition.
Trigger example: s_off = 0, d_off = 1, debug.len = PAGE_SIZE - the PSP is instructed to write round_up(4097, 16) = 4112 bytes to a 4096-byte buffer.
Fix by also bounding len by (PAGE_SIZE - d_off), the same check that sev_send_update_data() already performs for its single-page guest region.
================================================================== BUG: KASAN: slab-use-after-free in sev_dbg_crypt+0x993/0xd10 [kvm_amd] Write of size 4095 at addr ff110062293bb009 by task sev_dbg_test/228214
CPU: 96 UID: 0 PID: 228214 Comm: sev_dbg_test Tainted: G U W 7.0.0-smp--5ce9b0c48211-dbg #156 PREEMPTLAZY Tainted: [U]=USER, [W]=WARN Hardware name: Google Astoria/astoria, BIOS 0.20250817.1-0 08/25/2025 Call Trace: <TASK> dump_stack_lvl+0x54/0x70 print_report+0xbc/0x260 kasan_report+0xa2/0xd0 kasan_check_range+0x25f/0x2c0 __asan_memcpy+0x40/0x70 sev_dbg_crypt+0x993/0xd10 [kvm_amd] sev_mem_enc_ioctl+0x33c/0x450 [kvm_amd] kvm_vm_ioctl+0x65d/0x6d0 [kvm] __se_sys_ioctl+0xb2/0x100 do_syscall_64+0xe8/0x870 entry_SYSCALL_64_after_hwframe+0x4b/0x53 </TASK>
The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x7fe72b6a0 pfn:0x62293bb memcg:ff11000112827d82 flags: 0x1400000000000000(node=1|zone=1) raw: 1400000000000000 0000000000000000 dead000000000122 0000000000000000 raw: 00000007fe72b6a0 0000000000000000 00000001ffffffff ff11000112827d82 page dumped because: kasan: bad access detected
Memory state around the buggy address: ff110062293bbf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff110062293bbf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ff110062293bc000: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ^ ff110062293bc080: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ff110062293bc100: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ================================================================== Disabling lock debugging due to kernel taint
[sean: add sample KASAN splat, Fixes, and stable@]
CVSS Details
- CVSS 3.1 Base Score: 7.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade perf-debuginfoUpgrade python-perf-debuginfoUpgrade python-perfUpgrade kernel-debuginfo-common-x86_64Upgrade kernel-toolsUpgrade kernel-livepatch-5.15.211-149.249Upgrade kernelUpgrade bpftool-debuginfoUpgrade kernel-headersUpgrade kernel-livepatch-5.10.260-259.1053Upgrade kernel-debuginfo-common-aarch64Upgrade kernel-tools-debuginfoUpgrade kernel-develUpgrade kernel-debuginfoUpgrade kernel-tools-develUpgrade perfUpgrade bpftool | Aug 2, 2026 | Aug 2, 2026 |
| Debian | — | Upgrade linux-6.1Upgrade linux | Jul 20, 2026 | Jul 20, 2026 |
| Redhat_linux | — | No solution exists | Jul 22, 2026 | Jul 19, 2026 |
| Ubuntu | — | Upgrade linux-image-ibmUpgrade linux-image-7.0.0-1011-gcpUpgrade linux-image-azure-7.0Upgrade linux-image-7.0.0-1011-oracleUpgrade linux-image-oracle-64k-7.0Upgrade linux-image-oracle-7.0Upgrade linux-image-gcp-7.0Upgrade linux-image-oracle-64kUpgrade linux-image-oem-26.04Upgrade linux-image-7.0.0-31-realtimeUpgrade linux-image-7.0.0-1013-ibmUpgrade linux-image-raspiUpgrade linux-image-generic-64kUpgrade linux-image-7.0.0-31-genericUpgrade linux-image-nvidia-bos-64kUpgrade linux-image-7.0.0-1011-gcp-64kUpgrade linux-image-raspi-realtimeUpgrade linux-image-nvidia-bos-64k-7.0Upgrade linux-image-gcpUpgrade linux-image-nvidia-64kUpgrade linux-image-realtime-64k-hwe-26.04Upgrade linux-image-7.0.0-1012-aws-64kUpgrade linux-image-7.0.0-1018-nvidiaUpgrade linux-image-7.0.0-2018-nvidia-bos-64kUpgrade linux-image-nvidia-7.0Upgrade linux-image-nvidia-64k-7.0Upgrade linux-image-virtual-hwe-26.04Upgrade linux-image-ibm-7.0Upgrade linux-image-gke-64k-7.0Upgrade linux-image-gke-64kUpgrade linux-image-generic-hwe-24.04Upgrade linux-image-7.0.0-31-realtime-64kUpgrade linux-image-nvidiaUpgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-azure-lts-26.04Upgrade linux-image-azureUpgrade linux-image-7.0.0-1006-gkeUpgrade linux-image-oem-26.04bUpgrade linux-image-virtualUpgrade linux-image-raspi-realtime-7.0Upgrade linux-image-7.0.0-1014-azureUpgrade linux-image-gcp-64k-7.0Upgrade linux-image-realtimeUpgrade linux-image-virtual-hwe-24.04Upgrade linux-image-genericUpgrade linux-image-gke-7.0Upgrade linux-image-7.0.0-1012-awsUpgrade linux-image-7.0.0-1018-nvidia-64kUpgrade linux-image-realtime-7.0Upgrade linux-image-7.0.0-1013-oemUpgrade linux-image-7.0.0-2018-nvidia-bosUpgrade linux-image-generic-64k-hwe-26.04Upgrade linux-image-generic-7.0Upgrade linux-image-generic-64k-7.0Upgrade linux-image-nvidia-64k-hwe-26.04Upgrade linux-image-oem-26.04aUpgrade linux-image-7.0.0-31-generic-64kUpgrade linux-image-aws-64kUpgrade linux-image-7.0.0-1019-raspiUpgrade linux-image-oracleUpgrade linux-image-raspi-7.0Upgrade linux-image-realtime-64k-7.0Upgrade linux-image-7.0.0-1011-oracle-64kUpgrade linux-image-nvidia-bosUpgrade linux-image-realtime-64kUpgrade linux-image-generic-hwe-26.04Upgrade linux-image-realtime-hwe-26.04Upgrade linux-image-7.0.0-1006-gke-64kUpgrade linux-image-nvidia-bos-7.0Upgrade linux-image-gke-64k-hwe-26.04Upgrade linux-image-oem-7.0Upgrade linux-image-gcp-64kUpgrade linux-image-virtual-7.0Upgrade linux-image-7.0.0-1019-raspi-realtimeUpgrade linux-image-awsUpgrade linux-image-aws-64k-7.0Upgrade linux-image-nvidia-hwe-26.04Upgrade linux-image-aws-7.0Upgrade linux-image-gkeUpgrade linux-image-gke-hwe-26.04 | Sep 14, 2026 | Sep 7, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jul 27, 2026 | Jul 19, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub