CVE-2025-39951: um: virtio_uml: Fix use-after-free after put_device in probe
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.
Security readout for executives and security teams
Plain-English summary
A flaw in Linux User Mode Linux virtual-device handling can leave software treating a failed device registration as successful. This may cause use-after-free memory access, potentially crashing the environment or compromising confidentiality and integrity. Exploitation requires local, low-privileged access and the affected virtio_uml path.
Executive priority
Prioritize timely remediation where User Mode Linux supports untrusted or multi-user workloads because successful abuse could affect all three security objectives. For other systems, first confirm whether virtio_uml is present and reachable. No evidence in the supplied sources supports emergency treatment for active exploitation.
Technical view
In virtio_uml_probe(), a register_virtio_device() failure incorrectly leaves vu_dev->registered set, permitting later operations on released device memory. The CVSS 3.1 score is 7.8 with local attack vector, low complexity, low privileges, no user interaction, and potentially high confidentiality, integrity, and availability impact.
Likely exposure
Exposure appears limited to Linux deployments using User Mode Linux and the virtio_uml device path. The supplied version data is ambiguous and contains duplicate commit identifiers, so organizations should not infer applicability from version numbers alone. Conventional Linux hosts not using this subsystem may have reduced practical exposure.
Exploitation context
The bundle does not identify public exploitation, proof-of-concept availability, or inclusion in CISA KEV. The vulnerable condition involves a device-registration failure and requires local access according to the supplied CVSS vector. Treat active exploitation as unconfirmed.
Researcher notes
The record describes a use-after-free possibility following register_virtio_device() failure, but supplies no CWE, exploit evidence, reproduction details, or reliable distribution-package mapping. Multiple stable commits are referenced, apparently representing branch-specific fixes. The affected-version list is difficult to interpret and should be reconciled against upstream or distributor guidance.
Mitigation direction
Obtain a vendor-supported kernel containing the applicable stable fix.
Check distribution guidance for backported fixes and exact package versions.
Prioritize systems that actively use User Mode Linux and virtio_uml.
Restrict untrusted local access until affected systems are remediated.
Validation and detection
Inventory kernels and identify systems configured for User Mode Linux and virtio_uml.
Verify fix inclusion through vendor advisories or kernel commit provenance.
Confirm deployed kernels match remediated packages after maintenance.
Review relevant crash records for failures around virtio device registration.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-39951 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
0ADP providers
8Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.