tipc: fix broadcast sender hang on last acker departure
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Sep 25, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
tipc: fix broadcast sender hang on last acker departure
TIPC group broadcast senders are blocked while a replicast still has outstanding member acks: tipc_group_bc_cong() returns true as long as grp->bc_ackers is non-zero, and clears *grp->open, which is what tipc_poll() uses to report EPOLLOUT (via tsk->group_is_open).
When the last outstanding acker departs before acking, tipc_group_delete_member() decrements grp->bc_ackers to zero but never restores *grp->open. As a result poll(EPOLLOUT) never fires again. A writer blocked in sendmsg() is only released if some other wakeup happens after the deletion: with TIPC_GROUP_MEMBER_EVTS the leave event delivery calls sk_data_ready() and wakes it, but without member events nothing does and it sleeps indefinitely, since the default send timeout is MAX_SCHEDULE_TIMEOUT.
Commit 99cc2a62e07a ("tipc: reject invalid and unexpected GRP_ACK_MSG to prevent bc_ackers underflow") already calls this out in its changelog as a pre-existing issue.
Restore the open state exactly on the 1->0 transition in the delete path, mirroring the GRP_ACK_MSG completion path, and invoke sk->sk_write_space() from tipc_sk_filter_rcv() when the group just became writable again.
Also make the ack accounting precise. The delete path used to test less(m->bc_acked, grp->bc_snd_nxt - 1), which also matches members that were never counted for the current replicast (JOINING/LEAVING members keep a stale bc_acked), and the GRP_ACK_MSG handler accepted an ack from any member whose bc_acked differed from the expected value. Either could zero bc_ackers on behalf of a member that owes nothing and silently void an ack still owed by a real acker. Track whether a member owes an ack for the current replicast in a new per-member bc_pending flag, set when the member is counted and cleared when its ack arrives, and use it both to accept an ack and to decide on deletion. bc_acked has no remaining user and is removed. Suggested by Tung Quang Nguyen.
This issue was discovered by Tencent CodeBuddy Security.
| Product | Versions |
|---|---|
| Linux Linux | 2f487712b89376fce267223bbb0db93d393d4b09 to before cefacbf3f4e88dd043b91cff678b69383cc81437 Affected2f487712b89376fce267223bbb0db93d393d4b09 to before ebbd461bd461d341d0b4869ee5d3aea7f1c83050 Affected2f487712b89376fce267223bbb0db93d393d4b09 to before 089d6e28f0a9b11abf9d141129b2667908a68261 Affected2f487712b89376fce267223bbb0db93d393d4b09 to before 8daaf9b4352393f7178f5168e51ea09431ac16ef Affected2f487712b89376fce267223bbb0db93d393d4b09 to before cb524d331c23234679c957de3fdee638b909b9f4 Affected2f487712b89376fce267223bbb0db93d393d4b09 to before 3402ea1ee81cb2cfa61184d6eaffd1e9743c754c Affected2f487712b89376fce267223bbb0db93d393d4b09 to before 3fd5792b3ddc0fe440c2eac1646b86c1eb4b38df Affected2f487712b89376fce267223bbb0db93d393d4b09 to before f4377bf85887f57b59abb5479f7660a81ffe4449 Affected |
| Linux Linux | 4.15 Affectedbefore 4.15 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/cefacbf3f4e88dd043b91cff678b69383cc81437
- https://git.kernel.org/stable/c/ebbd461bd461d341d0b4869ee5d3aea7f1c83050
- https://git.kernel.org/stable/c/089d6e28f0a9b11abf9d141129b2667908a68261
- https://git.kernel.org/stable/c/8daaf9b4352393f7178f5168e51ea09431ac16ef
- https://git.kernel.org/stable/c/cb524d331c23234679c957de3fdee638b909b9f4
- https://git.kernel.org/stable/c/3402ea1ee81cb2cfa61184d6eaffd1e9743c754c
- https://git.kernel.org/stable/c/3fd5792b3ddc0fe440c2eac1646b86c1eb4b38df
- https://git.kernel.org/stable/c/f4377bf85887f57b59abb5479f7660a81ffe4449
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.