syzbot


WARNING in ieee80211_ibss_csa_beacon

Status: upstream: reported C repro on 2020/10/08 07:40
Reported-by: syzbot+b6c9fe29aefe68e4ad34@syzkaller.appspotmail.com
Fix commit: 15bc8966b6d3 wifi: mac80211: Don't finalize CSA in IBSS mode if state is disconnected
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386 ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu2-riscv64]
First crash: 792d, last: 54m

Cause bisection: failed (bisect log)
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in ieee80211_ibss_csa_beacon C error 871 1d12h 746d 0/1 upstream: reported C repro on 2020/11/22 05:50
linux-4.14 WARNING in ieee80211_ibss_csa_beacon C 1 43d 760d 0/1 upstream: reported C repro on 2020/11/08 18:28
Patch testing requests:
Created Duration User Patch Repo Result
2022/08/24 19:08 19m code@siddh.me https://github.com/siddhpant/linux.git warning_ibss_csa_beacon OK log
2022/08/18 19:30 9m code@siddh.me https://github.com/siddhpant/linux.git warning_ibss_csa_beacon error
2022/08/12 05:13 10m code@siddh.me https://github.com/siddhpant/linux.git warning_ibss_csa_beacon error
2022/08/11 06:41 10m code@siddh.me https://github.com/siddhpant/linux.git warning_ibss_csa_beacon error
2022/08/10 11:36 10m code@siddh.me patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master error

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 215 at net/mac80211/ibss.c:504 ieee80211_ibss_csa_beacon+0x4e9/0x5a0 net/mac80211/ibss.c:504
Modules linked in:
CPU: 1 PID: 215 Comm: kworker/u4:4 Not tainted 5.12.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: phy7 ieee80211_csa_finalize_work
RIP: 0010:ieee80211_ibss_csa_beacon+0x4e9/0x5a0 net/mac80211/ibss.c:504
Code: e8 6c 7b 8b f8 b8 f4 ff ff ff eb 0a e8 60 7b 8b f8 b8 00 01 00 00 48 83 c4 30 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 47 7b 8b f8 <0f> 0b b8 ea ff ff ff eb e3 e8 39 7b 8b f8 0f 0b e9 88 fb ff ff 48
RSP: 0018:ffffc900010ffbf0 EFLAGS: 00010293
RAX: ffffffff88ed9309 RBX: ffff88802e7f3450 RCX: ffff888012220000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff88803506d8ba R08: dffffc0000000000 R09: fffffbfff1f296cc
R10: fffffbfff1f296cc R11: 0000000000000000 R12: ffff88803506d8c0
R13: ffff88802e7f0580 R14: ffff88803506cc00 R15: ffff88803506d8e0
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f206f039718 CR3: 000000000c48e000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ieee80211_set_after_csa_beacon net/mac80211/cfg.c:3122 [inline]
 __ieee80211_csa_finalize net/mac80211/cfg.c:3178 [inline]
 ieee80211_csa_finalize+0x46f/0x960 net/mac80211/cfg.c:3201
 ieee80211_csa_finalize_work+0xfb/0x140 net/mac80211/cfg.c:3226
 process_one_work+0x789/0xfd0 kernel/workqueue.c:2275
 worker_thread+0xac1/0x1300 kernel/workqueue.c:2421
 kthread+0x39a/0x3c0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Crashes (4205):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2021/03/24 19:30 upstream 7acac4b3196c 607e3baf .config log report syz C WARNING in ieee80211_ibss_csa_beacon
