CVE-2026-139457: vfio/pci: Drain eventfd RCU callbacks on module exit

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

vfio/pci: Drain eventfd RCU callbacks on module exit

vfiopcieventfdreplacelocked() defers freeing replaced eventfds to vfiopcieventfdrcufree(). A callback can remain queued after closedevice() 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.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Wait for outstanding RCU callbacks before vfio-pci-core exits.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:34 PM
Data Sourced
via MITRE·01:34 PM
Description
Data Sourced
via NVD·02:19 PM
Description

Frequently Asked Questions

1

What conditions are required for the unsafe callback to persist?

A replaced eventfd must have been deferred for RCU-based freeing, and the device must then be closed so that the dependent driver module reference is dropped. The problem arises if vfio-pci-core is unloaded before that queued RCU callback has completed.

2

What is the impact of unloading vfio-pci-core while such a callback is queued?

The queued callback can retain a pointer to code in the vfio-pci-core module. After the module is unloaded, execution of that callback can target unloaded module text.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203