netlink: 4 bytes leftover after parsing attributes in process `syz.2.590'. ------------[ cut here ]------------ intf 08:02:11:00:00:00 [link=0]: bad STA 08:02:11:00:00:01 bandwidth 20 MHz (0) > channel config 5 MHz (6) WARNING: CPU: 2 PID: 7734 at drivers/net/wireless/virtual/mac80211_hwsim.c:2651 mac80211_hwsim_sta_rc_update+0x60b/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2651 Modules linked in: CPU: 2 UID: 0 PID: 7734 Comm: syz.2.590 Not tainted 6.16.0-syzkaller-11895-gcca7a0aae895 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:mac80211_hwsim_sta_rc_update+0x60b/0x850 drivers/net/wireless/virtual/mac80211_hwsim.c:2651 Code: 8b 44 24 20 89 da 48 c7 c7 e0 1c 6c 8c 44 8b 89 b8 01 00 00 41 54 48 8d b0 72 04 00 00 41 55 44 8b 44 24 14 e8 96 03 66 fa 90 <0f> 0b 90 90 58 5a e9 36 fc ff ff e8 e5 64 a7 fa e8 20 63 7e 04 31 RSP: 0018:ffffc90004c5f188 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc900078c2000 RDX: 0000000000080000 RSI: ffffffff817a3365 RDI: 0000000000000001 RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000006 R13: 0000000000000005 R14: ffff888056cb9080 R15: ffff8880360330a0 FS: 00007ff11d1416c0(0000) GS:ffff8880d68c4000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000008600 CR3: 000000005dde4000 CR4: 0000000000352ef0 Call Trace: mac80211_hwsim_sta_add+0xc9/0x2c0 drivers/net/wireless/virtual/mac80211_hwsim.c:2671 drv_sta_add net/mac80211/driver-ops.h:470 [inline] drv_sta_state+0xa05/0x1940 net/mac80211/driver-ops.c:155 sta_info_insert_drv_state net/mac80211/sta_info.c:824 [inline] sta_info_insert_finish net/mac80211/sta_info.c:932 [inline] sta_info_insert_rcu+0xc8d/0x1b70 net/mac80211/sta_info.c:1009 sta_info_insert+0x16/0xd0 net/mac80211/sta_info.c:1014 ieee80211_add_station+0x46d/0x6c0 net/mac80211/cfg.c:2291 rdev_add_station net/wireless/rdev-ops.h:201 [inline] nl80211_new_station+0x1502/0x1c90 net/wireless/nl80211.c:8441 genl_family_rcv_msg_doit+0x206/0x2f0 net/netlink/genetlink.c:1115 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0x55c/0x800 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x155/0x420 net/netlink/af_netlink.c:2552 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x5aa/0x870 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:714 [inline] __sock_sendmsg net/socket.c:729 [inline] ____sys_sendmsg+0xa95/0xc70 net/socket.c:2614 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2668 __sys_sendmsg+0x16d/0x220 net/socket.c:2700 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff11c38ebe9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff11d141038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007ff11c5b5fa0 RCX: 00007ff11c38ebe9 RDX: 0000000000000000 RSI: 0000200000001080 RDI: 0000000000000005 RBP: 00007ff11c411e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff11c5b6038 R14: 00007ff11c5b5fa0 R15: 00007fff421a1ba8