------------[ cut here ]------------ wlan0: Failed check-sdata-in-driver check, flags: 0x4 WARNING: CPU: 1 PID: 6337 at net/mac80211/driver-ops.h:172 drv_bss_info_changed+0x5c0/0x750 net/mac80211/driver-ops.h:172 Modules linked in: CPU: 1 PID: 6337 Comm: syz-executor.1 Not tainted 5.10.156 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:drv_bss_info_changed+0x5c0/0x750 net/mac80211/driver-ops.h:172 Code: a8 03 00 00 48 85 ed 0f 84 04 01 00 00 e8 58 83 91 fd e8 53 83 91 fd 8b 54 24 04 48 89 ee 48 c7 c7 c0 39 95 84 e8 f6 c4 24 00 <0f> 0b e9 91 fd ff ff e8 34 83 91 fd e8 6f cc 31 00 31 ff 89 c3 89 RSP: 0018:ffff88804aca7508 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff81298f33 RDI: ffffed1009594e93 RBP: ffff88804541c000 R08: 0000000000000001 R09: ffff88806cf37b4f R10: 0000000000000000 R11: 0000000000000001 R12: ffff88804541cbc0 R13: 0000000002000000 R14: ffff88804541db48 R15: ffff88804541db40 FS: 00007f1b54c96700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1b54c96718 CR3: 00000000455c0000 CR4: 0000000000350ee0 Call Trace: ieee80211_bss_info_change_notify+0x9a/0xc0 net/mac80211/main.c:210 ieee80211_set_mcast_rate+0x37/0x50 net/mac80211/cfg.c:2564 rdev_set_mcast_rate net/wireless/rdev-ops.h:1212 [inline] nl80211_set_mcast_rate+0x30b/0x5a0 net/wireless/nl80211.c:10215 genl_family_rcv_msg_doit+0x22d/0x330 net/netlink/genetlink.c:739 genl_family_rcv_msg net/netlink/genetlink.c:783 [inline] genl_rcv_msg+0x33c/0x5a0 net/netlink/genetlink.c:800 netlink_rcv_skb+0x14b/0x430 net/netlink/af_netlink.c:2515 genl_rcv+0x24/0x40 net/netlink/genetlink.c:811 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline] netlink_unicast+0x549/0x7f0 net/netlink/af_netlink.c:1339 netlink_sendmsg+0x905/0xdf0 net/netlink/af_netlink.c:1934 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0x154/0x190 net/socket.c:671 ____sys_sendmsg+0x70d/0x870 net/socket.c:2342 ___sys_sendmsg+0xf3/0x170 net/socket.c:2396 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2429 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f1b57741b19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1b54c96188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f1b57855020 RCX: 00007f1b57741b19 RDX: 0000000000000000 RSI: 0000000020000f00 RDI: 0000000000000003 RBP: 00007f1b5779bf6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeaf13d52f R14: 00007f1b54c96300 R15: 0000000000022000 irq event stamp: 819 hardirqs last enabled at (827): [] console_unlock+0x92d/0xb40 kernel/printk/printk.c:2561 hardirqs last disabled at (836): [] console_unlock+0x839/0xb40 kernel/printk/printk.c:2476 softirqs last enabled at (108): [] netlink_insert+0x187/0x1640 net/netlink/af_netlink.c:597 softirqs last disabled at (106): [] spin_lock_bh include/linux/spinlock.h:359 [inline] softirqs last disabled at (106): [] release_sock+0x1b/0x1b0 net/core/sock.c:3072 ---[ end trace aeb5d8aa32f0f79b ]--- Zero length message leads to an empty skb