{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143002","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.342Z","datePublished":"2026-12-03T09:17:34.931Z","dateUpdated":"2026-12-04T03:26:56.444Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-04T03:26:56.444Z"},"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."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - close() of an AF_VSOCK socket reaches vmci_event_unsubscribe() through vsock_release(), vsock_sk_destruct(), vmci_transport_destruct(), and vmci_transport_free_resources(). The overlapping VMCI_EVENT_QP_PEER_DETACH is generated locally by qp_notify_peer() from IOCTL_VMCI_QUEUEPAIR_DETACH.\nAC:L - The same local user closes that socket, so vmci_transport_free_resources() unsubscribes and kfrees struct vmci_transport, while IOCTL_VMCI_QUEUEPAIR_DETACH on a peer context runs qp_notify_peer(), vmci_event_dispatch(), event_deliver(), and vmci_transport_peer_detach_cb() on that object. Both sides are attacker syscalls and can be retried.\nPR:L - vsock_create(), vsock_release(), vmci_host_open(), IOCTL_VMCI_INIT_CONTEXT, and IOCTL_VMCI_QUEUEPAIR_DETACH perform no capability check. CAP_NET_ADMIN only sets vsk->trusted in __vsock_create() and is not consulted by the detach subscription or unsubscribe path.\nUI:N - The attacker's own threads close the AF_VSOCK socket and issue IOCTL_VMCI_QUEUEPAIR_DETACH. No other user must mount media or take a separate action.\nS:U - The use-after-free of struct vmci_transport occurs in the same kernel that runs vmci_transport_free_resources() and vmci_transport_peer_detach_cb(), which is local privilege escalation inside that kernel's security authority.\nC:H - vmci_transport_peer_detach_cb() reads trans->qp_handle and trans->sk from the callback_data that vmci_transport_free_resources() has already kfree'd. Reclaiming that slab lets the attacker choose the pointer the callback dereferences.\nI:H - On the reclaimed vmci_transport the callback executes spin_lock_bh(&trans->lock), and vmci_transport_handle_detach() writes sk->sk_state and calls sk->sk_state_change(). A forged sk is a kernel write and a function-pointer call.\nA:H - vmci_transport_peer_detach_cb() locks and dereferences the freed vmci_transport from event_deliver(). That access oopses or deadlocks the kernel when the freed object is not replaced with a controlled payload."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/misc/vmw_vmci/vmci_event.c"],"versions":[{"version":"6da3f33770e08348691d90455ef6149e15551854","lessThan":"05ade3d4267180576cd515c0801268a89c708e3e","status":"affected","versionType":"git"},{"version":"6da3f33770e08348691d90455ef6149e15551854","lessThan":"29f37ec79e879964e6ad7fe37500362517c880bd","status":"affected","versionType":"git"},{"version":"6da3f33770e08348691d90455ef6149e15551854","lessThan":"5ef59aa7e67cc1dfc8aa24ebea7128eb0b397ea3","status":"affected","versionType":"git"},{"version":"6da3f33770e08348691d90455ef6149e15551854","lessThan":"824a27d391cf934d3232e8e2dabee221fc4e18ae","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/misc/vmw_vmci/vmci_event.c"],"versions":[{"version":"5.17","status":"affected"},{"version":"0","lessThan":"5.17","status":"unaffected","versionType":"semver"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc4","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"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"}]}]}],"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"}],"title":"misc: vmw_vmci: wait for callbacks in event unsubscribe","x_generator":{"engine":"bippy-1.2.0"}}}}