android_kernel_samsung_a7y1.../net
Johannes Berg 3bebe0fbda cfg80211: check for set_wiphy_params
commit 24953de0a5e31dcca7e82c8a3c79abc2dfe8fb6e upstream.

Check if set_wiphy_params is assigned and return an error if not,
some drivers (e.g. virt_wifi where syzbot reported it) don't have
it.

Reported-by: syzbot+e8a797964a4180eb57d5@syzkaller.appspotmail.com
Reported-by: syzbot+34b582cf32c1db008f8e@syzkaller.appspotmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20200113125358.ac07f276efff.Ibd85ee1b12e47b9efb00a2adc5cd3fac50da791a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 13:38:48 +02:00
..
6lowpan
9p 9p/virtio: Add cleanup path in p9_virtio_init 2020-04-06 20:04:29 +02:00
802
8021q vlan: fix memory leak in vlan_dev_set_egress_priority 2020-04-07 13:29:16 +02:00
appletalk appletalk: Set error code if register_snap_client failed 2020-04-07 12:46:15 +02:00
atm net: atm: Fix potential Spectre v1 vulnerabilities 2020-04-06 15:28:29 +02:00
ax25 ax25: enforce CAP_NET_RAW for raw sockets 2020-04-07 07:37:32 +02:00
batman-adv batman-adv: Fix DAT candidate selection on little endian systems 2020-04-07 13:38:35 +02:00
bluetooth Bluetooth: delete a stray unlock 2020-04-07 13:24:53 +02:00
bridge netfilter: bridge: make sure to pull arp header in br_nf_forward_arp() 2020-04-07 13:23:58 +02:00
caif
can can: purge socket error queue on sock destruct 2020-04-06 19:16:48 +02:00
ceph
core net: add annotations on hh->hh_len lockless accesses 2020-04-07 13:25:04 +02:00
dcb
dccp dccp: Fix memleak in __feat_register_sp 2020-04-07 13:36:40 +02:00
decnet decnet: fix DN_IFREQ_SIZE 2020-04-07 12:42:56 +02:00
dns_resolver
dsa
ethernet net: add annotations on hh->hh_len lockless accesses 2020-04-07 13:25:04 +02:00
hsr hsr: reset network header when supervision frame is created 2020-04-07 13:36:48 +02:00
ieee802154 ieee802154: enforce CAP_NET_RAW for raw sockets 2020-04-07 07:37:35 +02:00
ipv4 tcp: fix marked lost packets not being retransmitted 2020-04-07 13:38:41 +02:00
ipv6 ipv6: drop incoming packets having a v4mapped source address 2020-04-07 08:07:05 +02:00
ipx
irda
iucv
key xfrm: clean up xfrm protocol checks 2020-04-06 21:34:53 +02:00
l2tp compat_ioctl: pppoe: fix PPPOEIOCSFWD handling 2020-04-06 20:28:29 +02:00
l3mdev
lapb lapb: fixed leak of control-blocks. 2020-04-06 19:03:42 +02:00
llc llc2: Fix return statement of llc_stat_ev_rx_null_dsap_xid_c (and _test_c) 2020-04-07 13:29:02 +02:00
mac80211 mac80211: Do not send Layer 2 Update frame before authorization 2020-04-07 13:36:18 +02:00
mac802154
mpls
mptcp
ncm
netfilter netfilter: fix a use-after-free in mtype_destroy() 2020-04-07 13:38:33 +02:00
netlabel
netlink
netrom netrom: hold sock when setting skb->destructor 2020-04-06 20:05:22 +02:00
nfc net: nfc: nci: fix a possible sleep-in-atomic-context bug in nci_uart_tty_receive() 2020-04-07 13:22:15 +02:00
openvswitch openvswitch: remove another BUG_ON() 2020-04-07 12:43:36 +02:00
packet af_packet: set defaule value for tmo 2020-04-07 13:22:07 +02:00
phonet
rds net/rds: Fix error handling in rds_ib_add_one() 2020-04-07 08:07:20 +02:00
rfkill rfkill: Fix incorrect check to avoid NULL pointer dereference 2020-04-07 13:28:52 +02:00
rose net: rose: fix a possible stack overflow 2020-04-06 12:57:06 +02:00
rxrpc
sched pkt_sched: fq: do not accept silly TCA_FQ_QUANTUM 2020-04-07 13:29:08 +02:00
sctp sctp: free cmd->obj.chunk for the unprocessed SCTP_CMD_REPLY 2020-04-07 13:29:10 +02:00
sunrpc sunrpc: fix crash when cache_head become valid before update 2020-04-07 13:08:11 +02:00
switchdev
tipc tipc: fix ordering of tipc module init and exit routine 2020-04-07 13:12:30 +02:00
unix net: fix warning in af_unix 2020-04-07 12:34:56 +02:00
vmw_vsock VSOCK: bind to random port for VMADDR_PORT_ANY 2020-04-07 12:41:40 +02:00
wimax
wireless cfg80211: check for set_wiphy_params 2020-04-07 13:38:48 +02:00
x25 net/x25: fix null_x25_address handling 2020-04-07 12:45:11 +02:00
xfrm xfrm: clean up xfrm protocol checks 2020-04-06 21:34:53 +02:00
compat.c
Kconfig
Makefile
socket.c compat_ioctl: handle SIOCOUTQNSD 2020-04-07 13:37:06 +02:00
sysctl_net.c