Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: virt: sev-guest: Explicitly leak pages in unknown state When set_memory_{encrypted,decrypted}() fail, the user cannot know at which point the function failed, meaning that the pages are left in an unknown state from the point of view of the caller. Since the pages may be left in an unencrypted state, they are not suitable for general use, and cannot be returned safely to the buddy allocator. Avoid the issue by never freeing the pages, and then do the proper accounting by calling snp_leak_pages().
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 3e385c0d6ce88ac9916dcf84267bd5855d830748 before bee400ad4f4259c9c0758e4f1960a1eed6f6f9f0; affected 3e385c0d6ce88ac9916dcf84267bd5855d830748 before 3d0cd0065deeb054b4b29236432e851806b7cc81; affected 3e385c0d6ce88ac9916dcf84267bd5855d830748 before fd948c3f96b18ff9ba7d3e8eae13d196593e1aaf; affected 0b16521f95c875e79d657cb8d6911c15080dbb80; affected 6.13.8 before 6.14 |
| Linux / Linux | affected 6.14; unaffected 0 before 6.14; unaffected 6.18.34 through 6.18.*; unaffected 7.0.11 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.