um: virtio_uml: Fix use-after-free after put_device in probe (Linux Linux)

CVE-2025-39951
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.15 % · percentile 4 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 04e5b1fb01834a602acaae2276b67a783a8c6159 < 14c231959a16ca41bfdcaede72483362a8c645d7 ; affected 04e5b1fb01834a602acaae2276b67a783a8c6159 < 5e94e44c9cb30d7a383d8ac227f24a8c9326b770 ; affected 04e5b1fb01834a602acaae2276b67a783a8c6159 < aaf900a83508c8cd5cdf765e7749f9076196ec7f ; affected 04e5b1fb01834a602acaae2276b67a783a8c6159 < 4f364023ddcfe83f7073b973a9cb98584b7f2a46 ; affected 04e5b1fb01834a602acaae2276b67a783a8c6159 < 00e98b5a69034b251bb36dc6e7123d7648e218e4 ; affected 04e5b1fb01834a602acaae2276b67a783a8c6159 < c2ff91255e0157b356cff115d8dc3eeb5162edf2
Linux · Linuxaffected 5.5 ; unaffected 0 < 5.5 ; unaffected 5.10.245 ≤ 5.10.* ; unaffected 5.15.194 ≤ 5.15.* ; unaffected 6.1.154 ≤ 6.1.* ; unaffected 6.6.108 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD