syzbot


WARNING in __ieee80211_beacon_get

Status: upstream: reported on 2025/06/17 09:14
Reported-by: syzbot+feb2f6f6d7672169abb7@syzkaller.appspotmail.com
First crash: 22h50m, last: 15h09m
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in __ieee80211_beacon_get (3) C 224 834d 1340d 0/1 upstream: reported C repro on 2021/10/16 16:09
upstream WARNING in __ieee80211_beacon_get wireless C done 142879 now 1716d 0/28 upstream: reported C repro on 2020/10/05 08:38
linux-5.15 WARNING in __ieee80211_beacon_get origin:upstream C 10894 37m 832d 0/3 upstream: reported C repro on 2023/03/08 22:50
linux-4.19 WARNING in __ieee80211_beacon_get 2 1627d 1631d 0/1 auto-closed as invalid on 2021/05/02 15:33
linux-4.14 WARNING in __ieee80211_beacon_get 1 1699d 1699d 0/1 auto-closed as invalid on 2021/02/20 01:09
linux-6.1 WARNING in __ieee80211_beacon_get origin:upstream C 8774 23m 828d 0/3 upstream: reported C repro on 2023/03/13 04:41
linux-4.19 WARNING in __ieee80211_beacon_get (2) 4 1475d 1501d 0/1 auto-closed as invalid on 2021/10/02 04:19

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 13139 at net/mac80211/tx.c:5019 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5019 [inline]
WARNING: CPU: 0 PID: 13139 at net/mac80211/tx.c:5019 __ieee80211_beacon_get+0x1233/0x1600 net/mac80211/tx.c:5430
Modules linked in:
CPU: 0 PID: 13139 Comm: syz.9.1891 Not tainted 6.6.93-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:5019 [inline]
RIP: 0010:__ieee80211_beacon_get+0x1233/0x1600 net/mac80211/tx.c:5430
Code: 24 4c 89 e7 e8 ce dd dd f7 45 31 f6 4c 8b bc 24 a0 00 00 00 e9 7a fe ff ff e8 19 57 9f f7 0f 0b e9 f6 f7 ff ff e8 0d 57 9f f7 <0f> 0b e9 48 fb ff ff e8 01 57 9f f7 48 c7 c7 e0 28 23 8e 4c 89 e6
RSP: 0018:ffffc90000007a18 EFLAGS: 00010246
RAX: ffffffff89e63fd3 RBX: ffffffff89e62dd6 RCX: ffff8880289c1e00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff8880289c1e00 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: ffff88805b1ee3c0
R13: dffffc0000000000 R14: ffff88805b1ee8b0 R15: ffff88801bbaa824
FS:  00007f64f14786c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f64f0571d60 CR3: 000000005d5e2000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 ieee80211_beacon_get_tim+0xb8/0x560 net/mac80211/tx.c:5557
 ieee80211_beacon_get include/net/mac80211.h:5438 [inline]
 mac80211_hwsim_beacon_tx+0x3c7/0x780 drivers/net/wireless/virtual/mac80211_hwsim.c:2260
 __iterate_interfaces+0x243/0x500 net/mac80211/util.c:766
 ieee80211_iterate_active_interfaces_atomic+0xdb/0x180 net/mac80211/util.c:802
 mac80211_hwsim_beacon+0xbb/0x1b0 drivers/net/wireless/virtual/mac80211_hwsim.c:2290
 __run_hrtimer kernel/time/hrtimer.c:1755 [inline]
 __hrtimer_run_queues+0x51e/0xc40 kernel/time/hrtimer.c:1819
 hrtimer_run_softirq+0x187/0x2b0 kernel/time/hrtimer.c:1836
 handle_softirqs+0x280/0x820 kernel/softirq.c:578
 __do_softirq kernel/softirq.c:612 [inline]
 invoke_softirq kernel/softirq.c:452 [inline]
 __irq_exit_rcu+0xc7/0x190 kernel/softirq.c:661
 irq_exit_rcu+0x9/0x20 kernel/softirq.c:673
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
 sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:__asan_memset+0x22/0x40 mm/kasan/shadow.c:84
