What’s Vulnerable › Vulnerabilities
CVE-2026-99684: hwrng: virtio - prevent use-after-free after a failed restore
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-11-20 · updated 2026-11-23
Description
In the Linux kernel, the following vulnerability has been resolved: hwrng: virtio - prevent use-after-free after a failed restore remove_common() frees the driver data during freeze, but does not clear vdev->priv, which points to freed memory. If probe_common() then fails during restore, a later remove or freeze can dereference the dangling pointer. Clear vdev->priv on the probe_common() error cleanup path and before freeing the driver data in remove_common(). Also reset the device and return early from remove_common() if vdev->priv is already NULL for a safe teardown after a failed restore.
Affected products
- Linux: 3.16 — fixed in 7.4-rc2
How to fix
Upgrade to a fixed version: Linux 7.4-rc2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0f7bf47f5a0cc26320aa4b14f4504d03a07f4b74
- https://git.kernel.org/stable/c/2aecdb2c490384618057535d461a4fcd19f64b7c
- https://git.kernel.org/stable/c/42f2f4ee9d6e75b8b55b9108f6f5cf254425db64
- https://git.kernel.org/stable/c/4e16413f7bf306947c81b913330d54ed75646808
- https://git.kernel.org/stable/c/b18bda055c0d3e44fdf419e2739d92ea92a6f1d2
- https://git.kernel.org/stable/c/e8a75bd0e3c3270076cdf8d841ffe49c35516096
- https://git.kernel.org/stable/c/eb07306b576b6545323abb806e2f840d2de67dd4
- https://git.kernel.org/stable/c/ec81f97c6b13b839e5800cdade1e5b187b9b2738
Get alerted when CVE-2026-99684 or the next vulnerability affects your stack