ipv4: Missing sk_nulls_node_init() in ping_unhash().
David S. Miller authored
[ Upstream commit a134f083

 ]

If we don't do that, then the poison value is left in the ->pprev
backlink.

This can cause crashes if we do a disconnect, followed by a connect().
Tested-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Reported-by: default avatarWen Xu <hotdog3645@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
cf30cd6b
Name Last commit Last update
..
802 net/802/mrp: fix lockdep splat
8021q 8021q: fix a potential memory leak
9p 9p/trans_virtio.c: Fix broken zero-copy on vmalloc() buffers
appletalk appletalk: Fix socket referencing in skb
atm net: rework recvmsg handler msg_name and msg_namelen logic
ax25 net: rework recvmsg handler msg_name and msg_namelen logic
batman-adv batman-adv: set up network coding packet handlers during module init
bluetooth Bluetooth: Avoid use of session socket after the session gets freed
bridge br: fix use of ->rx_handler_data in code executed on non-rx_handler path
caif caif: fix MSG_OOB test in caif_seqpkt_recvmsg()
can can: add missing initialisations in CAN related skbuffs
ceph libceph: fix double __remove_osd() problem
core net: sysctl_net_core: check SNDBUF and RCVBUF for min length
dcb net: Use netlink_ns_capable to verify the permisions of netlink messages
dccp net:dccp: do not report ICMP redirects to user space
decnet net: Use netlink_ns_capable to verify the permisions of netlink messages
dns_resolver dns_resolver: Null-terminate the right string
dsa dsa: fix freeing of sparse port allocation
ethernet net: add ETH_P_802_3_MIN
ieee802154 6lowpan: fix lockdep splats
ipv4 ipv4: Missing sk_nulls_node_init() in ping_unhash().
ipv6 ipv6: Don't reduce hop limit for an interface
ipx ipx: fix locking regression in ipx_sendmsg and ipx_recvmsg
irda net: irda: fix wait_until_sent poll timeout
iucv af_iucv: wrong mapping of sent and confirmed skbs
key
l2tp
lapb
llc
mac80211
mac802154
netfilter
netlabel
netlink
netrom
nfc
openvswitch
packet
phonet
rds
rfkill
rose
rxrpc
sched
sctp
sunrpc
tipc
unix
vmw_vsock
wimax
wireless
x25
xfrm
Kconfig
Makefile
compat.c
nonet.c
socket.c
sysctl_net.c