Skip to content
CVE PROGRAM SOURCE RECORD9.3 Critical

CVE-2023-53996

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 064ce6c550a0630789978bfec7a13ab2bd1bdcdf to < ba50e7773a99a109a1ea6f753b766a080d3b21ccaffected
  • 064ce6c550a0630789978bfec7a13ab2bd1bdcdf to < 6615212d8e131b45bd9705b0d69cc0d2f624666faffected
  • 064ce6c550a0630789978bfec7a13ab2bd1bdcdf to < 8ae7457e71a320867d868f2622d7c643596e4f43affected
  • 064ce6c550a0630789978bfec7a13ab2bd1bdcdf to < ac3f9c9f1b37edaa7d1a9b908bc79d843955a1a2affected

Linux Linux

Default version status: affected

  • 5.16affected
  • 0 to < 5.16unaffected
  • 6.1.53 to ≤ 6.1.*unaffected
  • 6.4.16 to ≤ 6.4.*unaffected
  • 6.5.3 to ≤ 6.5.*unaffected
  • 6.6 to ≤ *unaffected

References