ci-upstream-linux-next-kasan-gce-root 2021/04/17 17:24 linux-next 1216f02e46a4 7e2b734b .config log report syz C WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce 2020/12/05 02:27 upstream e87297fa080a 20366b87 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2021/04/16 09:45 upstream 7e25f40eab52 c59079a6 .config log report syz WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce 2022/12/08 22:16 upstream f3e8416619ce 1034e5fa .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-smack-root 2022/12/08 15:40 upstream 479174d402bc 1034e5fa .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-selinux-root 2022/12/08 02:30 upstream 479174d402bc d88f3abb .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce 2022/12/08 01:18 upstream 479174d402bc d88f3abb .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce 2022/12/07 23:52 upstream 479174d402bc d88f3abb .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce 2022/12/07 22:38 upstream 479174d402bc d88f3abb .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce 2022/12/07 20:43 upstream 8ed710da2873 d88f3abb .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce 2022/12/07 11:54 upstream 8ed710da2873 d88f3abb .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-root 2022/12/07 09:12 upstream 8ed710da2873 d88f3abb .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-root 2022/12/07 08:11 upstream 8ed710da2873 d88f3abb .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-root 2022/12/07 06:33 upstream 8ed710da2873 d88f3abb .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce 2022/12/06 20:19 upstream 8ed710da2873 d88f3abb .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-selinux-root 2022/12/06 18:55 upstream bce9332220bd d88f3abb .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce 2022/12/06 16:58 upstream bce9332220bd d88f3abb .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce 2022/12/06 14:51 upstream bce9332220bd d88f3abb .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-root 2022/12/06 12:02 upstream bce9332220bd 045cbb84 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce 2022/12/06 10:23 upstream bce9332220bd 045cbb84 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce 2022/12/06 07:59 upstream bce9332220bd 045cbb84 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce 2022/12/06 02:43 upstream 76dcd734eca2 045cbb84 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-root 2022/12/05 23:39 upstream 76dcd734eca2 045cbb84 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-selinux-root 2022/12/05 20:41 upstream 76dcd734eca2 045cbb84 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-root 2022/12/05 19:37 upstream 76dcd734eca2 045cbb84 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce 2022/12/05 18:11 upstream 76dcd734eca2 045cbb84 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-root 2022/12/05 13:23 upstream 76dcd734eca2 e080de16 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-smack-root 2022/12/04 22:10 upstream c2bf05db6c78 e080de16 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-selinux-root 2022/12/04 20:58 upstream c2bf05db6c78 e080de16 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce 2022/12/04 10:49 upstream c2bf05db6c78 e080de16 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-selinux-root 2022/12/04 09:01 upstream 97ee9d1c1696 e080de16 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-qemu-upstream 2022/12/04 07:11 upstream c2bf05db6c78 e080de16 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce 2022/12/03 20:34 upstream 97ee9d1c1696 e080de16 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-qemu-upstream 2022/12/03 17:00 upstream 97ee9d1c1696 e080de16 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-smack-root 2022/12/03 13:18 upstream a1e9185d20b5 e080de16 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-selinux-root 2022/12/03 11:52 upstream a1e9185d20b5 e080de16 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-selinux-root 2022/12/03 10:41 upstream a1e9185d20b5 e080de16 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-qemu-upstream 2022/12/03 05:29 upstream bdaa78c6aa86 e080de16 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce 2022/12/02 22:00 upstream a4412fdd49dc e080de16 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-smack-root 2022/12/02 16:39 upstream a4412fdd49dc e080de16 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-selinux-root 2022/12/02 14:46 upstream a4412fdd49dc e080de16 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce 2022/12/02 13:07 upstream 355479c70a48 e080de16 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-qemu-upstream-386 2022/12/08 12:42 upstream 479174d402bc 1034e5fa .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-qemu-upstream-386 2022/12/08 10:18 upstream 479174d402bc 1034e5fa .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-qemu-upstream-386 2022/12/08 04:30 upstream 479174d402bc d88f3abb .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-qemu-upstream-386 2022/12/07 00:26 upstream 8ed710da2873 d88f3abb .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-qemu-upstream-386 2022/12/06 22:04 upstream 8ed710da2873 d88f3abb .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-386 2022/12/06 15:51 upstream bce9332220bd d88f3abb .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-qemu-upstream-386 2022/12/06 04:15 upstream bce9332220bd 045cbb84 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-386 2022/12/04 23:12 upstream 0ba09b173387 e080de16 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-qemu-upstream-386 2022/12/03 03:44 upstream bdaa78c6aa86 e080de16 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-net-this-kasan-gce 2022/08/03 01:53 net c67cc4315a8e 1c9013ac .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-net-kasan-gce 2022/03/23 10:02 net-next 2af7e566a861 5ff41e94 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-linux-next-kasan-gce-root 2022/11/29 15:33 linux-next 9e46a7996732 05dc7993 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-gce-arm64 2022/12/08 07:04 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 d88f3abb .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-gce-arm64 2022/12/07 05:15 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 d88f3abb .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-gce-arm64 2022/12/05 11:57 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e3cb714fb489 e080de16 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-gce-arm64 2022/12/02 23:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e3cb714fb489 e080de16 .config log report info WARNING in ieee80211_ibss_csa_beacon
ci-upstream-kasan-gce-smack-root 2020/10/07 17:35 upstream c85fb28b6f99 1880b4a9 .config log report info
ci-upstream-kasan-gce-386 2021/01/17 02:55 upstream 0da0a8a0a0e1 65a7a854 .config log report info
* Struck through repros no longer work on HEAD.