# CVE-2025-39951: um: virtio\_uml: Fix use-after-free after put\_device in probe

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-10-04 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2025-39951, DEBIAN-CVE-2025-39951
- Record: https://cvemate.com/vulnerability/CVE-2025-39951 · JSON: https://cvemate.com/vulnerability/CVE-2025-39951/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.158%, percentile 5.132%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 140)

- debian linux (Debian): \< 6.1.158-1 \| \< 6.12.57-1 \| \< 6.16.9-1
- ubuntu linux (Ubuntu): \< 5.15.0-170.180 \| \< 6.8.0-106.106
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1100.107 \| \< 6.8.0-1050.53
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1100.107~20.04.2
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1050.53~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1100.107+fips1 \| \< 6.8.0-1050.53+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1109.118 \| \< 6.8.0-1051.57
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1110.119~20.04.1

## References (first 20 of 35)

- <https://git.kernel.org/stable/c/14c231959a16ca41bfdcaede72483362a8c645d7>
- <https://git.kernel.org/stable/c/5e94e44c9cb30d7a383d8ac227f24a8c9326b770>
- <https://git.kernel.org/stable/c/aaf900a83508c8cd5cdf765e7749f9076196ec7f>
- <https://git.kernel.org/stable/c/4f364023ddcfe83f7073b973a9cb98584b7f2a46>
- <https://git.kernel.org/stable/c/00e98b5a69034b251bb36dc6e7123d7648e218e4>
- <https://git.kernel.org/stable/c/c2ff91255e0157b356cff115d8dc3eeb5162edf2>
- <https://git.kernel.org/stable/c/7ebf70cf181651fe3f2e44e95e7e5073d594c9c0>
- <https://ubuntu.com/security/CVE-2025-39951>
- <https://www.cve.org/CVERecord?id=CVE-2025-39951>
- <https://git.kernel.org/linus/7ebf70cf181651fe3f2e44e95e7e5073d594c9c0>
- <https://ubuntu.com/security/notices/USN-8033-1>
- <https://ubuntu.com/security/notices/USN-8033-2>
- <https://ubuntu.com/security/notices/USN-8033-3>
- <https://ubuntu.com/security/notices/USN-8034-1>
- <https://ubuntu.com/security/notices/USN-8033-4>
- <https://ubuntu.com/security/notices/USN-8033-5>
- <https://ubuntu.com/security/notices/USN-8034-2>
- <https://ubuntu.com/security/notices/USN-8033-6>
- <https://ubuntu.com/security/notices/USN-8033-7>
- <https://ubuntu.com/security/notices/USN-8033-8>

---

Data as of 2026-12-05T06:50:09.732Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
