[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190730.144026.1606872258602139673.davem@davemloft.net>
Date: Tue, 30 Jul 2019 14:40:26 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jon.maloy@...csson.com
Cc: netdev@...r.kernel.org, tung.q.nguyen@...tech.com.au,
hoang.h.le@...tech.com.au, lxin@...hat.com, shuali@...hat.com,
ying.xue@...driver.com, tipc-discussion@...ts.sourceforge.net
Subject: Re: [net 1/1] tipc: fix unitilized skb list crash
From: Jon Maloy <jon.maloy@...csson.com>
Date: Tue, 30 Jul 2019 20:19:10 +0200
> Our test suite somtimes provokes the following crash:
>
> Description of problem:
...
> The reason is that the skb list tipc_socket::mc_method.deferredq only
> is initialized for connectionless sockets, while nothing stops arriving
> multicast messages from being filtered by connection oriented sockets,
> with subsequent access to the said list.
>
> We fix this by initializing the list unconditionally at socket creation.
> This eliminates the crash, while the message still is dropped further
> down in tipc_sk_filter_rcv() as it should be.
>
> Reported-by: Li Shuang <shuali@...hat.com>
> Signed-off-by: Jon Maloy <jon.maloy@...csson.com>
Applied and queued up for -stable, thank you.
Powered by blists - more mailing lists