# CVE-2026-99684: hwrng: virtio - prevent use-after-free after a failed restore

Status: published. Published: 2026-11-20. Updated: 2026-11-23.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce; < 4e16413f7bf306947c81b913330d54ed75646808 (affected, git); ≥ 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce; < 2aecdb2c490384618057535d461a4fcd19f64b7c (affected, git); ≥ 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce; < e8a75bd0e3c3270076cdf8d841ffe49c35516096 (affected, git); ≥ 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce; < eb07306b576b6545323abb806e2f840d2de67dd4 (affected, git); ≥ 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce; < ec81f97c6b13b839e5800cdade1e5b187b9b2738 (affected, git); ≥ 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce; < 42f2f4ee9d6e75b8b55b9108f6f5cf254425db64 (affected, git); ≥ 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce; < b18bda055c0d3e44fdf419e2739d92ea92a6f1d2 (affected, git); ≥ 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce; < 0f7bf47f5a0cc26320aa4b14f4504d03a07f4b74 (affected, git). Source: CNA: Linux
- Linux / Linux: 3.16 (affected); ≥ 0; < 3.16 (unaffected, semver); ≥ 5.10.275; ≤ 5.10.* (unaffected, semver); ≥ 5.15.226; ≤ 5.15.* (unaffected, semver); ≥ 6.1.193; ≤ 6.1.* (unaffected, semver); ≥ 6.6.163; ≤ 6.6.* (unaffected, semver); ≥ 6.12.118; ≤ 6.12.* (unaffected, semver); ≥ 6.18.64; ≤ 6.18.* (unaffected, semver); ≥ 7.3.5; ≤ 7.3.* (unaffected, semver); ≥ 7.4-rc2; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.17% as of 2026-11-22; percentile 6.22%

- SSVC: Not available

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/4e16413f7bf306947c81b913330d54ed75646808 (CNA: Linux)

- https://git.kernel.org/stable/c/2aecdb2c490384618057535d461a4fcd19f64b7c (CNA: Linux)

- https://git.kernel.org/stable/c/e8a75bd0e3c3270076cdf8d841ffe49c35516096 (CNA: Linux)

- https://git.kernel.org/stable/c/eb07306b576b6545323abb806e2f840d2de67dd4 (CNA: Linux)

- https://git.kernel.org/stable/c/ec81f97c6b13b839e5800cdade1e5b187b9b2738 (CNA: Linux)

- https://git.kernel.org/stable/c/42f2f4ee9d6e75b8b55b9108f6f5cf254425db64 (CNA: Linux)

- https://git.kernel.org/stable/c/b18bda055c0d3e44fdf419e2739d92ea92a6f1d2 (CNA: Linux)

- https://git.kernel.org/stable/c/0f7bf47f5a0cc26320aa4b14f4504d03a07f4b74 (CNA: Linux)

- https://git.kernel.org/stable/c/0f7bf47f5a0cc26320aa4b14f4504d03a07f4b74 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/42f2f4ee9d6e75b8b55b9108f6f5cf254425db64 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/b18bda055c0d3e44fdf419e2739d92ea92a6f1d2 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/ec81f97c6b13b839e5800cdade1e5b187b9b2738 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2026-99684; retrieved 2026-11-23; source updated 2026-11-23

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-99684; retrieved 2026-11-20; source updated 2026-11-20

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-99684; retrieved 2026-11-23; source updated Not reported

Revision: c64f441b354e80ea9233656a0cc8e10e21326d1c57d73f615f8aca41d69ec515

Canonical: https://y2.dev/cve/CVE-2026-99684

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.