What’s Vulnerable › Vulnerabilities

CVE-2025-39951: um: virtio_uml: Fix use-after-free after put_device in probe

Description

In the Linux kernel, the following vulnerability has been resolved: um: virtio_uml: Fix use-after-free after put_device in probe When register_virtio_device() fails in virtio_uml_probe(), the code sets vu_dev->registered = 1 even though the device was not successfully registered. This can lead to use-after-free or other issues.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.245, 5.15.194, 6.1.154, 6.12.49. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-39951 or the next vulnerability affects your stack