Re: Crash due to NULL dereference in tcp_rearm_rto

2018-04-13 Thread Eric Dumazet
On 04/13/2018 05:39 PM, Subash Abhinov Kasiviswanathan wrote: > We are seeing a warning followed by a crash on an ARM64 device with > Android 4.14 based kernel. > > It looks like both sk->sk_write_queue and sk->sk_send_head are NULL. > Since the sk->sk_write_queue is NULL and is dereferenced in

Crash due to NULL dereference in tcp_rearm_rto

2018-04-13 Thread Subash Abhinov Kasiviswanathan
We are seeing a warning followed by a crash on an ARM64 device with Android 4.14 based kernel. It looks like both sk->sk_write_queue and sk->sk_send_head are NULL. Since the sk->sk_write_queue is NULL and is dereferenced in tcp_rto_delta_us() to get the skb->skb_mstamp, there is crash observed.