syzbot


WARNING in __ieee80211_beacon_get
Status: upstream: reported C repro on 2020/10/05 08:38
Reported-by: syzbot+18c783c5cf6a781e3e2c@syzkaller.appspotmail.com
First crash: 603d, last: 10h54m

Cause bisection: introduced by (bisect log) :
commit 7dfd8ac327301f302b03072066c66eb32578e940
Author: Ramon Fontes <ramonreisfontes@gmail.com>
Date: Thu Oct 10 18:13:07 2019 +0000

  mac80211_hwsim: add support for OCB

Crash: WARNING in __ieee80211_beacon_get (log)
Repro: C syz .config
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in __ieee80211_beacon_get (3) C 37 3h23m 224d 0/1 upstream: reported C repro on 2021/10/16 16:09
linux-4.19 WARNING in __ieee80211_beacon_get 2 511d 515d 0/1 auto-closed as invalid on 2021/05/02 15:33
linux-4.14 WARNING in __ieee80211_beacon_get 1 582d 582d 0/1 auto-closed as invalid on 2021/02/20 01:09
linux-4.19 WARNING in __ieee80211_beacon_get (2) 4 358d 385d 0/1 auto-closed as invalid on 2021/10/02 04:19
Patch testing requests:
Created Duration User Patch Repo Result
2021/06/22 09:08 10m phind.uet@gmail.com upstream report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 6900 at net/mac80211/tx.c:4875 __ieee80211_beacon_get+0xb59/0x1aa0 net/mac80211/tx.c:4875
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 6900 Comm: syz-executor345 Not tainted 5.9.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x198/0x1fd lib/dump_stack.c:118
 panic+0x382/0x7fb kernel/panic.c:231
 __warn.cold+0x20/0x4b kernel/panic.c:600
 report_bug+0x1bd/0x210 lib/bug.c:198
 handle_bug+0x38/0x90 arch/x86/kernel/traps.c:234
 exc_invalid_op+0x14/0x40 arch/x86/kernel/traps.c:254
 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:536
RIP: 0010:__ieee80211_beacon_get+0xb59/0x1aa0 net/mac80211/tx.c:4875
Code: b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e fe 0c 00 00 41 83 4c 24 28 1a eb 0a e8 a7 15 9b f9 <0f> 0b 45 31 e4 e8 9d 15 9b f9 e8 e8 3e 5b 00 31 ff 89 c3 89 c6 e8
RSP: 0018:ffffc90000da8b40 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff8880a96b5e18 RCX: ffffffff87db68e5
RDX: ffff888091824540 RSI: ffffffff87db7209 RDI: 0000000000000005
RBP: 000000000000000b R08: 0000000000000001 R09: ffffc90000da8c88
R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880872c0c80 R14: 0000000000000000 R15: ffffc90000da8c88
 ieee80211_beacon_get_tim+0x88/0x910 net/mac80211/tx.c:4939
 ieee80211_beacon_get include/net/mac80211.h:4909 [inline]
 mac80211_hwsim_beacon_tx+0x111/0x910 drivers/net/wireless/mac80211_hwsim.c:1729
 __iterate_interfaces+0x1e5/0x520 net/mac80211/util.c:792
 ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:828
 mac80211_hwsim_beacon+0xd5/0x1a0 drivers/net/wireless/mac80211_hwsim.c:1782
 __run_hrtimer kernel/time/hrtimer.c:1524 [inline]
 __hrtimer_run_queues+0x6a9/0xfc0 kernel/time/hrtimer.c:1588
 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1605
 __do_softirq+0x1f8/0xb23 kernel/softirq.c:298
 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:706
 </IRQ>
 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline]
 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline]
 do_softirq_own_stack+0x9d/0xd0 arch/x86/kernel/irq_64.c:77
 invoke_softirq kernel/softirq.c:393 [inline]
 __irq_exit_rcu kernel/softirq.c:423 [inline]
 irq_exit_rcu+0x235/0x280 kernel/softirq.c:435
 sysvec_apic_timer_interrupt+0x51/0xf0 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:581
