In the Linux kernel, the following vulnerability has been resolved: KVM: SVM: Fix page overflow in sev_dbg_crypt() for ENCRYPT path In… (CVE-2026-63794)
A vulnerability in the Linux kernel's KVM SVM module was fixed to address a page overflow in the sev_dbg_crypt() function during the ENCRYPT path. The issue arises because the per-iteration transfer length was bounded by the source page offset but not by the destination page offset, leading to a potential buffer overflow of up to 15 bytes. This flaw could cause a write beyond the allocated 4096-byte buffer, resulting in memory corruption. The vulnerability was identified and fixed by adding proper bounds checking on the destination offset. The flaw is related to a use-after-free detected by KASAN during debugging. No affected versions are explicitly stated in the provided data. The vulnerability has a high severity rating based on its impact on confidentiality, integrity, and availability.
AI Analysis
Technical Summary
The Linux kernel vulnerability CVE-2026-63794 involves a page overflow in the sev_dbg_crypt() function within the KVM SVM module's ENCRYPT path. The flaw occurs because the transfer length per iteration is bounded by the source page offset but not by the destination page offset. When the destination offset (d_off) is greater than the source offset (s_off), the encryption path performs a read-modify-write using a single-page intermediate buffer (dst_tpage) that is only 4096 bytes in size. The PSP command writes more bytes than the buffer can hold, causing a buffer overflow of up to 15 bytes. This leads to memory corruption and a use-after-free condition detected by KASAN. The fix bounds the length by the destination page offset to prevent overflow, aligning with existing checks in sev_send_update_data(). The vulnerability is classified under CWE-787 (Out-of-bounds Write). No explicit affected versions are provided. The vulnerability has a high severity rating due to its potential impact on confidentiality, integrity, and availability.
Potential Impact
The vulnerability allows a buffer overflow of up to 15 bytes in a kernel memory buffer during encryption operations in the KVM SVM module. This can lead to memory corruption and use-after-free conditions, potentially compromising system stability and security. The CVSS vector indicates local attack vector with low attack complexity and low privileges required, no user interaction, unchanged scope, and high impact on confidentiality, integrity, and availability. This means an attacker with local access and limited privileges could exploit this flaw to cause significant damage to the system's security and stability.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by bounding the transfer length by the destination page offset to prevent buffer overflow. Since no explicit patch links or affected versions are provided, users should apply the latest Linux kernel updates that include this fix. Monitor the official Linux kernel advisories and update to a fixed kernel version once available. Patch status is not yet confirmed from the vendor advisory; check the Linux kernel security advisories for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: KVM: SVM: Fix page overflow in sev_dbg_crypt() for ENCRYPT path In… (CVE-2026-63794)
Description
A vulnerability in the Linux kernel's KVM SVM module was fixed to address a page overflow in the sev_dbg_crypt() function during the ENCRYPT path. The issue arises because the per-iteration transfer length was bounded by the source page offset but not by the destination page offset, leading to a potential buffer overflow of up to 15 bytes. This flaw could cause a write beyond the allocated 4096-byte buffer, resulting in memory corruption. The vulnerability was identified and fixed by adding proper bounds checking on the destination offset. The flaw is related to a use-after-free detected by KASAN during debugging. No affected versions are explicitly stated in the provided data. The vulnerability has a high severity rating based on its impact on confidentiality, integrity, and availability.
CVSS v3.1
Score 7.8high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability CVE-2026-63794 involves a page overflow in the sev_dbg_crypt() function within the KVM SVM module's ENCRYPT path. The flaw occurs because the transfer length per iteration is bounded by the source page offset but not by the destination page offset. When the destination offset (d_off) is greater than the source offset (s_off), the encryption path performs a read-modify-write using a single-page intermediate buffer (dst_tpage) that is only 4096 bytes in size. The PSP command writes more bytes than the buffer can hold, causing a buffer overflow of up to 15 bytes. This leads to memory corruption and a use-after-free condition detected by KASAN. The fix bounds the length by the destination page offset to prevent overflow, aligning with existing checks in sev_send_update_data(). The vulnerability is classified under CWE-787 (Out-of-bounds Write). No explicit affected versions are provided. The vulnerability has a high severity rating due to its potential impact on confidentiality, integrity, and availability.
Potential Impact
The vulnerability allows a buffer overflow of up to 15 bytes in a kernel memory buffer during encryption operations in the KVM SVM module. This can lead to memory corruption and use-after-free conditions, potentially compromising system stability and security. The CVSS vector indicates local attack vector with low attack complexity and low privileges required, no user interaction, unchanged scope, and high impact on confidentiality, integrity, and availability. This means an attacker with local access and limited privileges could exploit this flaw to cause significant damage to the system's security and stability.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by bounding the transfer length by the destination page offset to prevent buffer overflow. Since no explicit patch links or affected versions are provided, users should apply the latest Linux kernel updates that include this fix. Monitor the official Linux kernel advisories and update to a fixed kernel version once available. Patch status is not yet confirmed from the vendor advisory; check the Linux kernel security advisories for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-8vm9-66j5-xm27
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-63794"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- 3.1
Threat ID: 6a5d27ad2a4a8d5989131c0f
Added to database: 07/19/2026, 19:38:21 UTC
Last enriched: 07/31/2026, 01:24:45 UTC
Last updated: 09/03/2026, 10:52:10 UTC
Views: 81
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.