hwrng: virtio - prevent use-after-free after a failed restore
Summary
| CVE | CVE-2026-99684 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-20 06:18:03 UTC |
| Updated | 2026-11-23 08:18:09 UTC |
| 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. |
Risk And Classification
EPSS: 0.001680000 probability, percentile 0.062220000 (date 2026-11-22)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce 4e16413f7bf306947c81b913330d54ed75646808 git | Not specified |
| CNA | Linux | Linux | affected 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce 2aecdb2c490384618057535d461a4fcd19f64b7c git | Not specified |
| CNA | Linux | Linux | affected 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce e8a75bd0e3c3270076cdf8d841ffe49c35516096 git | Not specified |
| CNA | Linux | Linux | affected 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce eb07306b576b6545323abb806e2f840d2de67dd4 git | Not specified |
| CNA | Linux | Linux | affected 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce ec81f97c6b13b839e5800cdade1e5b187b9b2738 git | Not specified |
| CNA | Linux | Linux | affected 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce 42f2f4ee9d6e75b8b55b9108f6f5cf254425db64 git | Not specified |
| CNA | Linux | Linux | affected 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce b18bda055c0d3e44fdf419e2739d92ea92a6f1d2 git | Not specified |
| CNA | Linux | Linux | affected 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce 0f7bf47f5a0cc26320aa4b14f4504d03a07f4b74 git | Not specified |
| CNA | Linux | Linux | affected 3.16 | Not specified |
| CNA | Linux | Linux | unaffected 3.16 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.275 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.226 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.193 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.163 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.118 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.64 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3.5 7.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.4-rc2 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/2aecdb2c490384618057535d461a4fcd19f64b7c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/4e16413f7bf306947c81b913330d54ed75646808 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/0f7bf47f5a0cc26320aa4b14f4504d03a07f4b74 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/eb07306b576b6545323abb806e2f840d2de67dd4 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/ec81f97c6b13b839e5800cdade1e5b187b9b2738 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/42f2f4ee9d6e75b8b55b9108f6f5cf254425db64 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/e8a75bd0e3c3270076cdf8d841ffe49c35516096 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/b18bda055c0d3e44fdf419e2739d92ea92a6f1d2 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.