syzbot


WARNING in ieee80211_vif_release_channel (3)

Status: upstream: reported C repro on 2022/06/01 03:26
Reported-by: syzbot+06ba35cafc34846b316a@syzkaller.appspotmail.com
First crash: 688d, last: 528d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in ieee80211_vif_release_channel 2 1049d 1050d 0/1 auto-closed as invalid on 2021/10/03 04:56
linux-4.19 WARNING in ieee80211_vif_release_channel (2) 1 910d 910d 0/1 auto-closed as invalid on 2022/02/18 14:29
upstream WARNING in ieee80211_vif_release_channel wireless 3 989d 1049d 0/26 auto-closed as invalid on 2021/12/02 06:30
upstream WARNING in ieee80211_vif_release_channel (2) wireless C done 5 847d 851d 20/26 fixed on 2022/03/08 16:11

Sample crash report:
RBP: 00007ffcd157d680 R08: 0000000000000001 R09: 00007ffcd157d647
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 00007f4df2da64a0 R14: 00007ffcd157d6a0 R15: 00007ffcd157d66a
------------[ cut here ]------------
WARNING: CPU: 1 PID: 8106 at net/mac80211/chan.c:1754 ieee80211_vif_release_channel.cold+0x29/0x57 net/mac80211/chan.c:1754
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 8106 Comm: syz-executor330 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:ieee80211_vif_release_channel.cold+0x29/0x57 net/mac80211/chan.c:1754
Code: ff e8 1e fb 4d f9 48 c7 c7 20 1a 68 89 e8 7d 2c df ff 0f 0b e9 c8 4c 92 ff e8 06 fb 4d f9 48 c7 c7 20 1a 68 89 e8 65 2c df ff <0f> 0b b8 ff ff 37 00 4c 89 e2 48 c1 ea 03 48 c1 e0 2a 80 3c 02 00
RSP: 0018:ffff8880a4d47398 EFLAGS: 00010286
RAX: 0000000000000024 RBX: ffff8880af5212c0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed10149a8e65
RBP: 0000000000000000 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880af5217f0
R13: 0000000000000001 R14: 00000000fffffff4 R15: ffff8880af5217f0
 ieee80211_start_ap+0x11a0/0x1730 net/mac80211/cfg.c:974
 rdev_start_ap net/wireless/rdev-ops.h:144 [inline]
 nl80211_start_ap+0x12dc/0x2110 net/wireless/nl80211.c:4402
 genl_family_rcv_msg+0x642/0xc40 net/netlink/genetlink.c:602
 genl_rcv_msg+0xbf/0x160 net/netlink/genetlink.c:627
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
 netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
 netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:661
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227
 __sys_sendmsg net/socket.c:2265 [inline]
 __do_sys_sendmsg net/socket.c:2274 [inline]
 __se_sys_sendmsg net/socket.c:2272 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f4df2d2aec9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 15 00 00 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 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcd157d618 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f4df2d2aec9
RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000003
RBP: 00007ffcd157d680 R08: 0000000000000001 R09: 00007ffcd157d647
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 00007f4df2da64a0 R14: 00007ffcd157d6a0 R15: 00007ffcd157d66a
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/29 12:47 linux-4.19.y 3f8a27f9e27b a41a2080 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 WARNING in ieee80211_vif_release_channel
2022/06/01 03:25 linux-4.19.y 3f8a27f9e27b 3666edfe .config console log report syz C ci2-linux-4-19 WARNING in ieee80211_vif_release_channel
2022/11/07 13:31 linux-4.19.y 3f8a27f9e27b a779b11a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in ieee80211_vif_release_channel
* Struck through repros no longer work on HEAD.