CVE-2025-39951
JSON

7.8high

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

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 04e5b1fb01834a602acaae2276b67a783a8c6159 before 14c231959a16ca41bfdcaede72483362a8c645d7, from 04e5b1fb01834a602acaae2276b67a783a8c6159 before 5e94e44c9cb30d7a383d8ac227f24a8c9326b770, from 04e5b1fb01834a602acaae2276b67a783a8c6159 before aaf900a83508c8cd5cdf765e7749f9076196ec7f, from 04e5b1fb01834a602acaae2276b67a783a8c6159 before 4f364023ddcfe83f7073b973a9cb98584b7f2a46, from 04e5b1fb01834a602acaae2276b67a783a8c6159 before 00e98b5a69034b251bb36dc6e7123d7648e218e4, from 04e5b1fb01834a602acaae2276b67a783a8c6159 before c2ff91255e0157b356cff115d8dc3eeb5162edf2, from 04e5b1fb01834a602acaae2276b67a783a8c6159 before 7ebf70cf181651fe3f2e44e95e7e5073d594c9c0, 5.5
Not affected: before 5.5, from 5.10.245 up to 5.10.*, from 5.15.194 up to 5.15.*, from 6.1.154 up to 6.1.*, from 6.6.108 up to 6.6.*, from 6.12.49 up to 6.12.*
CVE List
linux linux_kernelfrom 5.5 before 5.10.245, from 5.11 before 5.15.194, from 5.16 before 6.1.154, from 6.2 before 6.6.108, from 6.7 before 6.12.49, from 6.13 before 6.16.9, 6.17NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad se ha resuelto: um: virtio_uml: Corrección de uso después de liberación después de put_device en probe Cuando register_virtio_device() falla en virtio_uml_probe(), el código establece vu_dev->registered = 1 a pesar de que el dispositivo no se registró correctamente. Esto puede llevar a uso después de liberación u otros problemas.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-39951 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-39951 changed 2026-10-19Public domain