CVE-2026-143002: misc: vmw_vmci: wait for callbacks in event unsubscribe

Published Dec 3, 2026
·
Updated

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

misc: vmwvmci: wait for callbacks in event unsubscribe

eventdeliver() calls the callbacks of the subscribers inside an RCU read side critical section. vmcieventunsubscribe() used to call synchronizercu() before it freed the subscription. This did more than to protect the struct vmcisubscription: when the function returned, no callback was running any more, and its callers rely on that.

vmcitransportfreeresources() unsubscribes from VMCIEVENTQPPEERDETACH and frees the struct vmcitransport, which is the callback data, a few lines later:

CPU0 CPU1 eventdeliver() rcureadlock() vmcitransportpeerdetachcb() vmcieventunsubscribe() listdelrcu(&s->node) kvfreercumightsleep(s) kfree(transport) spinlockbh(&trans->lock)

The event is sent when the peer of the queue pair detaches, so the other end of a vsock connection chooses the time. vmcitransportexit() and vmciguestremovedevice() unsubscribe callbacks which are gone with their module.

kvfreercumightsleep() only waits for a grace period if it cannot allocate memory. Bring the synchronizercu() back. The cleanup work of the vmci transport now waits for one grace period per socket again.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Restore synchronize_rcu() in vmci_event_unsubscribe() before freeing the subscription, so outstanding RCU callbacks have finished.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:17 AM
Data Sourced
via MITRE·09:17 AM
Description

Frequently Asked Questions

1

What attacker-controlled action can trigger the unsafe timing?

The event is generated when the peer of a queue pair detaches. The other end of a vsock connection chooses when that detach occurs, allowing it to influence the timing of the callback relative to cleanup.

2

Which resources can be freed while a callback is still active?

vmci_transport_free_resources() unsubscribes from the VMCI_EVENT_QP_PEER_DETACH event and then frees the associated vmci_transport structure, which is callback data. The affected cleanup behavior could therefore leave a callback accessing transport data after that data has been freed.

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