Re: [net] tipc: fix NULL deref in tipc_link_xmit()

2021-01-07 Thread Jakub Kicinski
On Thu, 7 Jan 2021 10:34:19 +0700 Hoang Huu Le wrote: > From: Hoang Le > > The buffer list can have zero skb as following path: > tipc_named_node_up()->tipc_node_xmit()->tipc_link_xmit(), so > we need to check the list before casting an &sk_buff. > > Fault report: > [] tipc: Bulk publication f

[net] tipc: fix NULL deref in tipc_link_xmit()

2021-01-06 Thread Hoang Huu Le
From: Hoang Le The buffer list can have zero skb as following path: tipc_named_node_up()->tipc_node_xmit()->tipc_link_xmit(), so we need to check the list before casting an &sk_buff. Fault report: [] tipc: Bulk publication failure [] general protection fault, probably for non-canonical [#1] PR