misc: vmw_vmci: wait for callbacks in event unsubscribe
Summary
| CVE | CVE-2026-143002 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 10:17:26 UTC |
| Updated | 2026-12-03 10:17:26 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
misc: vmw_vmci: wait for callbacks in event unsubscribe
event_deliver() calls the callbacks of the subscribers inside an RCU read
side critical section. vmci_event_unsubscribe() used to call
synchronize_rcu() before it freed the subscription. This did more than
to protect the struct vmci_subscription: when the function returned, no
callback was running any more, and its callers rely on that.
vmci_transport_free_resources() unsubscribes from
VMCI_EVENT_QP_PEER_DETACH and frees the struct vmci_transport, which is
the callback data, a few lines later:
CPU0 CPU1
event_deliver()
rcu_read_lock()
vmci_transport_peer_detach_cb()
vmci_event_unsubscribe()
list_del_rcu(&s->node)
kvfree_rcu_mightsleep(s)
kfree(transport)
spin_lock_bh(&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. vmci_transport_exit() and
vmci_guest_remove_device() unsubscribe callbacks which are gone with
their module.
kvfree_rcu_mightsleep() only waits for a grace period if it cannot
allocate memory. Bring the synchronize_rcu() back. The cleanup work of
the vmci transport now waits for one grace period per socket again. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 6da3f33770e08348691d90455ef6149e15551854 05ade3d4267180576cd515c0801268a89c708e3e git |
Not specified |
| CNA |
Linux |
Linux |
affected 6da3f33770e08348691d90455ef6149e15551854 29f37ec79e879964e6ad7fe37500362517c880bd git |
Not specified |
| CNA |
Linux |
Linux |
affected 6da3f33770e08348691d90455ef6149e15551854 5ef59aa7e67cc1dfc8aa24ebea7128eb0b397ea3 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6da3f33770e08348691d90455ef6149e15551854 824a27d391cf934d3232e8e2dabee221fc4e18ae git |
Not specified |
| CNA |
Linux |
Linux |
affected 5.17 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.17 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.120 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.66 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.7 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc4 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/824a27d391cf934d3232e8e2dabee221fc4e18ae |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/05ade3d4267180576cd515c0801268a89c708e3e |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/5ef59aa7e67cc1dfc8aa24ebea7128eb0b397ea3 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/29f37ec79e879964e6ad7fe37500362517c880bd |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.