vfio/pci: Drain eventfd RCU callbacks on module exit
- CVE-2026-139457
- GHSA-4mrj-mhjx-x7v3
- EUVD-2026-139163
Description
In the Linux kernel, the following vulnerability has been resolved: vfio/pci: Drain eventfd RCU callbacks on module exit vfio_pci_eventfd_replace_locked() defers freeing replaced eventfds to vfio_pci_eventfd_rcu_free(). A callback can remain queued after close_device() returns and the device driver module reference is dropped. Once the dependent driver is removed, vfio-pci-core can be unloaded while the callback still points into its module text. Wait for outstanding RCU callbacks before vfio-pci-core exits.
Text from the CVE.org record.
Recommendation
Linux
- If you run 6.18.xupdate to 6.18.65 or laterPatch update: breaking changes are unlikely
- If you run a version from 6.17.13 to before 6.18update to 6.18 or laterMinor version change: check the release notes
- If you run 6.12.xupdate to 6.12.119 or laterPatch update: breaking changes are unlikely
Some affected versions have no stated fix.
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Linux
Affected versions Fixed in from 6.18.2 to before 6.18.65 6.18.65 from 6.17.13 to before 6.18 6.18 from 6.12.63 to before 6.12.119 6.12.119 6.19 none stated before 6.19: not affected none stated from 6.12.119 up to 6.12.*: not affected none stated from 6.18.65 up to 6.18.*: not affected none stated from 7.3.6 up to 7.3.*: not affected none stated and 1 more
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.