RIP: 0010:__sanitizer_cov_trace_pc+0x30/0x60 kernel/kcov.c:197
Code: fe 01 00 65 8b 05 c0 76 8b 7e a9 00 01 ff 00 48 8b 34 24 74 0f f6 c4 01 74 35 8b 82 4c 14 00 00 85 c0 74 2b 8b 82 28 14 00 00 <83> f8 02 75 20 48 8b 8a 30 14 00 00 8b 92 2c 14 00 00 48 8b 01 48
RSP: 0018:ffffc900048072d8 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff8880a96b4c00 RCX: ffffffff87dd0f8e
RDX: ffff888091824540 RSI: ffffffff87dd0f61 RDI: ffff8880a96b5558
RBP: 0000000000000000 R08: 0000000000000000 R09: ffff8880872c296f
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880a7bbaa20 R14: dffffc0000000000 R15: 0000000000000000
 ieee80211_chanctx_radar_detect+0x1f1/0x3a0 net/mac80211/util.c:4266
 ieee80211_check_combinations+0x3b9/0x880 net/mac80211/util.c:4325
 ieee80211_check_concurrent_iface+0x45b/0x670 net/mac80211/iface.c:309
 ieee80211_runtime_change_iftype net/mac80211/iface.c:1672 [inline]
 ieee80211_if_change_type+0x288/0x620 net/mac80211/iface.c:1712
 ieee80211_change_iface+0x26/0x210 net/mac80211/cfg.c:157
 rdev_change_virtual_intf net/wireless/rdev-ops.h:69 [inline]
 cfg80211_change_iface+0x2ec/0xfe0 net/wireless/util.c:1032
 nl80211_set_interface+0x65c/0x8d0 net/wireless/nl80211.c:3789
 genl_family_rcv_msg_doit+0x228/0x320 net/netlink/genetlink.c:739
 genl_family_rcv_msg net/netlink/genetlink.c:783 [inline]
 genl_rcv_msg+0x328/0x580 net/netlink/genetlink.c:800
 netlink_rcv_skb+0x15a/0x430 net/netlink/af_netlink.c:2489
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:811
 netlink_unicast_kernel net/netlink/af_netlink.c:1304 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1330
 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1919
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:671
 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2353
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2407
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2440
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x4423d9
Code: e8 ac 00 03 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 7b 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffcf9989098 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004423d9
RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000003
RBP: 000000306e616c77 R08: 0000002000000000 R09: 0000002000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080bde
R13: 0000000000000000 R14: 000000000000000c R15: 0000000000000004
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (975):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-net-kasan-gce 2020/10/04 17:38 net-next 456afe01b100 5ef9c291 .config log report syz C
ci-upstream-kasan-gce-smack-root 2022/05/28 12:36 upstream 9d004b2f4fea a46af346 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-smack-root 2022/05/27 22:31 upstream 8291eaafed36 a46af346 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-selinux-root 2022/05/27 21:16 upstream 8291eaafed36 a46af346 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-root 2022/05/27 08:40 upstream 7e284070abe5 116e7a7b .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-root 2022/05/26 23:59 upstream babf0bb978e3 3037caa9 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-root 2022/05/26 22:10 upstream babf0bb978e3 3037caa9 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-selinux-root 2022/05/26 15:34 upstream babf0bb978e3 3037caa9 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-selinux-root 2022/05/26 13:41 upstream babf0bb978e3 3037caa9 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-smack-root 2022/05/25 12:32 upstream fdaf9a5840ac 647c0e27 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-selinux-root 2022/05/25 09:53 upstream aa051d36ce4a 647c0e27 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-root 2022/05/25 08:22 upstream aa051d36ce4a 647c0e27 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-smack-root 2022/05/25 02:46 upstream aa051d36ce4a 647c0e27 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-selinux-root 2022/05/24 00:46 upstream 1e57930e9f40 e7f9308d .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-selinux-root 2022/05/23 23:05 upstream 1e57930e9f40 4c7657cb .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-selinux-root 2022/05/23 09:56 upstream 4b0986a3613c 4c7657cb .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-root 2022/05/23 05:51 upstream 4b0986a3613c 7268fa62 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-selinux-root 2022/05/23 03:27 upstream 4b0986a3613c 7268fa62 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-selinux-root 2022/05/23 02:11 upstream 4b0986a3613c 7268fa62 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-smack-root 2022/05/22 13:35 upstream eaea45fc0e7b 7268fa62 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-smack-root 2022/05/22 12:26 upstream eaea45fc0e7b 7268fa62 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-selinux-root 2022/05/22 09:48 upstream eaea45fc0e7b 7268fa62 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-selinux-root 2022/05/22 08:04 upstream eaea45fc0e7b 7268fa62 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-selinux-root 2022/05/21 19:13 upstream 6c3f5bec9b40 7268fa62 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-root 2022/05/21 17:29 upstream 6c3f5bec9b40 7268fa62 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-smack-root 2022/05/21 07:11 upstream 3b5e1590a267 7268fa62 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-root 2022/05/21 05:36 upstream 3b5e1590a267 7268fa62 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-selinux-root 2022/05/20 17:54 upstream 3d7285a335ed bd37ad7e .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-selinux-root 2022/05/20 15:57 upstream 3d7285a335ed bd37ad7e .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-selinux-root 2022/05/20 14:16 upstream 3d7285a335ed cb1ac2e7 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-root 2022/05/20 02:12 upstream b015dcd62b86 cb1ac2e7 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-selinux-root 2022/05/19 11:35 upstream f993aed406ea 50c53f39 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-selinux-root 2022/05/18 19:15 upstream ef1302160bfb 50c53f39 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-root 2022/05/18 17:10 upstream ef1302160bfb 50c53f39 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce 2022/05/15 14:25 upstream bc403203d65a 744a39e2 .config log report info WARNING in __ieee80211_beacon_get
ci-qemu-upstream 2022/05/02 20:54 upstream 9050ba3a61a4 2df221f6 .config log report info WARNING in __ieee80211_beacon_get
ci-qemu-upstream-386 2022/02/24 21:14 upstream 73878e5eb1bd b28851a4 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-kasan-gce-386 2022/02/03 19:32 upstream 88808fbbead4 4ebb2798 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-net-this-kasan-gce 2022/05/11 23:36 net 3cc5c6a7829a beb0b407 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-net-kasan-gce 2022/05/16 09:23 net-next d9713088158b 744a39e2 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-linux-next-kasan-gce-root 2022/05/28 11:30 linux-next d3fde8ff50ab a46af346 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-linux-next-kasan-gce-root 2022/05/27 09:56 linux-next d3fde8ff50ab 116e7a7b .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-linux-next-kasan-gce-root 2022/05/26 07:49 linux-next b1d84fc09a96 3037caa9 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-linux-next-kasan-gce-root 2022/05/26 07:45 linux-next b1d84fc09a96 3037caa9 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-linux-next-kasan-gce-root 2022/05/26 01:21 linux-next 8cb8311e95e3 3037caa9 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-linux-next-kasan-gce-root 2022/05/26 00:16 linux-next 8cb8311e95e3 3037caa9 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-linux-next-kasan-gce-root 2022/05/25 01:13 linux-next 09ce5091ff97 647c0e27 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-linux-next-kasan-gce-root 2022/05/24 20:28 linux-next 09ce5091ff97 fcfad4ff .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-linux-next-kasan-gce-root 2022/05/24 14:15 linux-next 09ce5091ff97 fcfad4ff .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-linux-next-kasan-gce-root 2022/05/24 11:58 linux-next 09ce5091ff97 fcfad4ff .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-linux-next-kasan-gce-root 2022/05/24 10:51 linux-next 09ce5091ff97 e7f9308d .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-linux-next-kasan-gce-root 2022/05/24 02:06 linux-next cc63e8e92cb8 e7f9308d .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-linux-next-kasan-gce-root 2022/05/23 11:49 linux-next cc63e8e92cb8 4c7657cb .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-linux-next-kasan-gce-root 2022/05/21 04:25 linux-next 18ecd30af1a8 7268fa62 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-linux-next-kasan-gce-root 2022/05/20 00:59 linux-next 3f7bdc402fb0 cb1ac2e7 .config log report info WARNING in __ieee80211_beacon_get
ci-upstream-net-this-kasan-gce 2020/10/02 15:58 net ef9da46ddef0 4969d6ca .config log report info
ci-upstream-net-kasan-gce 2021/01/17 03:28 net-next c761b2df9df0 65a7a854 .config log report info