vfio/pci: Drain eventfd RCU callbacks on module exit

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux45d7cf5174e4b9ceda4f77976c2bcab5f96477c2 to before 63b71ca01f3505202dd93f8e0fc9311d7bb9baae Affectedaddbb8ddb443f68ccb97e5889c7931033de909c6 to before 9f58f4ab6b77c6ad6d19e175074ab61fa113293b Affected98693e0897f754e3f51ce6626ed5f785f625ba2b to before e3fe5c4a1becfb7b285a91a86cd690958a695111 Affected98693e0897f754e3f51ce6626ed5f785f625ba2b to before 3b2e9b05011ee74543b6d17401bb02f1df3b93ff Affectedef0a26b9d99f7153af64117dd795c7873987d9a7 Affected6.12.63 to before 6.12.119 Affected6.18.2 to before 6.18.65 Affected6.17.13 to before 6.18 Affected
Linux Linux6.19 Affectedbefore 6.19 Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.