Code: 84 00 00 00 00 00 66 90 f3 0f 1e fa 55 41 56 53 48 89 d3 89 f5 49 89 fe 48 8b 4c 24 18 48 89 d6 ba 01 00 00 00 e8 8e ea ff ff <84> c0 74 11 4c 89 f7 89 ee 48 89 da 5b 41 5e 5d e9 b9 f8 87 08 31
RSP: 0018:ffffc900051bf6e0 EFLAGS: 00000256
RAX: 1ffff1100f172e01 RBX: 0000000000000020 RCX: ffffffff891b9a29
RDX: 0000000000000001 RSI: 0000000000000020 RDI: ffffc900051bf7a0
RBP: 0000000000000000 R08: ffffc900051bf7bf R09: 1ffff92000a37ef7
R10: dffffc0000000000 R11: fffff52000a37ef8 R12: ffffc900051bf820
R13: 1ffff92000a37ef0 R14: ffffc900051bf7a0 R15: 7fffffffffffffff
 __unix_dgram_recvmsg+0x179/0xd60 net/unix/af_unix.c:2344
 sock_recvmsg_nosec+0x82/0xd0 net/socket.c:1046
 ____sys_recvmsg+0x49b/0x5b0 net/socket.c:2812
 ___sys_recvmsg+0x1b6/0x510 net/socket.c:2856
 do_recvmmsg+0x360/0x7d0 net/socket.c:2950
 __sys_recvmmsg net/socket.c:3029 [inline]
 __do_sys_recvmmsg net/socket.c:3052 [inline]
 __se_sys_recvmmsg net/socket.c:3045 [inline]
 __x64_sys_recvmmsg+0x191/0x240 net/socket.c:3045
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f64f058e929
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f64f1478038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f64f07b6080 RCX: 00007f64f058e929
RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000004
RBP: 00007f64f0610b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f64f07b6080 R15: 00007fffd913e2f8
 </TASK>
----------------
Code disassembly (best guess):
   0:	84 00                	test   %al,(%rax)
   2:	00 00                	add    %al,(%rax)
   4:	00 00                	add    %al,(%rax)
   6:	66 90                	xchg   %ax,%ax
   8:	f3 0f 1e fa          	endbr64
   c:	55                   	push   %rbp
   d:	41 56                	push   %r14
   f:	53                   	push   %rbx
  10:	48 89 d3             	mov    %rdx,%rbx
  13:	89 f5                	mov    %esi,%ebp
  15:	49 89 fe             	mov    %rdi,%r14
  18:	48 8b 4c 24 18       	mov    0x18(%rsp),%rcx
  1d:	48 89 d6             	mov    %rdx,%rsi
  20:	ba 01 00 00 00       	mov    $0x1,%edx
  25:	e8 8e ea ff ff       	call   0xffffeab8
* 2a:	84 c0                	test   %al,%al <-- trapping instruction
  2c:	74 11                	je     0x3f
  2e:	4c 89 f7             	mov    %r14,%rdi
  31:	89 ee                	mov    %ebp,%esi
  33:	48 89 da             	mov    %rbx,%rdx
  36:	5b                   	pop    %rbx
  37:	41 5e                	pop    %r14
  39:	5d                   	pop    %rbp
  3a:	e9 b9 f8 87 08       	jmp    0x887f8f8
  3f:	31                   	.byte 0x31

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/17 16:54 linux-6.6.y c2603c511feb cfebc887 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in __ieee80211_beacon_get
2025/06/17 16:54 linux-6.6.y c2603c511feb cfebc887 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in __ieee80211_beacon_get
2025/06/17 14:33 linux-6.6.y c2603c511feb cfebc887 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in __ieee80211_beacon_get
2025/06/17 14:01 linux-6.6.y c2603c511feb cfebc887 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in __ieee80211_beacon_get
2025/06/17 09:14 linux-6.6.y c2603c511feb cfebc887 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in __ieee80211_beacon_get
2025/06/17 09:14 linux-6.6.y c2603c511feb cfebc887 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in __ieee80211_beacon_get
2025/06/17 09:14 linux-6.6.y c2603c511feb cfebc887 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in __ieee80211_beacon_get
* Struck through repros no longer work on HEAD.