WARNING in __ieee80211_beacon_get

6 views
Skip to first unread message

syzbot

unread,
Oct 22, 2020, 9:08:28 PM10/22/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 5b7a52cd Linux 4.14.202
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=129ec4c4500000
kernel config: https://syzkaller.appspot.com/x/.config?x=fa386e02ca459165
dashboard link: https://syzkaller.appspot.com/bug?extid=97254a3b10c541879a65
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+97254a...@syzkaller.appspotmail.com

ieee80211 phy4: mac80211_hwsim_config (freq=2422(2422 - 0)/noht idle=0 ps=0 smps=static)
ieee80211 phy4: mac80211_hwsim_bss_info_changed(changed=0x100 vif->addr=02:00:00:00:04:00)
ieee80211 phy2: mac80211_hwsim_config (freq=2422(2422 - 0)/noht idle=0 ps=0 smps=static)
------------[ cut here ]------------
ieee80211 phy3: mac80211_hwsim_config (freq=2422(2422 - 0)/noht idle=0 ps=0 smps=static)
WARNING: CPU: 0 PID: 25111 at net/mac80211/tx.c:4051 __ieee80211_csa_update_counter net/mac80211/tx.c:4051 [inline]
WARNING: CPU: 0 PID: 25111 at net/mac80211/tx.c:4051 __ieee80211_csa_update_counter net/mac80211/tx.c:4046 [inline]
WARNING: CPU: 0 PID: 25111 at net/mac80211/tx.c:4051 __ieee80211_beacon_get+0x143e/0x1820 net/mac80211/tx.c:4219
Kernel panic - not syncing: panic_on_warn set ...

ieee80211 phy5: mac80211_hwsim_config (freq=2422(2422 - 0)/noht idle=0 ps=0 smps=static)
CPU: 0 PID: 25111 Comm: kworker/u4:8 Not tainted 4.14.202-syzkaller #0
ieee80211 phy3: mac80211_hwsim_bss_info_changed(changed=0x100 vif->addr=02:00:00:00:03:00)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
ieee80211 phy5: mac80211_hwsim_bss_info_changed(changed=0x100 vif->addr=02:00:00:00:05:00)
<IRQ>
ieee80211 phy2: mac80211_hwsim_bss_info_changed(changed=0x100 vif->addr=02:00:00:00:02:00)
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x1b2/0x283 lib/dump_stack.c:58
panic+0x1f9/0x42d kernel/panic.c:183
__warn.cold+0x20/0x4b kernel/panic.c:547
report_bug+0x208/0x249 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:177 [inline]
fixup_bug arch/x86/kernel/traps.c:172 [inline]
do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:__ieee80211_csa_update_counter net/mac80211/tx.c:4051 [inline]
RIP: 0010:__ieee80211_csa_update_counter net/mac80211/tx.c:4046 [inline]
RIP: 0010:__ieee80211_beacon_get+0x143e/0x1820 net/mac80211/tx.c:4219
RSP: 0000:ffff8880ba407c78 EFLAGS: 00010206
RAX: ffff888076ff0600 RBX: ffff8880a4072a70 RCX: 0000000000000000
RDX: 0000000000000100 RSI: 00000000ffffffff RDI: ffff8880a591a924
RBP: ffff8880a2891720 R08: 0000000000000001 R09: ffff8880ba407d98
R10: ffff8880ba407d9f R11: ffff888076ff0600 R12: 0000000000000001
R13: ffff8880a591a900 R14: 1ffff11017480faf R15: ffff8880ba407d98
ieee80211_beacon_get_tim+0x78/0x750 net/mac80211/tx.c:4335
ieee80211_beacon_get include/net/mac80211.h:4401 [inline]
mac80211_hwsim_beacon_tx+0xd8/0x570 drivers/net/wireless/mac80211_hwsim.c:1520
__iterate_interfaces+0x247/0x3c0 net/mac80211/util.c:613
ieee80211_iterate_active_interfaces_atomic+0x74/0x130 net/mac80211/util.c:649
mac80211_hwsim_beacon+0xbe/0x180 drivers/net/wireless/mac80211_hwsim.c:1558
__tasklet_hrtimer_trampoline+0x29/0xa0 kernel/softirq.c:618
tasklet_hi_action+0x195/0x330 kernel/softirq.c:549
__do_softirq+0x254/0xa1d kernel/softirq.c:288
invoke_softirq kernel/softirq.c:368 [inline]
irq_exit+0x193/0x240 kernel/softirq.c:409
exiting_irq arch/x86/include/asm/apic.h:648 [inline]
smp_apic_timer_interrupt+0x141/0x5e0 arch/x86/kernel/apic/apic.c:1102
apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793
</IRQ>
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x50/0x80 kernel/locking/spinlock.c:200
RSP: 0000:ffff88807499fd18 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff10
RAX: 1ffffffff11e121b RBX: ffff888076ff0600 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff888076ff0e84
RBP: ffff8880ba42a2c0 R08: ffffffff8b9aca48 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880ba42a2c0
R13: ffff8880a15ee080 R14: 0000000000000000 R15: ffff8880ba42ac10
finish_lock_switch kernel/sched/sched.h:1352 [inline]
finish_task_switch+0x178/0x610 kernel/sched/core.c:2675
context_switch kernel/sched/core.c:2811 [inline]
__schedule+0x893/0x1de0 kernel/sched/core.c:3384
schedule+0x8d/0x1b0 kernel/sched/core.c:3428
worker_thread+0x14b/0xff0 kernel/workqueue.c:2271
kthread+0x30d/0x420 kernel/kthread.c:232
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Kernel Offset: disabled


---
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 19, 2021, 8:09:16 PM2/19/21
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages