{"id":"CVE-2026-98433","aliases":["CVE-2026-98433"],"related":[],"kind":"vulnerability","state":"published","title":"KVM: PPC: Book3S HV: fix secure device page leak on uv_page_in() failure","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: PPC: Book3S HV: fix secure device page leak on uv_page_in() failure\n\nIn kvmppc_svm_page_in(), if uv_page_in() fails after\nkvmppc_uvmem_get_page() has succeeded, the secure device page is never\nreleased.  kvmppc_uvmem_get_page() sets a bit in kvmppc_uvmem_bitmap,\nallocates a kvmppc_uvmem_page_pvt struct, marks the GFN as\nKVMPPC_GFN_UVMEM_PFN, and calls zone_device_page_init() which sets\nrefcount=1 and locks the page.  The subsequent goto out_finalize skips\nthe *mig.dst assignment, so migrate_vma_finalize() is a no-op for the\npage, and none of those resources are ever reclaimed.\n\nEach occurrence permanently consumes one entry from the firmware-bounded\nsecure memory pool (kvmppc_uvmem_bitmap), leaks pvt, and leaves the GFN\nmarked as secure — making it unusable for the lifetime of the VM.\n\nThe twin __kvmppc_svm_page_out() already handles the analogous uv_page_out()\nfailure correctly with unlock_page(dpage); __free_page(dpage).  Apply\nthe same pattern here: unlock_page() followed by put_page(), which\nchains through free_zone_device_folio() into kvmppc_uvmem_folio_free()\nto clear the bitmap bit, free pvt, and reset the GFN state.\n\nReachable whenever uv_page_in() returns an error (e.g. UV pool\nexhaustion) on any POWER9/10 + Ultravisor/PEF system.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: PPC: Book3S HV: fix secure device page leak on uv_page_in() failure\n\nIn kvmppc_svm_page_in(), if uv_page_in() fails after\nkvmppc_uvmem_get_page() has succeeded, the secure device page is never\nreleased.  kvmppc_uvmem_get_page() sets a bit in kvmppc_uvmem_bitmap,\nallocates a kvmppc_uvmem_page_pvt struct, marks the GFN as\nKVMPPC_GFN_UVMEM_PFN, and calls zone_device_page_init() which sets\nrefcount=1 and locks the page.  The subsequent goto out_finalize skips\nthe *mig.dst assignment, so migrate_vma_finalize() is a no-op for the\npage, and none of those resources are ever reclaimed.\n\nEach occurrence permanently consumes one entry from the firmware-bounded\nsecure memory pool (kvmppc_uvmem_bitmap), leaks pvt, and leaves the GFN\nmarked as secure — making it unusable for the lifetime of the VM.\n\nThe twin __kvmppc_svm_page_out() already handles the analogous uv_page_out()\nfailure correctly with unlock_page(dpage); __free_page(dpage).  Apply\nthe same pattern here: unlock_page() followed by put_page(), which\nchains through free_zone_device_folio() into kvmppc_uvmem_folio_free()\nto clear the bitmap bit, free pvt, and reset the GFN state.\n\nReachable whenever uv_page_in() returns an error (e.g. UV pool\nexhaustion) on any POWER9/10 + Ultravisor/PEF system.","source":"cvelist"}],"published":"2026-10-18T14:38:18.296Z","modified":"2026-10-19T10:18:51.290Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ca9f4942670c37407bb109090eaf776ce2ccc54c","fixed":"ed2f2ff63cb7e71204096e765c6d02c3b6974b95","status":"affected"},{"type":"git","introduced":"ca9f4942670c37407bb109090eaf776ce2ccc54c","fixed":"8f3b7746874b39fc20e0363c9076c7787d4765ba","status":"affected"},{"type":"git","introduced":"ca9f4942670c37407bb109090eaf776ce2ccc54c","fixed":"a933d7024359e2e566b07903d1294b84f90482ae","status":"affected"},{"type":"git","introduced":"ca9f4942670c37407bb109090eaf776ce2ccc54c","fixed":"c41088b2765af1e97e7bb05f906ae1823eca0388","status":"affected"},{"type":"git","introduced":"ca9f4942670c37407bb109090eaf776ce2ccc54c","fixed":"f3d4b2fc30c97cf8e6f8b880d2de9c17ecac7f5b","status":"affected"},{"type":"git","introduced":"ca9f4942670c37407bb109090eaf776ce2ccc54c","fixed":"dfb84274932737e338ff5eb27f34b4c8ecb01b50","status":"affected"},{"type":"git","introduced":"ca9f4942670c37407bb109090eaf776ce2ccc54c","fixed":"fcbff8008b0e08cd53b611bd0ff7e01f5b962f80","status":"affected"},{"type":"git","introduced":"ca9f4942670c37407bb109090eaf776ce2ccc54c","fixed":"0a416ee20bcccddf91ca5b63696a23b9d11d73aa","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.5","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.54","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.8","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ed2f2ff63cb7e71204096e765c6d02c3b6974b95","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8f3b7746874b39fc20e0363c9076c7787d4765ba","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a933d7024359e2e566b07903d1294b84f90482ae","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c41088b2765af1e97e7bb05f906ae1823eca0388","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f3d4b2fc30c97cf8e6f8b880d2de9c17ecac7f5b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dfb84274932737e338ff5eb27f34b4c8ecb01b50","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fcbff8008b0e08cd53b611bd0ff7e01f5b962f80","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0a416ee20bcccddf91ca5b63696a23b9d11d73aa","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98433","url":"https://www.cve.org/CVERecord?id=CVE-2026-98433","licence":"CVE Terms of Use","modified":"2026-10-19T09:19:29.371Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98433","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98433","licence":"Public domain","modified":"2026-10-19T10:18:51.290Z"}],"updatedAt":"2026-11-25T22:59:45.181Z","epss":{"score":0.00165,"percentile":0.05897,"date":"2026-12-02T12:00:21.000Z"}}