# CVE-2023-53996: x86/sev: Make enc_dec_hypercall() accept a size instead of npages

- Severity: Critical 9.3 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2025-12-24T10:55:33.402Z
- Modified: 2026-08-05T09:16:33.065Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 064ce6c550a0630789978bfec7a13ab2bd1bdcdf before ba50e7773a99a109a1ea6f753b766a080d3b21cc; from 064ce6c550a0630789978bfec7a13ab2bd1bdcdf before 6615212d8e131b45bd9705b0d69cc0d2f624666f; from 064ce6c550a0630789978bfec7a13ab2bd1bdcdf before 8ae7457e71a320867d868f2622d7c643596e4f43; from 064ce6c550a0630789978bfec7a13ab2bd1bdcdf before ac3f9c9f1b37edaa7d1a9b908bc79d843955a1a2; 5.16 (not affected: before 5.16; from 6.1.53 up to 6.1.*; from 6.4.16 up to 6.4.*; from 6.5.3 up to 6.5.*; from 6.6 up to *)

## References

- <https://git.kernel.org/stable/c/ba50e7773a99a109a1ea6f753b766a080d3b21cc>
- <https://git.kernel.org/stable/c/6615212d8e131b45bd9705b0d69cc0d2f624666f>
- <https://git.kernel.org/stable/c/8ae7457e71a320867d868f2622d7c643596e4f43>
- <https://git.kernel.org/stable/c/ac3f9c9f1b37edaa7d1a9b908bc79d843955a1a2>

## Sources

- CVE List: [CVE-2023-53996](https://www.cve.org/CVERecord?id=CVE-2023-53996), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2023-53996](https://nvd.nist.gov/vuln/detail/CVE-2023-53996), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2023-53996 · Whole record: https://cve.day/CVE-2023-53996.json · Rebuilt by cve.day 2026-11-25T22:58:35.134Z
