CVE-2025-39951

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

HIGH
7.8
CVSS Score
Published: October 4, 2025 at 07:31 AM UTC
Updated: October 19, 2026 at 09:10 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1945.16 ≤ v < 6.1.1545.5 ≤ v < 5.10.2456.13 ≤ v < 6.16.96.2 ≤ v < 6.6.1086.7 ≤ v < 6.12.494e5b1fb1834a602acaae2276b67a783a8c61596.176.17 rc16.17 rc26.17 rc36.17 rc46.17 rc56.17 rc6
Vendor states this is fixed in 00e98b5a69034b251bb36dc6e7123d7648e218e4 (fixed)
Vendor states this is fixed in 14c231959a16ca41bfdcaede72483362a8c645d7 (fixed)
Vendor states this is fixed in 4f364023ddcfe83f7073b973a9cb98584b7f2a46 (fixed)
Vendor states this is fixed in 5e94e44c9cb30d7a383d8ac227f24a8c9326b770 (fixed)
Vendor states this is fixed in 7ebf70cf181651fe3f2e44e95e7e5073d594c9c0 (fixed)
Vendor states this is fixed in aaf900a83508c8cd5cdf765e7749f9076196ec7f (fixed)
Vendor states this is fixed in c2ff91255e0157b356cff115d8dc3eeb5162edf2 (fixed)
Vendor states this is fixed in 5.10.245 (unaffected)
Vendor states this is fixed in 5.15.194 (unaffected)
Vendor states this is fixed in 5.5 (unaffected)
Vendor states this is fixed in 6.1.154 (unaffected)
Vendor states this is fixed in 6.12.49 (unaffected)
Vendor states this is fixed in 6.16.9 (unaffected)
Vendor states this is fixed in 6.17 (unaffected)
Vendor states this is fixed in 6.6.108 (unaffected)

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card