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

CVE-2023-53996
CRITICAL 9.3

At a glance

Source
NVD
EPSS
EPSS 0.11 % · percentile 1 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.3CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.3CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 064ce6c550a0630789978bfec7a13ab2bd1bdcdf < ba50e7773a99a109a1ea6f753b766a080d3b21cc ; affected 064ce6c550a0630789978bfec7a13ab2bd1bdcdf < 6615212d8e131b45bd9705b0d69cc0d2f624666f ; affected 064ce6c550a0630789978bfec7a13ab2bd1bdcdf < 8ae7457e71a320867d868f2622d7c643596e4f43 ; affected 064ce6c550a0630789978bfec7a13ab2bd1bdcdf < ac3f9c9f1b37edaa7d1a9b908bc79d843955a1a2
Linux · Linuxaffected 5.16 ; unaffected 0 < 5.16 ; unaffected 6.1.53 ≤ 6.1.* ; unaffected 6.4.16 ≤ 6.4.* ; unaffected 6.5.3 ≤ 6.5.* ; unaffected 6.6 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD