{"id":"CVE-2026-99684","aliases":[],"title":"hwrng: virtio - prevent use-after-free after a failed restore","originalDescription":"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.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.00177,"percentile":0.07607},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=3.16.0, <5.10.275","fixed":"5.10.275"},{"ecosystem":"Linux","name":"Kernel","range":">=3.16.0, <6.12.118","fixed":"6.12.118"},{"ecosystem":"Linux","name":"Kernel","range":">=5.11.0, <5.15.226","fixed":"5.15.226"},{"ecosystem":"Linux","name":"Kernel","range":">=5.16.0, <6.1.193","fixed":"6.1.193"},{"ecosystem":"Linux","name":"Kernel","range":">=6.13.0, <6.18.64","fixed":"6.18.64"},{"ecosystem":"Linux","name":"Kernel","range":">=6.19.0, <7.3.5","fixed":"7.3.5"},{"ecosystem":"Linux","name":"Kernel","range":">=6.2.0, <6.6.163","fixed":"6.6.163"},{"ecosystem":"Linux","name":"Kernel","range":">=6.7.0, <6.12.118","fixed":"6.12.118"},{"ecosystem":"vendor","name":"Linux","range":">=08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce, <0f7bf47f5a0cc26320aa4b14f4504d03a07f4b74","fixed":"0f7bf47f5a0cc26320aa4b14f4504d03a07f4b74"},{"ecosystem":"vendor","name":"Linux","range":">=08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce, <2aecdb2c490384618057535d461a4fcd19f64b7c","fixed":"2aecdb2c490384618057535d461a4fcd19f64b7c"},{"ecosystem":"vendor","name":"Linux","range":">=08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce, <42f2f4ee9d6e75b8b55b9108f6f5cf254425db64","fixed":"42f2f4ee9d6e75b8b55b9108f6f5cf254425db64"},{"ecosystem":"vendor","name":"Linux","range":">=08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce, <4e16413f7bf306947c81b913330d54ed75646808","fixed":"4e16413f7bf306947c81b913330d54ed75646808"},{"ecosystem":"vendor","name":"Linux","range":">=08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce, <b18bda055c0d3e44fdf419e2739d92ea92a6f1d2","fixed":"b18bda055c0d3e44fdf419e2739d92ea92a6f1d2"},{"ecosystem":"vendor","name":"Linux","range":">=08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce, <e8a75bd0e3c3270076cdf8d841ffe49c35516096","fixed":"e8a75bd0e3c3270076cdf8d841ffe49c35516096"},{"ecosystem":"vendor","name":"Linux","range":">=08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce, <eb07306b576b6545323abb806e2f840d2de67dd4","fixed":"eb07306b576b6545323abb806e2f840d2de67dd4"},{"ecosystem":"vendor","name":"Linux","range":">=08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce, <ec81f97c6b13b839e5800cdade1e5b187b9b2738","fixed":"ec81f97c6b13b839e5800cdade1e5b187b9b2738"}],"references":[{"url":"https://git.kernel.org/stable/c/ec81f97c6b13b839e5800cdade1e5b187b9b2738","type":"other"},{"url":"https://git.kernel.org/stable/c/42f2f4ee9d6e75b8b55b9108f6f5cf254425db64","type":"other"},{"url":"https://git.kernel.org/stable/c/b18bda055c0d3e44fdf419e2739d92ea92a6f1d2","type":"other"},{"url":"https://git.kernel.org/stable/c/0f7bf47f5a0cc26320aa4b14f4504d03a07f4b74","type":"other"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99684.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99684","type":"advisory"},{"url":"https://git.kernel.org/stable/c/4e16413f7bf306947c81b913330d54ed75646808","type":"other"},{"url":"https://git.kernel.org/stable/c/2aecdb2c490384618057535d461a4fcd19f64b7c","type":"other"},{"url":"https://git.kernel.org/stable/c/e8a75bd0e3c3270076cdf8d841ffe49c35516096","type":"other"},{"url":"https://git.kernel.org/stable/c/eb07306b576b6545323abb806e2f840d2de67dd4","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-23T08:46:27.538Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99684","license":"NVD terms of use","firstSeenAt":"2026-11-20T06:30:46.139Z"},{"name":"osv","at":"2026-11-23T10:59:14.424Z","url":"https://osv.dev/vulnerability/CVE-2026-99684","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T07:04:08.806Z"},{"name":"cvelistV5","at":"2026-11-23T21:30:58.316Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99684","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T06:28:14.768Z"}],"firstSeenAt":"2026-11-20T06:28:14.768Z","publishedAt":"2026-11-20T05:50:30.317Z","modifiedAt":"2026-11-23T10:02:10.305Z"}