{"id":"CVE-2026-143002","state":"PUBLISHED","title":"misc: vmw_vmci: wait for callbacks in event unsubscribe","description":"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->node)\n                                        kvfree_rcu_mightsleep(s)\n                                      kfree(transport)\n      spin_lock_bh(&trans->lock)\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.","publishedAt":"2026-12-03T09:17:34.931Z","updatedAt":"2026-12-03T09:17:34.931Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6da3f33770e08348691d90455ef6149e15551854","status":"affected","lessThan":"05ade3d4267180576cd515c0801268a89c708e3e","versionType":"git"},{"version":"6da3f33770e08348691d90455ef6149e15551854","status":"affected","lessThan":"29f37ec79e879964e6ad7fe37500362517c880bd","versionType":"git"},{"version":"6da3f33770e08348691d90455ef6149e15551854","status":"affected","lessThan":"5ef59aa7e67cc1dfc8aa24ebea7128eb0b397ea3","versionType":"git"},{"version":"6da3f33770e08348691d90455ef6149e15551854","status":"affected","lessThan":"824a27d391cf934d3232e8e2dabee221fc4e18ae","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/misc/vmw_vmci/vmci_event.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.17","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc4","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/misc/vmw_vmci/vmci_event.c"]}],"references":["https://git.kernel.org/stable/c/05ade3d4267180576cd515c0801268a89c708e3e","https://git.kernel.org/stable/c/29f37ec79e879964e6ad7fe37500362517c880bd","https://git.kernel.org/stable/c/5ef59aa7e67cc1dfc8aa24ebea7128eb0b397ea3","https://git.kernel.org/stable/c/824a27d391cf934d3232e8e2dabee221fc4e18ae"],"weaknesses":[],"ingestedAt":"2026-12-03T09:26:06.073Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143002.json","commit":"9fd484e43f2e14021809e195d28c1172759faad0","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143002","state":"PUBLISHED","datePublished":"2026-12-03T09:17:34.931Z","dateUpdated":"2026-12-03T09:17:34.931Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.342Z"},"containers":{"cna":{"title":"misc: vmw_vmci: wait for callbacks in event unsubscribe","descriptions":[{"lang":"en","value":"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->node)\n                                        kvfree_rcu_mightsleep(s)\n                                      kfree(transport)\n      spin_lock_bh(&trans->lock)\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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6da3f33770e08348691d90455ef6149e15551854","status":"affected","lessThan":"05ade3d4267180576cd515c0801268a89c708e3e","versionType":"git"},{"version":"6da3f33770e08348691d90455ef6149e15551854","status":"affected","lessThan":"29f37ec79e879964e6ad7fe37500362517c880bd","versionType":"git"},{"version":"6da3f33770e08348691d90455ef6149e15551854","status":"affected","lessThan":"5ef59aa7e67cc1dfc8aa24ebea7128eb0b397ea3","versionType":"git"},{"version":"6da3f33770e08348691d90455ef6149e15551854","status":"affected","lessThan":"824a27d391cf934d3232e8e2dabee221fc4e18ae","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/misc/vmw_vmci/vmci_event.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.17","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc4","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/misc/vmw_vmci/vmci_event.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/05ade3d4267180576cd515c0801268a89c708e3e"},{"url":"https://git.kernel.org/stable/c/29f37ec79e879964e6ad7fe37500362517c880bd"},{"url":"https://git.kernel.org/stable/c/5ef59aa7e67cc1dfc8aa24ebea7128eb0b397ea3"},{"url":"https://git.kernel.org/stable/c/824a27d391cf934d3232e8e2dabee221fc4e18ae"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:17:34.931Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"7.4-rc4"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}