x86/sev: Make enc_dec_hypercall() accept a size instead of npages
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6615212d8e131b45bd9705b0d69cc0d2f624666f, Kernel 8ae7457e71a320867d868f2622d7c643596e4f43, Kernel ac3f9c9f1b37edaa7d1a9b908bc79d843955a1a2 and 1 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.16, >=064ce6c550a0630789978bfec7a13ab2bd1bdcdf <6615212d8e131b45bd9705b0d69cc0d2f624666f, >=064ce6c550a0630789978bfec7a13ab2bd1bdcdf <8ae7457e71a320867d868f2622d7c643596e4f43, >=064ce6c550a0630789978bfec7a13ab2bd1bdcdf <ac3f9c9f1b37edaa7d1a9b908bc79d843955a1a2, >=064ce6c550a0630789978bfec7a13ab2bd1bdcdf <ba50e7773a99a109a1ea6f753b766a080d3b21cc | 6615212d8e131b45bd9705b0d69cc0d2f624666f, 8ae7457e71a320867d868f2622d7c643596e4f43, ac3f9c9f1b37edaa7d1a9b908bc79d843955a1a2, ba50e7773a99a109a1ea6f753b766a080d3b21cc |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket