syzbot


WARNING in wiphy_register (3)

Status: fixed on 2019/03/06 07:43
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+73fd8b0aa60c67fa4b60@syzkaller.appspotmail.com
Fix commit: 9c5d3afac436 mac80211_hwsim: check that n_limits makes sense
First crash: 1976d, last: 1942d
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] mac80211_hwsim: check that n_limits makes sense 1 (1) 2019/01/15 13:24
WARNING in wiphy_register (3) 0 (1) 2018/12/30 03:41
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in wiphy_register (4) wireless syz error 3 1868d 1896d 12/26 fixed on 2019/05/27 12:48
upstream WARNING in wiphy_register wireless C 15 2321d 2322d 4/26 fixed on 2018/01/22 13:19
upstream WARNING in wiphy_register (2) wireless C 8 2107d 2109d 10/26 fixed on 2018/09/11 03:32

Sample crash report:
IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready
8021q: adding VLAN 0 to HW filter on device batadv0
8021q: adding VLAN 0 to HW filter on device batadv0
8021q: adding VLAN 0 to HW filter on device batadv0
netlink: 'syz-executor3': attribute type 23 has an invalid length.
WARNING: CPU: 0 PID: 7954 at net/wireless/core.c:581 wiphy_verify_combinations net/wireless/core.c:581 [inline]
WARNING: CPU: 0 PID: 7954 at net/wireless/core.c:581 wiphy_register+0x1432/0x2760 net/wireless/core.c:784
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 7954 Comm: syz-executor3 Not tainted 4.20.0+ #2
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1db/0x2d0 lib/dump_stack.c:113
 panic+0x2cb/0x589 kernel/panic.c:189
 __warn.cold+0x20/0x4b kernel/panic.c:544
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:290
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:973
RIP: 0010:wiphy_verify_combinations net/wireless/core.c:581 [inline]
RIP: 0010:wiphy_register+0x1432/0x2760 net/wireless/core.c:784
Code: ff e8 42 6d 1d fa 0f 0b 41 bc ea ff ff ff e9 5e f0 ff ff e8 30 6d 1d fa 0f 0b 41 bc ea ff ff ff e9 4c f0 ff ff e8 1e 6d 1d fa <0f> 0b 41 bc ea ff ff ff e9 3a f0 ff ff e8 0c 6d 1d fa 0f 0b 41 bc
RSP: 0018:ffff88809d056ef0 EFLAGS: 00010293
RAX: ffff888086584040 RBX: 0000000000000000 RCX: ffffffff8763cc2a
RDX: 0000000000000000 RSI: ffffffff8763d182 RDI: 0000000000000001
RBP: ffff88809d057048 R08: ffff888086584040 R09: ffffed1013b5f1c1
kobject: 'loop5' (00000000293328f9): kobject_uevent_env
R10: ffffed1013b5f1c0 R11: ffff88809daf8e05 R12: 000000000000002f
R13: ffffffff88f47000 R14: 0000000000000800 R15: ffff88809dafb874
kobject: 'loop5' (00000000293328f9): fill_kobj_path: path = '/devices/virtual/block/loop5'
kobject: 'loop4' (00000000254d85b2): kobject_uevent_env
 ieee80211_register_hw+0x15e2/0x3f30 net/mac80211/main.c:1109
kobject: 'loop4' (00000000254d85b2): fill_kobj_path: path = '/devices/virtual/block/loop4'
 mac80211_hwsim_new_radio+0x2018/0x36b0 drivers/net/wireless/mac80211_hwsim.c:2921
kobject: 'loop2' (00000000c70189d5): kobject_uevent_env
 hwsim_new_radio_nl+0xca6/0x1430 drivers/net/wireless/mac80211_hwsim.c:3469
 genl_family_rcv_msg+0x80d/0x11a0 net/netlink/genetlink.c:601
kobject: 'loop2' (00000000c70189d5): fill_kobj_path: path = '/devices/virtual/block/loop2'
 genl_rcv_msg+0xca/0x16c net/netlink/genetlink.c:626
 netlink_rcv_skb+0x17d/0x410 net/netlink/af_netlink.c:2477
kobject: 'loop0' (000000003a76fd6a): kobject_uevent_env
 genl_rcv+0x29/0x40 net/netlink/genetlink.c:637
 netlink_unicast_kernel net/netlink/af_netlink.c:1310 [inline]
 netlink_unicast+0x574/0x770 net/netlink/af_netlink.c:1336
 netlink_sendmsg+0xa05/0xf90 net/netlink/af_netlink.c:1917
