Re: [PATCH 1/1] ipv4: fix NULL pointer dereference in __inet_put_port()

2016-03-29 Thread David Miller
From: fanhui Date: Tue, 29 Mar 2016 14:45:53 +0800 > [] tcp_nuke_addr+0x22c/0x2a0 Do not report or fix problems in non-mainline kernels. Thank you.

[PATCH 1/1] ipv4: fix NULL pointer dereference in __inet_put_port()

2016-03-28 Thread fanhui
There may be race condition when accessing inet_csk(sk)->icsk_bind_hash, which leads to a crash like this: Unable to handle kernel NULL pointer dereference at virtual address 0010 .. [] inet_put_port+0x80/0xb8 [] tcp_set_state+0xc4/0x110 [] tcp_done+0x60/0xb8 [] tcp_nuke_addr+0x22c/0x2a0 [