AZL-115516: CVE-2026-99684 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
hwrng: virtio - prevent use-after-free after a failed restore
removecommon() frees the driver data during freeze, but does not clear vdev->priv, which points to freed memory. If probecommon() then fails during restore, a later remove or freeze can dereference the dangling pointer.
Clear vdev->priv on the probecommon() error cleanup path and before freeing the driver data in removecommon(). Also reset the device and return early from removecommon() if vdev->priv is already NULL for a safe teardown after a failed restore.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Clear vdev->priv on the probe_common() error cleanup path and before freeing driver data in remove_common(); have remove_common() return early if vdev->priv is NULL.
- Operational
Reset the device.