← CVE Intelligence

CVE-2023-53996

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

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 064ce6c550a0630789978bfec7a13ab2bd1bdcdf before ba50e7773a99a109a1ea6f753b766a080d3b21cc; affected 064ce6c550a0630789978bfec7a13ab2bd1bdcdf before 6615212d8e131b45bd9705b0d69cc0d2f624666f; affected 064ce6c550a0630789978bfec7a13ab2bd1bdcdf before 8ae7457e71a320867d868f2622d7c643596e4f43; affected 064ce6c550a0630789978bfec7a13ab2bd1bdcdf before ac3f9c9f1b37edaa7d1a9b908bc79d843955a1a2
Linux / Linuxaffected 5.16; unaffected 0 before 5.16; unaffected 6.1.53 through 6.1.*; unaffected 6.4.16 through 6.4.*; unaffected 6.5.3 through 6.5.*; unaffected 6.6 through *

CWE

No CWE identifiers supplied.

References