{"id":"CVE-2026-64473","summary":"vfio: Remove device debugfs before releasing devres","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nvfio: Remove device debugfs before releasing devres\n\nVFIO device debugfs files created with debugfs_create_devm_seqfile()\nstore a devres allocated debugfs_devm_entry as inode private data.\nvfio_unregister_group_dev() currently calls vfio_device_del() before\nvfio_device_debugfs_exit(), but device_del() releases devres.  This can\nleave debugfs entries visible with stale inode private data while\nunregister waits for userspace references to drain.\n\nRemove the per-device debugfs tree before vfio_device_del().  The debugfs\nview is diagnostic only, so losing it at the start of unregister is\npreferable to preserving entries whose backing storage may already have\nbeen released.\n\nComplete the teardown by clearing the per-device debugfs root after\nremoval.  This matches the global debugfs root cleanup and prevents\nfuture users from mistaking a removed dentry for a live debugfs tree\nduring the remainder of unregister.","modified":"2026-07-27T04:03:22.441975878Z","published":"2026-07-25T08:51:36.702Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64473.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/6cc60b41d61657dc469893d14e8e55d160056ff1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a53109ffb6b5148e11a27fb7670355b92db12dd3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a5df401dc84f091e20b045560569f0736758fea7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dc7fe87de492ea7f33a72b78d26650b75bf37f4f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64473.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64473"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2202844e4468c7539dba0c0b06577c93735af952"},{"fixed":"6cc60b41d61657dc469893d14e8e55d160056ff1"},{"fixed":"a53109ffb6b5148e11a27fb7670355b92db12dd3"},{"fixed":"a5df401dc84f091e20b045560569f0736758fea7"},{"fixed":"dc7fe87de492ea7f33a72b78d26650b75bf37f4f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64473.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.8.0"},{"fixed":"6.12.96"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.39"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64473.json"}}],"schema_version":"1.7.5"}