PT-2026-162922
CVE-2026-99955
·
Publicado
2026-11-30
·
Atualizado
2026-11-30
Descrição por
CVSS 3.1
7.5
AltaMétricasAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