You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
In the Linux kernel, the following vulnerability has been resolved:
virtio-mmio: don't break lifecycle of vm_dev
vm_dev has a separate lifecycle because it has a 'struct device'
embedded. Thus, having a release callback for it is correct.
Allocating the vm_dev struct with devres totally breaks this protection,
though. Instead of waiting for the vm_dev release callback, the memory
is freed when the platform_device is removed. Resulting in a
use-after-free when finally the callback is to be called.
To easily see the problem, compile the kernel with
CONFIG_DEBUG_KOBJECT_RELEASE and unbind with sysfs.
The fix is easy, don't use devres in this case.
Found during my research about object lifetime problems.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected].
OR
*cpe:2.3:o:linux:linux_kernel:4.15:rc4:*:*:*:*:*:*
*cpe:2.3:o:linux:linux_kernel:4.15:rc3:*:*:*:*:*:*
*cpe:2.3:o:linux:linux_kernel:4.15:rc7:*:*:*:*:*:*
*cpe:2.3:o:linux:linux_kernel:4.15:rc6:*:*:*:*:*:*
*cpe:2.3:o:linux:linux_kernel:4.15:rc5:*:*:*:*:*:*
*cpe:2.3:o:linux:linux_kernel:6.5:rc1:*:*:*:*:*:*
*cpe:2.3:o:linux:linux_kernel:6.5:rc2:*:*:*:*:*:*
*cpe:2.3:o:linux:linux_kernel:6.5:rc3:*:*:*:*:*:*
*cpe:2.3:o:linux:linux_kernel:6.5:rc4:*:*:*:*:*:*
*cpe:2.3:o:linux:linux_kernel:6.5:rc5:*:*:*:*:*:*
*cpe:2.3:o:linux:linux_kernel:6.5:rc6:*:*:*:*:*:*
*cpe:2.3:o:linux:linux_kernel:4.15:-:*:*:*:*:*:*
*cpe:2.3:o:linux:linux_kernel:4.15:rc8:*:*:*:*:*:*
*cpe:2.3:o:linux:linux_kernel:4.15:rc9:*:*:*:*:*:*
*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.255
*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.128
*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.47
*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.192
*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.4.12
*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15.1 up to (excluding) 4.19.293
New CVE Received from kernel.org10/01/2025 8:15:55 AM
Action
Type
Old Value
New Value
Added
Description
In the Linux kernel, the following vulnerability has been resolved:
virtio-mmio: don't break lifecycle of vm_dev
vm_dev has a separate lifecycle because it has a 'struct device'
embedded. Thus, having a release callback for it is correct.
Allocating the vm_dev struct with devres totally breaks this protection,
though. Instead of waiting for the vm_dev release callback, the memory
is freed when the platform_device is removed. Resulting in a
use-after-free when finally the callback is to be called.
To easily see the problem, compile the kernel with
CONFIG_DEBUG_KOBJECT_RELEASE and unbind with sysfs.
The fix is easy, don't use devres in this case.
Found during my research about object lifetime problems.