{"id":"CVE-2026-143002","summary":"misc: vmw_vmci: wait for callbacks in event unsubscribe","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: vmw_vmci: wait for callbacks in event unsubscribe\n\nevent_deliver() calls the callbacks of the subscribers inside an RCU read\nside critical section. vmci_event_unsubscribe() used to call\nsynchronize_rcu() before it freed the subscription. This did more than\nto protect the struct vmci_subscription: when the function returned, no\ncallback was running any more, and its callers rely on that.\n\nvmci_transport_free_resources() unsubscribes from\nVMCI_EVENT_QP_PEER_DETACH and frees the struct vmci_transport, which is\nthe callback data, a few lines later:\n\n  CPU0                                CPU1\n  event_deliver()\n    rcu_read_lock()\n    vmci_transport_peer_detach_cb()\n                                      vmci_event_unsubscribe()\n                                        list_del_rcu(&s-\u003enode)\n                                        kvfree_rcu_mightsleep(s)\n                                      kfree(transport)\n      spin_lock_bh(&trans-\u003elock)\n\nThe event is sent when the peer of the queue pair detaches, so the other\nend of a vsock connection chooses the time. vmci_transport_exit() and\nvmci_guest_remove_device() unsubscribe callbacks which are gone with\ntheir module.\n\nkvfree_rcu_mightsleep() only waits for a grace period if it cannot\nallocate memory. Bring the synchronize_rcu() back. The cleanup work of\nthe vmci transport now waits for one grace period per socket again.","modified":"2026-12-03T11:00:53.497148600Z","published":"2026-12-03T09:17:34.931Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143002.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/05ade3d4267180576cd515c0801268a89c708e3e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/29f37ec79e879964e6ad7fe37500362517c880bd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5ef59aa7e67cc1dfc8aa24ebea7128eb0b397ea3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/824a27d391cf934d3232e8e2dabee221fc4e18ae"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143002.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143002"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6da3f33770e08348691d90455ef6149e15551854"},{"fixed":"05ade3d4267180576cd515c0801268a89c708e3e"},{"fixed":"29f37ec79e879964e6ad7fe37500362517c880bd"},{"fixed":"5ef59aa7e67cc1dfc8aa24ebea7128eb0b397ea3"},{"fixed":"824a27d391cf934d3232e8e2dabee221fc4e18ae"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143002.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.17.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143002.json"}}],"schema_version":"1.9.2"}