WARNING in __ieee80211_start_scan (2)

Status: upstream: reported on 2026/06/14 16:49
Subsystems: wireless
Labels: prio:normal
[Documentation on labels]
Reported-by: syzbot+f961b9f94edbc266f1f8@syzkaller.appspotmail.com
Fix commit: cd54bf333f56 wifi: mac80211: add HE 6 GHz capability in the scan elems len
Patched on: [ci-qemu-gce-upstream-auto ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-qemu2-riscv64 ci-snapshot-upstream-root ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci-upstream-gce-leak ci-upstream-kasan-badwrites-root 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-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci-upstream-rust-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu-native-arm64-kvm ci-upstream-kmsan-gce-386-root ci-upstream-kmsan-gce-root]
First crash: 135d, last: 9d08h
▶ ▼ ✨ AI Jobs (3)
ID Workflow Result Correct Bug Created Started Finished Revision
b2834aec assessment-security DenialOfService: ✅ Exploitable: ✅ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ WARNING in __ieee80211_start_scan (2) 2026/06/16 00:04 2026/06/16 00:04 2026/06/16 00:22 50bb0618
e433f762 assessment-security 💥 WARNING in __ieee80211_start_scan (2) 2026/06/13 00:34 2026/06/13 00:34 2026/06/13 00:34 1d2f3589
17ce3259 assessment-security 💥 WARNING in __ieee80211_start_scan (2) 2026/06/12 00:03 2026/06/12 00:03 2026/06/12 00:03 d93a6ab6
▶ ▼ Discussions (3)
Title Replies (including bot) Last reply
[PATCH RESEND wireless 07/10] wifi: mac80211: add HE 6 GHz capability in the scan elems len 1 (1) 2026/09/08 12:28
[PATCH wireless 07/10] wifi: mac80211: add HE 6 GHz capability in the scan elems len 1 (1) 2026/09/04 14:58
[syzbot] [wireless?] WARNING in __ieee80211_start_scan (2) 0 (1) 2026/06/14 16:49
▶ ▼ Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __ieee80211_start_scan wireless -1 1 564d 560d 0/29 auto-obsoleted due to no activity on 2025/07/17 10:06

Sample crash report:
netlink: 16 bytes leftover after parsing attributes in process `syz.2.5317'.
------------[ cut here ]------------
!ieee80211_prep_hw_scan(sdata)
WARNING: net/mac80211/scan.c:879 at __ieee80211_start_scan+0x1348/0x1e30 net/mac80211/scan.c:879, CPU#1: syz.2.5317/22737
Modules linked in:
CPU: 1 UID: 0 PID: 22737 Comm: syz.2.5317 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
RIP: 0010:__ieee80211_start_scan+0x1348/0x1e30 net/mac80211/scan.c:879
Code: 4f 91 e8 6b 21 73 f6 48 83 fd 09 0f 84 02 08 00 00 83 fd 03 0f 84 00 08 00 00 e8 e3 1a 73 f6 e9 ab f2 ff ff e8 d9 1a 73 f6 90 <0f> 0b 90 e9 67 fd ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 3a fa
RSP: 0018:ffffc900048ef148 EFLAGS: 00010293
RAX: ffffffff8b54f597 RBX: ffff88806831cec0 RCX: ffff888068348000
RDX: 0000000000000000 RSI: 00000000fffffff4 RDI: 0000000000000000
RBP: ffff88804eb4f024 R08: ffffffff917a737f R09: 1ffffffff22f4e6f
R10: dffffc0000000000 R11: fffffbfff22f4e70 R12: 1ffff1100bf5658d
R13: ffff88805fab2b58 R14: dffffc0000000000 R15: ffff88805fab0fa0
FS:  0000000000000000(0000) GS:ffff888123bbf000(0063) knlGS:00000000f5496b40
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000f74a5014 CR3: 0000000071a28000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 rdev_scan+0x176/0x3b0 net/wireless/rdev-ops.h:468
 nl80211_trigger_scan+0x1cff/0x21e0 net/wireless/nl80211.c:11511
 genl_family_rcv_msg_doit+0x233/0x340 net/netlink/genetlink.c:1114
 genl_family_rcv_msg net/netlink/genetlink.c:1194 [inline]
 genl_rcv_msg+0x614/0x7a0 net/netlink/genetlink.c:1209
 netlink_rcv_skb+0x226/0x4a0 net/netlink/af_netlink.c:2575
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1218
 netlink_unicast_kernel net/netlink/af_netlink.c:1338 [inline]
 netlink_unicast+0x7bd/0x940 net/netlink/af_netlink.c:1364
 netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1919
 sock_sendmsg_nosec+0x13a/0x180 net/socket.c:800
 __sock_sendmsg net/socket.c:815 [inline]
 ____sys_sendmsg+0x54e/0x850 net/socket.c:2713
 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2767
 __sys_sendmsg+0x177/0x240 net/socket.c:2799
 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:79 [inline]
 __do_fast_syscall_32+0x27a/0x6b0 arch/x86/entry/syscall_32.c:291
 do_fast_syscall_32+0x33/0x70 arch/x86/entry/syscall_32.c:316
 entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf747f0ec
Code: 90 85 d2 74 0a 89 ce 81 e6 ff 0f 00 00 89 32 85 c0 74 05 c1 e9 0c 89 08 31 c0 5e 5d c3 90 0f 1f 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 58 b8
RSP: 002b:00000000f549650c EFLAGS: 00000206 ORIG_RAX: 0000000000000172
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000080000540
RDX: 0000000000028000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
----------------
Code disassembly (best guess):
   0:	90                   	nop
   1:	85 d2                	test   %edx,%edx
   3:	74 0a                	je     0xf
   5:	89 ce                	mov    %ecx,%esi
   7:	81 e6 ff 0f 00 00    	and    $0xfff,%esi
   d:	89 32                	mov    %esi,(%rdx)
   f:	85 c0                	test   %eax,%eax
  11:	74 05                	je     0x18
  13:	c1 e9 0c             	shr    $0xc,%ecx
  16:	89 08                	mov    %ecx,(%rax)
  18:	31 c0                	xor    %eax,%eax
  1a:	5e                   	pop    %rsi
  1b:	5d                   	pop    %rbp
  1c:	c3                   	ret
  1d:	90                   	nop
  1e:	0f 1f 00             	nopl   (%rax)
  21:	51                   	push   %rcx
  22:	52                   	push   %rdx
  23:	55                   	push   %rbp
  24:	89 e5                	mov    %esp,%ebp
  26:	0f 34                	sysenter
  28:	cd 80                	int    $0x80
* 2a:	5d                   	pop    %rbp <-- trapping instruction
  2b:	5a                   	pop    %rdx
  2c:	59                   	pop    %rcx
  2d:	c3                   	ret
  2e:	90                   	nop
  2f:	90                   	nop
  30:	90                   	nop
  31:	90                   	nop
  32:	90                   	nop
  33:	90                   	nop
  34:	90                   	nop
  35:	90                   	nop
  36:	90                   	nop
  37:	90                   	nop
  38:	90                   	nop
  39:	90                   	nop
  3a:	90                   	nop
  3b:	90                   	nop
  3c:	90                   	nop
  3d:	90                   	nop
  3e:	58                   	pop    %rax
  3f:	b8                   	.byte 0xb8

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/15 03:56 upstream 0fcb05b72344 8fb0ae89 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in __ieee80211_start_scan
2026/06/10 16:40 net 627366c51145 f79bac11 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __ieee80211_start_scan
* Struck through repros no longer work on HEAD.