{"id":"CVE-2023-53515","aliases":["CVE-2023-53515"],"related":[],"kind":"vulnerability","state":"published","title":"virtio-mmio: don't break lifecycle of vm_dev","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2025-10-01T11:46:03.192Z","modified":"2026-11-05T21:17:24.120Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5","fixed":"97a2d55ead76358245b446efd87818e919196d7a","status":"affected"},{"type":"git","introduced":"7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5","fixed":"b788ad3b2468512339c05f23692e36860264e674","status":"affected"},{"type":"git","introduced":"7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5","fixed":"3ff54d904fafabd0912796785e53cce4e69ca123","status":"affected"},{"type":"git","introduced":"7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5","fixed":"5b7d5c2dd664eb8b9a06ecbc06e28d39359c422e","status":"affected"},{"type":"git","introduced":"7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5","fixed":"af5818c35173e096085c6ae2e3aac605d3d15e41","status":"affected"},{"type":"git","introduced":"7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5","fixed":"2dcb368fe5a8eee498ca75c93a18ce2f3b0d6a8e","status":"affected"},{"type":"git","introduced":"7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5","fixed":"55c91fedd03d7b9cf0c5199b2eb12b9b8e95281a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.15","status":"unaffected"},{"type":"semver","introduced":"4.19.293","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.255","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.192","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.128","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.47","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.4.12","lastAffected":"6.4.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.5","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.15.1","fixed":"4.19.293"},{"status":"affected","introduced":"4.20","fixed":"5.4.255"},{"status":"affected","introduced":"5.5","fixed":"5.10.192"},{"status":"affected","introduced":"5.11","fixed":"5.15.128"},{"status":"affected","introduced":"5.16","fixed":"6.1.47"},{"status":"affected","introduced":"6.2","fixed":"6.4.12"},{"status":"affected","version":"4.15"},{"status":"affected","version":"4.15"},{"status":"affected","version":"4.15"},{"status":"affected","version":"4.15"},{"status":"affected","version":"4.15"},{"status":"affected","version":"4.15"},{"status":"affected","version":"4.15"},{"status":"affected","version":"4.15"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/97a2d55ead76358245b446efd87818e919196d7a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b788ad3b2468512339c05f23692e36860264e674","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ff54d904fafabd0912796785e53cce4e69ca123","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5b7d5c2dd664eb8b9a06ecbc06e28d39359c422e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/af5818c35173e096085c6ae2e3aac605d3d15e41","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2dcb368fe5a8eee498ca75c93a18ce2f3b0d6a8e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/55c91fedd03d7b9cf0c5199b2eb12b9b8e95281a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:22:52.394Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53515","url":"https://www.cve.org/CVERecord?id=CVE-2023-53515","licence":"CVE Terms of Use","modified":"2026-11-05T20:31:12.860Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53515","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53515","licence":"Public domain","modified":"2026-11-05T21:17:24.120Z"}],"updatedAt":"2026-11-25T22:58:34.918Z","epss":{"score":0.0016,"percentile":0.05455,"date":"2026-12-01T12:00:22.000Z"}}