All reports
Medium

kernel: x86/sev: Make enc_dec_hypercall() accept a size instead of npages

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2023-53996

Probability of exploitation in the next 30 days: 0.11%

FIRST EPSS · 2026-11-21

Description

In the Linux kernel, the following vulnerability has been resolved: x86/sev: Make enc_dec_hypercall() accept a size instead of npages enc_dec_hypercall() accepted a page count instead of a size, which forced its callers to round up. As a result, non-page aligned vaddrs caused pages to be spuriously marked as decrypted via the encryption status hypercall, which in turn caused consistent corruption of pages during live migration. Live migration requires accurate encryption status information to avoid migrating pages from the wrong perspective.

A flaw was found in the Linux kernel's handling of AMD Secure Encrypted Virtualization (SEV). When processing unaligned memory addresses, the kernel miscalculates memory encryption boundaries by tracking page counts instead of exact byte sizes. During the live migration of a virtual machine, this error causes memory pages to be incorrectly marked as decrypted, leading to guest memory corruption and a Denial of Service (DoS).