original_kernel/net
Willem de Bruijn c27927e372 packet: fix tp_reserve race in packet_set_ring
Updates to tp_reserve can race with reads of the field in
packet_set_ring. Avoid this by holding the socket lock during
updates in setsockopt PACKET_RESERVE.

This bug was discovered by syzkaller.

Fixes: 8913336a7e ("packet: add PACKET_RESERVE sockopt")
Reported-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-10 09:52:12 -07:00
..
6lowpan
9p
802
8021q
appletalk
atm
ax25
batman-adv batman-adv: fix TT sync flag inconsistencies 2017-07-31 11:17:38 +02:00
bluetooth
bpf
bridge
caif
can
ceph libceph: make RECOVERY_DELETES feature create a new interval 2017-08-01 16:46:45 +02:00
core net: avoid skb_warn_bad_offload false positives on UFO 2017-08-08 21:39:01 -07:00
dcb
dccp dccp: fix a memleak for dccp_feat_init err process 2017-07-27 00:01:05 -07:00
decnet
dns_resolver
dsa net: dsa: Initialize ds->cpu_port_mask earlier 2017-07-24 17:36:27 -07:00
ethernet
hsr
ieee802154
ife
ipv4 udp: consistently apply ufo or fragmentation 2017-08-10 09:52:12 -07:00
ipv6 udp: consistently apply ufo or fragmentation 2017-08-10 09:52:12 -07:00
ipx
irda
iucv
kcm
key
l2tp
l3mdev
lapb
llc
mac80211
mac802154
mpls
ncsi
netfilter
netlabel
netlink
netrom
nfc
openvswitch openvswitch: fix potential out of bound access in parse_ct 2017-07-24 16:25:06 -07:00
packet packet: fix tp_reserve race in packet_set_ring 2017-08-10 09:52:12 -07:00
phonet
psample
qrtr
rds rds: Reintroduce statistics counting 2017-08-08 21:03:47 -07:00
rfkill
rose
rxrpc
sched net: sched: set xt_tgchk_param par.nft_compat as 0 in ipt_init_target 2017-08-09 22:46:44 -07:00
sctp
smc
strparser
sunrpc
switchdev
tipc tipc: remove premature ESTABLISH FSM event at link synchronization 2017-08-09 22:38:06 -07:00
tls
unix
vmw_vsock
wimax
wireless
x25
xfrm
Kconfig
Makefile
compat.c
socket.c net/socket: fix type in assignment and trim long line 2017-07-24 14:17:01 -07:00
sysctl_net.c