{"id":"CVE-2026-99684","aliases":["CVE-2026-99684"],"related":[],"kind":"vulnerability","state":"published","title":"hwrng: virtio - prevent use-after-free after a failed restore","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwrng: virtio - prevent use-after-free after a failed restore\n\nremove_common() frees the driver data during freeze, but does not clear\nvdev->priv, which points to freed memory. If probe_common() then fails\nduring restore, a later remove or freeze can dereference the dangling\npointer.\n\nClear vdev->priv on the probe_common() error cleanup path and before\nfreeing the driver data in remove_common(). Also reset the device and\nreturn early from remove_common() if vdev->priv is already NULL for a\nsafe teardown after a failed restore.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwrng: virtio - prevent use-after-free after a failed restore\n\nremove_common() frees the driver data during freeze, but does not clear\nvdev->priv, which points to freed memory. If probe_common() then fails\nduring restore, a later remove or freeze can dereference the dangling\npointer.\n\nClear vdev->priv on the probe_common() error cleanup path and before\nfreeing the driver data in remove_common(). Also reset the device and\nreturn early from remove_common() if vdev->priv is already NULL for a\nsafe teardown after a failed restore.","source":"cvelist"}],"published":"2026-11-20T05:50:30.317Z","modified":"2026-11-23T08:18:09.257Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce","fixed":"4e16413f7bf306947c81b913330d54ed75646808","status":"affected"},{"type":"git","introduced":"08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce","fixed":"2aecdb2c490384618057535d461a4fcd19f64b7c","status":"affected"},{"type":"git","introduced":"08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce","fixed":"e8a75bd0e3c3270076cdf8d841ffe49c35516096","status":"affected"},{"type":"git","introduced":"08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce","fixed":"eb07306b576b6545323abb806e2f840d2de67dd4","status":"affected"},{"type":"git","introduced":"08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce","fixed":"ec81f97c6b13b839e5800cdade1e5b187b9b2738","status":"affected"},{"type":"git","introduced":"08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce","fixed":"42f2f4ee9d6e75b8b55b9108f6f5cf254425db64","status":"affected"},{"type":"git","introduced":"08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce","fixed":"b18bda055c0d3e44fdf419e2739d92ea92a6f1d2","status":"affected"},{"type":"git","introduced":"08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce","fixed":"0f7bf47f5a0cc26320aa4b14f4504d03a07f4b74","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.16","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","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/4e16413f7bf306947c81b913330d54ed75646808","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2aecdb2c490384618057535d461a4fcd19f64b7c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e8a75bd0e3c3270076cdf8d841ffe49c35516096","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eb07306b576b6545323abb806e2f840d2de67dd4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ec81f97c6b13b839e5800cdade1e5b187b9b2738","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/42f2f4ee9d6e75b8b55b9108f6f5cf254425db64","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b18bda055c0d3e44fdf419e2739d92ea92a6f1d2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0f7bf47f5a0cc26320aa4b14f4504d03a07f4b74","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99684","url":"https://www.cve.org/CVERecord?id=CVE-2026-99684","licence":"CVE Terms of Use","modified":"2026-11-23T08:05:59.308Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99684","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99684","licence":"Public domain","modified":"2026-11-23T08:18:09.257Z"}],"updatedAt":"2026-11-25T22:59:52.307Z","epss":{"score":0.00177,"percentile":0.07607,"date":"2026-12-02T12:00:21.000Z"}}