syzbot


WARNING in cfg80211_scan_done

Status: upstream: reported syz repro on 2024/08/13 14:03
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+189dcafc06865d38178d@syzkaller.appspotmail.com
First crash: 321d, last: 8d16h
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] wifi: cfg80211: Prevent comparison with invalid registered dev scan req 3 (3) 2025/06/23 08:26
[syzbot] [wireless?] WARNING in cfg80211_scan_done 0 (4) 2025/06/19 07:37
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in cfg80211_scan_done 3 150d 152d 0/3 auto-obsoleted due to no activity on 2025/05/07 16:33
linux-6.1 WARNING in cfg80211_scan_done (2) origin:upstream syz 4 13d 13d 0/3 upstream: reported syz repro on 2025/06/13 02:16
linux-5.15 WARNING in cfg80211_scan_done 2 96d 104d 0/3 upstream: reported on 2025/03/14 06:34
Last patch testing requests (2)
Created Duration User Patch Repo Result
2025/06/19 07:37 25m lizhi.xu@windriver.com patch git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2025/06/19 02:52 25m lizhi.xu@windriver.com patch git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 2225 at net/wireless/scan.c:1182 cfg80211_scan_done+0x2c8/0x4b0 net/wireless/scan.c:1181
Modules linked in:
CPU: 1 UID: 0 PID: 2225 Comm: kworker/u8:12 Not tainted 6.16.0-rc1-syzkaller-g19272b37aa4f #0 PREEMPT 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: events_unbound cfg80211_wiphy_work
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : cfg80211_scan_done+0x2c8/0x4b0 net/wireless/scan.c:1181
lr : cfg80211_scan_done+0x2c8/0x4b0 net/wireless/scan.c:1181
sp : ffff8000a14d77c0
x29: ffff8000a14d7820 x28: ffff0000c7570700 x27: 1fffe00019a1e20c
x26: 1ffff0001429aef8 x25: dfff800000000000 x24: ffff0000c75701b8
x23: ffff0000cd0f1060 x22: ffff0000c75729f0 x21: ffff0000cd0f1070
x20: ffff8000a14d77e0 x19: ffff0000cd0f1000 x18: 1fffe00033807876
x17: ffff80008f55e000 x16: ffff80008ae5617c x15: 0000000000000002
x14: 1ffff0001429aefc x13: 0000000000000000 x12: 0000000000000000
x11: ffff70001429aefe x10: 0000000000ff0100 x9 : 0000000000000000
x8 : ffff0000cc293d00 x7 : 0000000000000000 x6 : 0000000000000000
x5 : ffff8000a14d77f0 x4 : ffff0000cd0f1080 x3 : ffff80008a530eec
x2 : 0000000000000010 x1 : ffff80008b492da0 x0 : 0000000000000001
Call trace:
 cfg80211_scan_done+0x2c8/0x4b0 net/wireless/scan.c:1181 (P)
 __ieee80211_scan_completed+0x4ec/0xae0 net/mac80211/scan.c:501
 ieee80211_scan_work+0x140/0x18c4 net/mac80211/scan.c:1177
 cfg80211_wiphy_work+0x2a8/0x48c net/wireless/core.c:435
 process_one_work+0x7e8/0x155c kernel/workqueue.c:3238
 process_scheduled_works kernel/workqueue.c:3321 [inline]
 worker_thread+0x958/0xed8 kernel/workqueue.c:3402
 kthread+0x5fc/0x75c kernel/kthread.c:464
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:847
irq event stamp: 1301622
hardirqs last  enabled at (1301621): [<ffff8000830764a8>] class_irqsave_destructor include/linux/irqflags.h:266 [inline]
hardirqs last  enabled at (1301621): [<ffff8000830764a8>] __free_object+0x528/0x71c lib/debugobjects.c:524
hardirqs last disabled at (1301622): [<ffff80008ae5160c>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:511
softirqs last  enabled at (1301568): [<ffff80008644576c>] spin_unlock_bh include/linux/spinlock.h:396 [inline]
softirqs last  enabled at (1301568): [<ffff80008644576c>] nsim_dev_trap_report drivers/net/netdevsim/dev.c:820 [inline]
softirqs last  enabled at (1301568): [<ffff80008644576c>] nsim_dev_trap_report_work+0x67c/0x9fc drivers/net/netdevsim/dev.c:851
softirqs last disabled at (1301566): [<ffff8000864456e4>] spin_lock_bh include/linux/spinlock.h:356 [inline]
softirqs last disabled at (1301566): [<ffff8000864456e4>] nsim_dev_trap_report drivers/net/netdevsim/dev.c:816 [inline]
softirqs last disabled at (1301566): [<ffff8000864456e4>] nsim_dev_trap_report_work+0x5f4/0x9fc drivers/net/netdevsim/dev.c:851
---[ end trace 0000000000000000 ]---

Crashes (25):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/13 03:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 19272b37aa4f 98683f8f .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cfg80211_scan_done
2025/01/24 08:11 upstream d0d106a2bd21 521b0ce3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in cfg80211_scan_done
2024/12/25 08:10 upstream 9b2ffa6148b1 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in cfg80211_scan_done
2024/12/25 08:10 upstream 9b2ffa6148b1 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in cfg80211_scan_done
2025/06/18 04:03 net 0aff00432cc7 417d98fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in cfg80211_scan_done
2025/05/11 01:45 net 4d64321c4f6f 77908e5f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in cfg80211_scan_done
2025/04/26 15:51 net f73f05c6f711 c6b4fb39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in cfg80211_scan_done
2025/01/23 03:14 net 0ad9617c78ac 9d4f14f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in cfg80211_scan_done
2025/01/23 02:26 net 0ad9617c78ac 25e17fd3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in cfg80211_scan_done
2025/01/22 19:43 net d640627663bf 25e17fd3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in cfg80211_scan_done
2024/10/22 01:50 net 374d4106cb75 a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in cfg80211_scan_done
2024/10/15 07:03 net 0b84db5d8f25 b01b6661 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in cfg80211_scan_done
2024/10/13 11:44 net 174714f0e505 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in cfg80211_scan_done
2024/11/08 02:35 net-next 2a6f99ee1a80 c069283c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cfg80211_scan_done
2024/11/04 04:53 bpf-next f2daa5a577e9 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in cfg80211_scan_done
2024/11/04 04:49 bpf-next f2daa5a577e9 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in cfg80211_scan_done
2024/10/20 03:26 net-next 6d858708d465 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cfg80211_scan_done
2024/10/11 02:23 net-next 09cf85ef183a 8fbfc0c8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cfg80211_scan_done
2024/08/15 01:01 net-next 2984e69a24af e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cfg80211_scan_done
2025/06/13 02:24 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 19272b37aa4f 98683f8f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cfg80211_scan_done
2025/01/29 23:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1950a0af2d55 afe4eff5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cfg80211_scan_done
2025/01/29 23:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1950a0af2d55 afe4eff5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cfg80211_scan_done
2025/01/16 18:13 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6251d1776bc5 968edaf4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cfg80211_scan_done
2024/10/24 19:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ce8e69898653 9fc8fe02 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cfg80211_scan_done
2024/08/09 14:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 61405512 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cfg80211_scan_done
* Struck through repros no longer work on HEAD.