VFIO Device Debugfs Vulnerability in Linux Kernel by Linux Foundation
CVE-2026-64473
What is CVE-2026-64473?
In the Linux kernel, a vulnerability has been identified related to VFIO device debugfs files. When these files are created using debugfs_create_devm_seqfile(), they store a device resource (devres) allocated debugfs_devm_entry as inode private data. The issue arises during the unregistration process where vfio_unregister_group_dev() calls vfio_device_del() prior to vfio_device_debugfs_exit(). This sequence can lead to the presence of stale inode private data in debugfs entries, as device_del() releases the devres resources. Consequently, this can result in incorrect representations of removed devices, creating a misleading diagnostic view. The recommended resolution involves removing the per-device debugfs tree before calling vfio_device_del(), ensuring that any stale entries do not persist.
Affected Version(s)
Linux 2202844e4468c7539dba0c0b06577c93735af952 < 6cc60b41d61657dc469893d14e8e55d160056ff1
Linux 2202844e4468c7539dba0c0b06577c93735af952
Linux 2202844e4468c7539dba0c0b06577c93735af952