{"id":"CVE-2026-99955","summary":"tipc: fix broadcast sender hang on last acker departure","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ntipc: fix broadcast sender hang on last acker departure\n\nTIPC group broadcast senders are blocked while a replicast still has\noutstanding member acks: tipc_group_bc_cong() returns true as long as\ngrp-\u003ebc_ackers is non-zero, and clears *grp-\u003eopen, which is what\ntipc_poll() uses to report EPOLLOUT (via tsk-\u003egroup_is_open).\n\nWhen the last outstanding acker departs before acking,\ntipc_group_delete_member() decrements grp-\u003ebc_ackers to zero but\nnever restores *grp-\u003eopen.  As a result poll(EPOLLOUT) never fires\nagain.  A writer blocked in sendmsg() is only released if some other\nwakeup happens after the deletion: with TIPC_GROUP_MEMBER_EVTS the\nleave event delivery calls sk_data_ready() and wakes it, but without\nmember events nothing does and it sleeps indefinitely, since the\ndefault send timeout is MAX_SCHEDULE_TIMEOUT.\n\nCommit 99cc2a62e07a (\"tipc: reject invalid and unexpected\nGRP_ACK_MSG to prevent bc_ackers underflow\") already calls this out\nin its changelog as a pre-existing issue.\n\nRestore the open state exactly on the 1-\u003e0 transition in the delete\npath, mirroring the GRP_ACK_MSG completion path, and invoke\nsk-\u003esk_write_space() from tipc_sk_filter_rcv() when the group just\nbecame writable again.\n\nAlso make the ack accounting precise.  The delete path used to test\nless(m-\u003ebc_acked, grp-\u003ebc_snd_nxt - 1), which also matches members\nthat were never counted for the current replicast (JOINING/LEAVING\nmembers keep a stale bc_acked), and the GRP_ACK_MSG handler accepted\nan ack from any member whose bc_acked differed from the expected\nvalue.  Either could zero bc_ackers on behalf of a member that owes\nnothing and silently void an ack still owed by a real acker.  Track\nwhether a member owes an ack for the current replicast in a new\nper-member bc_pending flag, set when the member is counted and\ncleared when its ack arrives, and use it both to accept an ack and\nto decide on deletion.  bc_acked has no remaining user and is\nremoved.  Suggested by Tung Quang Nguyen.\n\nThis issue was discovered by Tencent CodeBuddy Security.","modified":"2026-12-01T07:00:46.761325239Z","published":"2026-11-30T13:18:36.681Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99955.json"},"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/089d6e28f0a9b11abf9d141129b2667908a68261"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3402ea1ee81cb2cfa61184d6eaffd1e9743c754c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3fd5792b3ddc0fe440c2eac1646b86c1eb4b38df"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8daaf9b4352393f7178f5168e51ea09431ac16ef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cb524d331c23234679c957de3fdee638b909b9f4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cefacbf3f4e88dd043b91cff678b69383cc81437"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ebbd461bd461d341d0b4869ee5d3aea7f1c83050"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f4377bf85887f57b59abb5479f7660a81ffe4449"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99955.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99955"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2f487712b89376fce267223bbb0db93d393d4b09"},{"fixed":"cefacbf3f4e88dd043b91cff678b69383cc81437"},{"fixed":"ebbd461bd461d341d0b4869ee5d3aea7f1c83050"},{"fixed":"089d6e28f0a9b11abf9d141129b2667908a68261"},{"fixed":"8daaf9b4352393f7178f5168e51ea09431ac16ef"},{"fixed":"cb524d331c23234679c957de3fdee638b909b9f4"},{"fixed":"3402ea1ee81cb2cfa61184d6eaffd1e9743c754c"},{"fixed":"3fd5792b3ddc0fe440c2eac1646b86c1eb4b38df"},{"fixed":"f4377bf85887f57b59abb5479f7660a81ffe4449"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99955.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99955.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}