kobject: 'loop0' (000000003a76fd6a): fill_kobj_path: path = '/devices/virtual/block/loop0'
 sock_sendmsg_nosec net/socket.c:621 [inline]
 sock_sendmsg+0xdd/0x130 net/socket.c:631
 ___sys_sendmsg+0x7ec/0x910 net/socket.c:2116
 __sys_sendmsg+0x112/0x270 net/socket.c:2154
 __do_sys_sendmsg net/socket.c:2163 [inline]
 __se_sys_sendmsg net/socket.c:2161 [inline]
 __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2161
 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457ec9
Code: 6d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f41bf1b7c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457ec9
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000003
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f41bf1b86d4
R13: 00000000004c51d3 R14: 00000000004d8a88 R15: 00000000ffffffff
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (31):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/01/01 14:48 net-old 756af9c64232 3d85f48c .config console log report syz ci-upstream-net-this-kasan-gce
2019/01/09 15:19 net-next-old b71acb0e3721 45c0c1b1 .config console log report syz ci-upstream-net-kasan-gce
2019/01/07 05:42 net-next-old b71acb0e3721 ee332608 .config console log report syz ci-upstream-net-kasan-gce
2019/01/05 15:11 net-next-old b71acb0e3721 53be0a37 .config console log report syz ci-upstream-net-kasan-gce
2019/01/05 08:57 net-next-old b71acb0e3721 53be0a37 .config console log report syz ci-upstream-net-kasan-gce
2019/01/05 01:09 net-next-old b71acb0e3721 0127e3ba .config console log report syz ci-upstream-net-kasan-gce
2019/01/01 17:58 net-next-old b71acb0e3721 3d85f48c .config console log report syz ci-upstream-net-kasan-gce
2018/12/30 21:17 net-next-old b71acb0e3721 9942de5f .config console log report syz ci-upstream-net-kasan-gce
2018/12/26 05:39 net-next-old 90cadbbf341d 8a41a0ad .config console log report syz ci-upstream-net-kasan-gce
2018/12/26 03:57 net-next-old 90cadbbf341d 8a41a0ad .config console log report syz ci-upstream-net-kasan-gce
2019/01/21 19:46 net-old 49a57857aeea badbbeee .config console log report ci-upstream-net-this-kasan-gce
2019/01/09 18:57 net-old d972f3dce8d1 45c0c1b1 .config console log report ci-upstream-net-this-kasan-gce
2019/01/01 14:29 net-old 756af9c64232 3d85f48c .config console log report ci-upstream-net-this-kasan-gce
2019/01/29 18:03 net-next-old 085c4c7dd2b6 aa432daf .config console log report ci-upstream-net-kasan-gce
2019/01/29 08:22 net-next-old 085c4c7dd2b6 aa432daf .config console log report ci-upstream-net-kasan-gce
2019/01/27 03:31 net-next-old a4b829949326 c73f090a .config console log report ci-upstream-net-kasan-gce
2019/01/23 05:34 net-next-old 1435d9970378 b1ff06b2 .config console log report ci-upstream-net-kasan-gce
2019/01/21 08:53 net-next-old 28f9d1a3d4fe fd37a550 .config console log report ci-upstream-net-kasan-gce
2019/01/18 11:40 net-next-old 22c2ad616b74 5bf17c30 .config console log report ci-upstream-net-kasan-gce
2019/01/17 12:39 net-next-old bdbe8cc1a30c c2faf9b2 .config console log report ci-upstream-net-kasan-gce
2019/01/14 16:10 net-next-old b71acb0e3721 95485883 .config console log report ci-upstream-net-kasan-gce
2019/01/10 09:22 net-next-old b71acb0e3721 45c0c1b1 .config console log report ci-upstream-net-kasan-gce
2019/01/09 15:02 net-next-old b71acb0e3721 45c0c1b1 .config console log report ci-upstream-net-kasan-gce
2019/01/07 05:27 net-next-old b71acb0e3721 ee332608 .config console log report ci-upstream-net-kasan-gce
2019/01/05 14:46 net-next-old b71acb0e3721 53be0a37 .config console log report ci-upstream-net-kasan-gce
2019/01/05 08:39 net-next-old b71acb0e3721 53be0a37 .config console log report ci-upstream-net-kasan-gce
2019/01/05 00:44 net-next-old b71acb0e3721 0127e3ba .config console log report ci-upstream-net-kasan-gce
2019/01/01 17:40 net-next-old b71acb0e3721 3d85f48c .config console log report ci-upstream-net-kasan-gce
2018/12/30 20:53 net-next-old b71acb0e3721 9942de5f .config console log report ci-upstream-net-kasan-gce
2018/12/26 04:25 net-next-old 90cadbbf341d 8a41a0ad .config console log report ci-upstream-net-kasan-gce
2018/12/26 02:34 net-next-old 90cadbbf341d 8a41a0ad .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.