WARNING in ieee80211_ibss_csa_beacon

11 views
Skip to first unread message

syzbot

unread,
Nov 22, 2020, 12:50:15 AM11/22/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 2c746135 Linux 4.19.158
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=10b0e651500000
kernel config: https://syzkaller.appspot.com/x/.config?x=c19abec6250dfe36
dashboard link: https://syzkaller.appspot.com/bug?extid=492b55475c5c790d1eed
compiler: gcc (GCC) 10.1.0-syz 20200507
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1161c28e500000

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

IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
------------[ cut here ]------------
WARNING: CPU: 1 PID: 7 at net/mac80211/ibss.c:506 ieee80211_ibss_csa_beacon.cold+0x11/0x36 net/mac80211/ibss.c:506
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 7 Comm: kworker/u4:0 Not tainted 4.19.158-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: phy7 ieee80211_csa_finalize_work
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_ibss_csa_beacon.cold+0x11/0x36 net/mac80211/ibss.c:506
Code: 9c 2c 95 f9 0f 0b 48 8d 85 c0 fd ff ff 48 89 85 e0 fc ff ff e9 f7 a2 ff ff e8 f3 32 aa f9 48 c7 c7 60 dc 66 89 e8 76 2c 95 f9 <0f> 0b 41 bd ea ff ff ff e9 66 b1 ff ff e8 d5 32 aa f9 48 c7 c7 60
RSP: 0018:ffff8880b5a57c70 EFLAGS: 00010286
RAX: 0000000000000024 RBX: ffff88809d116080 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814fdba1 RDI: ffffed1016b4af80
RBP: 0000000000000002 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88809d116b78 R14: ffff88809f2b9ae0 R15: ffff88809d1165b0
ieee80211_set_after_csa_beacon net/mac80211/cfg.c:2934 [inline]
__ieee80211_csa_finalize+0x6cc/0xde0 net/mac80211/cfg.c:2990
ieee80211_csa_finalize net/mac80211/cfg.c:3013 [inline]
ieee80211_csa_finalize_work+0x124/0x160 net/mac80211/cfg.c:3038
process_one_work+0x864/0x1570 kernel/workqueue.c:2155
worker_thread+0x64c/0x1130 kernel/workqueue.c:2298
kthread+0x33f/0x460 kernel/kthread.c:259
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
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 can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches

syzbot

unread,
Dec 3, 2022, 8:32:37 AM12/3/22
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=11695ef3880000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=492b55475c5c790d1eed
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1186b2f5880000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=129f496b880000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/98c0bdb4abb3/disk-3f8a27f9.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/ea228ff02669/vmlinux-3f8a27f9.xz

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

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
------------[ cut here ]------------
WARNING: CPU: 0 PID: 2905 at net/mac80211/ibss.c:506 ieee80211_ibss_csa_beacon.cold+0x11/0x36 net/mac80211/ibss.c:506
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 2905 Comm: kworker/u4:4 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: phy3 ieee80211_csa_finalize_work
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_ibss_csa_beacon.cold+0x11/0x36 net/mac80211/ibss.c:506
Code: 94 57 df ff 0f 0b 48 8d 85 c0 fd ff ff 48 89 85 e0 fc ff ff e9 b3 b1 86 ff e8 0f 26 4e f9 48 c7 c7 40 73 67 89 e8 6e 57 df ff <0f> 0b 41 bd ea ff ff ff e9 22 c0 86 ff e8 f1 25 4e f9 48 c7 c7 40
RSP: 0018:ffff8880abcafc70 EFLAGS: 00010286
RAX: 0000000000000024 RBX: ffff888094295540 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1015795f80
RBP: 0000000000000002 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
R13: ffff888094296060 R14: ffff8880a2011000 R15: ffff888094295a70
ieee80211_set_after_csa_beacon net/mac80211/cfg.c:2936 [inline]
__ieee80211_csa_finalize+0x6cc/0xde0 net/mac80211/cfg.c:2992
ieee80211_csa_finalize net/mac80211/cfg.c:3015 [inline]
ieee80211_csa_finalize_work+0x124/0x160 net/mac80211/cfg.c:3040
process_one_work+0x864/0x1570 kernel/workqueue.c:2153
worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
Reply all
Reply to author
Forward
0 new messages