{"id":"CVE-2023-53515","published":"2025-10-01T11:46:03Z","modified":"2026-11-05T20:31:12Z","title":"virtio-mmio: don't break lifecycle of vm_dev","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio-mmio: don't break lifecycle of vm_dev\n\nvm_dev has a separate lifecycle because it has a 'struct device'\nembedded. Thus, having a release callback for it is correct.\n\nAllocating the vm_dev struct with devres totally breaks this protection,\nthough. Instead of waiting for the vm_dev release callback, the memory\nis freed when the platform_device is removed. Resulting in a\nuse-after-free when finally the callback is to be called.\n\nTo easily see the problem, compile the kernel with\nCONFIG_DEBUG_KOBJECT_RELEASE and unbind with sysfs.\n\nThe fix is easy, don't use devres in this case.\n\nFound during my research about object lifetime problems.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00154,"percentile":0.04564,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/97a2d55ead76358245b446efd87818e919196d7a","tags":[]},{"url":"https://git.kernel.org/stable/c/b788ad3b2468512339c05f23692e36860264e674","tags":[]},{"url":"https://git.kernel.org/stable/c/3ff54d904fafabd0912796785e53cce4e69ca123","tags":[]},{"url":"https://git.kernel.org/stable/c/5b7d5c2dd664eb8b9a06ecbc06e28d39359c422e","tags":[]},{"url":"https://git.kernel.org/stable/c/af5818c35173e096085c6ae2e3aac605d3d15e41","tags":[]},{"url":"https://git.kernel.org/stable/c/2dcb368fe5a8eee498ca75c93a18ce2f3b0d6a8e","tags":[]},{"url":"https://git.kernel.org/stable/c/55c91fedd03d7b9cf0c5199b2eb12b9b8e95281a","tags":[]}],"priority":{"score":0.9,"factors":[{"name":"EPSS percentile","points":0.91}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 97a2d55ead76358245b446efd87818e919196d7a",">= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < b788ad3b2468512339c05f23692e36860264e674",">= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 3ff54d904fafabd0912796785e53cce4e69ca123",">= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 5b7d5c2dd664eb8b9a06ecbc06e28d39359c422e",">= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < af5818c35173e096085c6ae2e3aac605d3d15e41",">= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 2dcb368fe5a8eee498ca75c93a18ce2f3b0d6a8e",">= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 55c91fedd03d7b9cf0c5199b2eb12b9b8e95281a"]},{"vendor":"Linux","product":"Linux","versions":["4.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-05T20:22:52.394274Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-32745","exploited":false,"provenance":"source"}}