CVE-2026-99684

hwrng: virtio - prevent use-after-free after a failed restore

State
Published
Severity
Not scored
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce to before ec81f97c6b13b839e5800cdade1e5b187b9b2738Affected
  • 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce to before 42f2f4ee9d6e75b8b55b9108f6f5cf254425db64Affected
  • 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce to before b18bda055c0d3e44fdf419e2739d92ea92a6f1d2Affected
  • 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce to before 0f7bf47f5a0cc26320aa4b14f4504d03a07f4b74Affected
LinuxLinux
  • 3.16Affected
  • before 3.16Not affected
  • 6.12.118 through 6.12.*Not affected
  • 6.18.64 through 6.18.*Not affected
  • 7.3.5 through 7.3.*Not affected
  • 7.4-rc2 and laterNot affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.