CVE-2025-39951

published 4 Oct 2025 · updated 5 Aug 2026

um: virtio_uml: Fix use-after-free after put_device in probe

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 00e98b5a69034b251bb36dc6e7123d7648e218e4, Kernel 14c231959a16ca41bfdcaede72483362a8c645d7, Kernel 4f364023ddcfe83f7073b973a9cb98584b7f2a46 and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.5, >=04e5b1fb01834a602acaae2276b67a783a8c6159 <00e98b5a69034b251bb36dc6e7123d7648e218e4, >=04e5b1fb01834a602acaae2276b67a783a8c6159 <14c231959a16ca41bfdcaede72483362a8c645d7, >=04e5b1fb01834a602acaae2276b67a783a8c6159 <4f364023ddcfe83f7073b973a9cb98584b7f2a46, >=04e5b1fb01834a602acaae2276b67a783a8c6159 <5e94e44c9cb30d7a383d8ac227f24a8c9326b770, >=04e5b1fb01834a602acaae2276b67a783a8c6159 <7ebf70cf181651fe3f2e44e95e7e5073d594c9c0, >=04e5b1fb01834a602acaae2276b67a783a8c6159 <aaf900a83508c8cd5cdf765e7749f9076196ec7f, >=04e5b1fb01834a602acaae2276b67a783a8c6159 <c2ff91255e0157b356cff115d8dc3eeb5162edf200e98b5a69034b251bb36dc6e7123d7648e218e4, 14c231959a16ca41bfdcaede72483362a8c645d7, 4f364023ddcfe83f7073b973a9cb98584b7f2a46, 5e94e44c9cb30d7a383d8ac227f24a8c9326b770, 7ebf70cf181651fe3f2e44e95e7e5073d594c9c0, aaf900a83508c8cd5cdf765e7749f9076196ec7f, c2ff91255e0157b356cff115d8dc3eeb5162edf2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-39951 severity on Zeptric[![CVE-2025-39951](https://zeptric.io/badge/cve/CVE-2025-39951.svg)](https://zeptric.io/cve/CVE-2025-39951)