Basil Gunn
2d6b61ec9d
ax25: Fix segfault after sock connection timeout
...
[ Upstream commit 8a367e74c0120ef68c8c70d5a025648c96626dff ]
The ax.25 socket connection timed out & the sock struct has been
previously taken down ie. sock struct is now a NULL pointer. Checking
the sock_flag causes the segfault. Check if the socket struct pointer
is NULL before checking sock_flag. This segfault is seen in
timed out netrom connections.
Please submit to -stable.
Signed-off-by: Basil Gunn <basil@pacabunga.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-02-04 09:47:09 +01:00
..
af_ax25.c
AX.25: Close socket connection on session completion
2016-06-18 20:55:34 -07:00
ax25_addr.c
small cleanup in ax25_addr_parse()
2012-07-09 00:16:16 -07:00
ax25_dev.c
net ax25: Simplify and cleanup the ax25 sysctl handling.
2012-04-20 21:22:28 -04:00
ax25_ds_in.c
Remove all #inclusions of asm/system.h
2012-03-28 18:30:03 +01:00
ax25_ds_subr.c
hlist: drop the node parameter from iterators
2013-02-27 19:10:24 -08:00
ax25_ds_timer.c
AX.25: Close socket connection on session completion
2016-06-18 20:55:34 -07:00
ax25_iface.c
hlist: drop the node parameter from iterators
2013-02-27 19:10:24 -08:00
ax25_in.c
ax25: Stop using sock->sk_protinfo.
2015-06-28 16:55:44 -07:00
ax25_ip.c
ax25: add link layer header validation function
2016-03-09 22:13:01 -05:00
ax25_out.c
netfilter: Remove spurios included of netfilter.h
2015-06-18 21:14:32 +02:00
ax25_route.c
net: use consume_skb() in place of kfree_skb()
2012-06-04 11:27:40 -04:00
ax25_std_in.c
Remove all #inclusions of asm/system.h
2012-03-28 18:30:03 +01:00
ax25_std_subr.c
Remove all #inclusions of asm/system.h
2012-03-28 18:30:03 +01:00
ax25_std_timer.c
AX.25: Close socket connection on session completion
2016-06-18 20:55:34 -07:00
ax25_subr.c
ax25: Fix segfault after sock connection timeout
2017-02-04 09:47:09 +01:00
ax25_timer.c
Remove all #inclusions of asm/system.h
2012-03-28 18:30:03 +01:00
ax25_uid.c
netfilter: Remove spurios included of netfilter.h
2015-06-18 21:14:32 +02:00
Kconfig
Update broken web addresses in the kernel.
2010-10-18 11:03:14 +02:00
Makefile
sysctl_net_ax25.c
net: Convert uses of typedef ctl_table to struct ctl_table
2013-06-13 02:36:09 -07:00
TODO