WARNING in ieee80211_start_next_roc

10 views
Skip to first unread message

syzbot

unread,
Jan 8, 2021, 9:54:17 PM1/8/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 4143d798 Linux 4.19.165
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=105750af500000
kernel config: https://syzkaller.appspot.com/x/.config?x=250ed6957c7993a3
dashboard link: https://syzkaller.appspot.com/bug?extid=25057181cc067c9e92c5
compiler: gcc (GCC) 10.1.0-syz 20200507

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+250571...@syzkaller.appspotmail.com

WARNING: CPU: 0 PID: 8530 at net/mac80211/offchannel.c:419 ieee80211_start_next_roc+0x1ed/0x240 net/mac80211/offchannel.c:419
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8530 Comm: syz-executor.1 Not tainted 4.19.165-syzkaller #0
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+0x1fc/0x2fe lib/dump_stack.c:118
panic+0x26a/0x50e kernel/panic.c:186
__warn.cold+0x20/0x61 kernel/panic.c:541
report_bug+0x262/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+0x1d7/0x310 arch/x86/kernel/traps.c:296
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:ieee80211_start_next_roc+0x1ed/0x240 net/mac80211/offchannel.c:419
Code: 58 16 00 00 48 89 ef 48 89 c2 e8 2e 06 0b 00 5b 5d e9 97 f1 ab f9 e8 92 f1 ab f9 48 89 ef e8 7a 6b ff ff eb 94 e8 83 f1 ab f9 <0f> 0b eb 8b e8 ea 17 e2 f9 e9 be fe ff ff 48 c7 c7 40 cc 45 8a e8
RSP: 0000:ffff8880454c7318 EFLAGS: 00010216
RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc90007d48000
RDX: 0000000000002089 RSI: ffffffff87b8df8d RDI: 0000000000000001
RBP: ffff88804a839a60 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000001 R14: dffffc0000000000 R15: ffff88804a83a900
__ieee80211_scan_completed+0x571/0x1690 net/mac80211/scan.c:442
ieee80211_scan_cancel+0x340/0x940 net/mac80211/scan.c:1168
ieee80211_do_stop+0x18c6/0x1ff0 net/mac80211/iface.c:813
ieee80211_runtime_change_iftype net/mac80211/iface.c:1545 [inline]
ieee80211_if_change_type+0x29f/0x5f0 net/mac80211/iface.c:1579
ieee80211_change_iface+0x26/0x220 net/mac80211/cfg.c:157
rdev_change_virtual_intf net/wireless/rdev-ops.h:69 [inline]
cfg80211_change_iface+0x2e1/0x1530 net/wireless/util.c:936
nl80211_set_interface+0x661/0x830 net/wireless/nl80211.c:3205
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:2455
genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1344
netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1909
sock_sendmsg_nosec net/socket.c:622 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:632
___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2115
__sys_sendmsg net/socket.c:2153 [inline]
__do_sys_sendmsg net/socket.c:2162 [inline]
__se_sys_sendmsg net/socket.c:2160 [inline]
__x64_sys_sendmsg+0x132/0x220 net/socket.c:2160
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45e219
Code: 0d b4 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 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f0c7d24dc68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e219
RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000003
RBP: 000000000119bfc0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c
R13: 00007ffee7b8c4df R14: 00007f0c7d24e9c0 R15: 000000000119bf8c
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Feb 16, 2021, 4:44:16 PM2/16/21
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 811218ec Linux 4.19.172
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1642ee14d00000
kernel config: https://syzkaller.appspot.com/x/.config?x=c1cb1d27398c8808
dashboard link: https://syzkaller.appspot.com/bug?extid=25057181cc067c9e92c5
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16ef9d02d00000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+250571...@syzkaller.appspotmail.com

IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
WARNING: CPU: 0 PID: 516 at net/mac80211/offchannel.c:419 ieee80211_start_next_roc+0x1ed/0x240 syzkaller/managers/linux-4-19/kernel/net/mac80211/offchannel.c:419
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 516 Comm: kworker/u4:4 Not tainted 4.19.172-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: phy7 ieee80211_scan_work
Call Trace:
__dump_stack syzkaller/managers/linux-4-19/kernel/lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef syzkaller/managers/linux-4-19/kernel/lib/dump_stack.c:118
panic+0x26a/0x50e syzkaller/managers/linux-4-19/kernel/kernel/panic.c:186
__warn.cold+0x20/0x5a syzkaller/managers/linux-4-19/kernel/kernel/panic.c:541
report_bug+0x262/0x2b0 syzkaller/managers/linux-4-19/kernel/lib/bug.c:186
fixup_bug syzkaller/managers/linux-4-19/kernel/arch/x86/kernel/traps.c:178 [inline]
fixup_bug syzkaller/managers/linux-4-19/kernel/arch/x86/kernel/traps.c:173 [inline]
do_error_trap+0x1d7/0x310 syzkaller/managers/linux-4-19/kernel/arch/x86/kernel/traps.c:296
invalid_op+0x14/0x20 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/entry_64.S:1038
RIP: 0010:ieee80211_start_next_roc+0x1ed/0x240 syzkaller/managers/linux-4-19/kernel/net/mac80211/offchannel.c:419
Code: 58 16 00 00 48 89 ef 48 89 c2 e8 1e e0 0a 00 5b 5d e9 67 df cb f9 e8 62 df cb f9 48 89 ef e8 7a 6c ff ff eb 94 e8 53 df cb f9 <0f> 0b eb 8b e8 7a 94 01 fa e9 be fe ff ff 48 c7 c7 a0 cc 45 8a e8
RSP: 0018:ffff8880b44c7b88 EFLAGS: 00010293
RAX: ffff8880b4aaa100 RBX: 0000000000000001 RCX: ffffffff8796798d
RDX: 0000000000000000 RSI: ffffffff87967a6d RDI: 0000000000000001
RBP: ffff8880a0ca9aa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000001 R14: dffffc0000000000 R15: ffff8880a0caa940
__ieee80211_scan_completed+0x571/0x1690 syzkaller/managers/linux-4-19/kernel/net/mac80211/scan.c:442
ieee80211_scan_work+0x3be/0x19b0 syzkaller/managers/linux-4-19/kernel/net/mac80211/scan.c:1022
process_one_work+0x864/0x1570 syzkaller/managers/linux-4-19/kernel/kernel/workqueue.c:2155
worker_thread+0x64c/0x1130 syzkaller/managers/linux-4-19/kernel/kernel/workqueue.c:2298
kthread+0x33f/0x460 syzkaller/managers/linux-4-19/kernel/kernel/kthread.c:259
ret_from_fork+0x24/0x30 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/entry_64.S:415

syzbot

unread,
Feb 20, 2021, 8:24:19 AM2/20/21
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 255b58a2 Linux 4.19.176
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=174c66b0d00000
kernel config: https://syzkaller.appspot.com/x/.config?x=b270830ae46c1d6f
dashboard link: https://syzkaller.appspot.com/bug?extid=25057181cc067c9e92c5
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10be836ad00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=165cdd22d00000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+250571...@syzkaller.appspotmail.com

WARNING: CPU: 0 PID: 10146 at net/mac80211/offchannel.c:419 ieee80211_start_next_roc+0x1ed/0x240 net/mac80211/offchannel.c:419
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 10146 Comm: syz-executor197 Not tainted 4.19.176-syzkaller #0
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+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:186
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_start_next_roc+0x1ed/0x240 net/mac80211/offchannel.c:419
Code: 98 16 00 00 48 89 ef 48 89 c2 e8 2e e2 0a 00 5b 5d e9 67 bd cb f9 e8 62 bd cb f9 48 89 ef e8 7a 6c ff ff eb 94 e8 53 bd cb f9 <0f> 0b eb 8b e8 da 6e 01 fa e9 be fe ff ff 48 c7 c7 20 cd 45 8a e8
RSP: 0018:ffff8880a2617468 EFLAGS: 00010293
RAX: ffff88809f912180 RBX: 0000000000000001 RCX: ffffffff8796a0ed
RDX: 0000000000000000 RSI: ffffffff8796a1cd RDI: 0000000000000001
RBP: ffff888238728c20 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000001 R14: dffffc0000000000 R15: ffff888238729b00
__ieee80211_scan_completed+0x571/0x1690 net/mac80211/scan.c:442
ieee80211_scan_cancel+0x340/0x940 net/mac80211/scan.c:1168
ieee80211_do_stop+0x18c6/0x1ff0 net/mac80211/iface.c:813
ieee80211_runtime_change_iftype net/mac80211/iface.c:1549 [inline]
ieee80211_if_change_type+0x2b8/0x6a0 net/mac80211/iface.c:1585
ieee80211_change_iface+0x26/0x220 net/mac80211/cfg.c:157
rdev_change_virtual_intf net/wireless/rdev-ops.h:69 [inline]
cfg80211_change_iface+0x2e1/0x1530 net/wireless/util.c:936
nl80211_set_interface+0x661/0x830 net/wireless/nl80211.c:3205
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:2455
genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1344
netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1909
sock_sendmsg_nosec net/socket.c:622 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:632
__sys_sendto+0x21a/0x320 net/socket.c:1787
__do_sys_sendto net/socket.c:1799 [inline]
__se_sys_sendto net/socket.c:1795 [inline]
__x64_sys_sendto+0xdd/0x1b0 net/socket.c:1795
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x40742c
Code: 9a fb ff ff 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 c0 fb ff ff 48 8b
RSP: 002b:00007fdde5904190 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fdde5904280 RCX: 000000000040742c
RDX: 0000000000000024 RSI: 00007fdde59042d0 RDI: 000000000000000b
RBP: 0000000000000000 R08: 00007fdde59041e4 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 00007fdde59042d0 R14: 000000000000000b R15: 0000000000000000
Reply all
Reply to author
Forward
0 new messages