Thread (3 messages) flat view 3 messages, 2 authors, 2020-06-01

Re: [PATCH net-next] tipc: Fix NULL pointer dereference in __tipc_sendstream()

From: David Miller <davem@davemloft.net>
Date: 2020-06-01 18:43:02
Also in: lkml

From: YueHaibing <redacted>
Date: Thu, 28 May 2020 22:34:07 +0800
tipc_sendstream() may send zero length packet, then tipc_msg_append()
do not alloc skb, skb_peek_tail() will get NULL, msg_set_ack_required
will trigger NULL pointer dereference.

Reported-by: syzbot+8eac6d030e7807c21d32@syzkaller.appspotmail.com
Fixes: 0a3e060f340d ("tipc: add test for Nagle algorithm effectiveness")
Signed-off-by: YueHaibing <redacted>
Can a TIPC expert please review this?

Thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help