syzbot


WARNING in ieee80211_beacon_get_tim

Status: auto-closed as invalid on 2021/08/25 20:24
Reported-by: syzbot+136e11efc3b4aa970c24@syzkaller.appspotmail.com
First crash: 1092d, last: 1092d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in ieee80211_beacon_get_tim (2) 2 750d 867d 0/1 auto-closed as invalid on 2022/08/02 15:19
linux-4.19 WARNING in ieee80211_beacon_get_tim (3) 1 539d 539d 0/1 auto-obsoleted due to no activity on 2023/03/01 22:17

Sample crash report:
 filename_lookup+0x1ac/0x5a0 fs/namei.c:2349
WARNING: CPU: 1 PID: 12406 at net/mac80211/tx.c:4134 __ieee80211_csa_update_counter net/mac80211/tx.c:4134 [inline]
WARNING: CPU: 1 PID: 12406 at net/mac80211/tx.c:4134 __ieee80211_csa_update_counter net/mac80211/tx.c:4129 [inline]
WARNING: CPU: 1 PID: 12406 at net/mac80211/tx.c:4134 __ieee80211_beacon_get+0x1678/0x1a30 net/mac80211/tx.c:4327
 user_path_at include/linux/namei.h:57 [inline]
 path_setxattr+0x95/0x190 fs/xattr.c:534
Kernel panic - not syncing: panic_on_warn set ...

 __do_sys_lsetxattr fs/xattr.c:561 [inline]
 __se_sys_lsetxattr fs/xattr.c:557 [inline]
 __x64_sys_lsetxattr+0xbd/0x150 fs/xattr.c:557
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4665f9
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fcba842a188 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd
RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 00000000004665f9
RDX: 0000000000000000 RSI: 0000000020000380 RDI: 0000000020000340
RBP: 00007fcba842a1d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007ffd3eaa40ff R14: 00007fcba842a300 R15: 0000000000022000
CPU: 1 PID: 12406 Comm: systemd-udevd Not tainted 4.19.188-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+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:__ieee80211_csa_update_counter net/mac80211/tx.c:4134 [inline]
RIP: 0010:__ieee80211_csa_update_counter net/mac80211/tx.c:4129 [inline]
RIP: 0010:__ieee80211_beacon_get+0x1678/0x1a30 net/mac80211/tx.c:4327
Code: 85 70 03 00 00 41 0f b6 45 24 31 ff 44 8d 60 ff 45 88 65 24 44 89 e6 e8 c6 cb c0 f9 45 84 e4 0f 85 4f f5 ff ff e8 88 ca c0 f9 <0f> 0b e9 43 f5 ff ff e8 7c ca c0 f9 e8 e7 f8 ae f9 31 ff 41 89 c4
RSP: 0018:ffff8880ba107c18 EFLAGS: 00010206
RAX: ffff88804d5fc0c0 RBX: ffff888048b5b790 RCX: ffffffff87a1932a
RDX: 0000000000000100 RSI: ffffffff87a19338 RDI: 0000000000000001
RBP: ffff888048a11820 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880aa16d680 R14: 0000000000000000 R15: ffff8880ba107d60
 ieee80211_beacon_get_tim+0x88/0x890 net/mac80211/tx.c:4443
 ieee80211_beacon_get include/net/mac80211.h:4484 [inline]
 mac80211_hwsim_beacon_tx+0xff/0x680 drivers/net/wireless/mac80211_hwsim.c:1577
 __iterate_interfaces+0x2e1/0x4a0 net/mac80211/util.c:614
 ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:650
 mac80211_hwsim_beacon+0xc9/0x190 drivers/net/wireless/mac80211_hwsim.c:1615
 __tasklet_hrtimer_trampoline+0x29/0xa0 kernel/softirq.c:601
 tasklet_action_common.constprop.0+0x265/0x360 kernel/softirq.c:522
 __do_softirq+0x265/0x980 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:372 [inline]
 irq_exit+0x215/0x260 kernel/softirq.c:412
 exiting_irq arch/x86/include/asm/apic.h:535 [inline]
 smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline]
RIP: 0010:rmqueue_pcplist mm/page_alloc.c:2997 [inline]
RIP: 0010:rmqueue mm/page_alloc.c:3014 [inline]
RIP: 0010:get_page_from_freelist+0x1d2f/0x4170 mm/page_alloc.c:3373
Code: 82 f1 89 48 c1 e8 03 42 80 3c 38 00 0f 85 a2 1f 00 00 48 83 3d b9 9a 72 08 00 0f 84 b5 0f 00 00 48 8b bc 24 f0 00 00 00 57 9d <0f> 1f 44 00 00 e9 59 e9 ff ff 0f 0b e9 12 f5 ff ff 31 f6 4c 89 f7
RSP: 0018:ffff8880a051f5d8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff13e3049 RBX: 0000000000000000 RCX: 1ffff11009abf92d
RDX: 0000000000000000 RSI: ffff88804d5fc948 RDI: 0000000000000286
RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88813fffb6c0
R13: ffffea0002cc1648 R14: ffff88813fffb6c0 R15: dffffc0000000000
 __alloc_pages_nodemask+0x387/0x2890 mm/page_alloc.c:4399
 alloc_pages_current+0x193/0x2a0 mm/mempolicy.c:2197
 alloc_pages include/linux/gfp.h:532 [inline]
 __get_free_pages+0x8/0x40 mm/page_alloc.c:4443
 tlb_next_batch mm/memory.c:216 [inline]
 __tlb_remove_page_size+0x2a2/0x470 mm/memory.c:318
 __tlb_remove_page include/asm-generic/tlb.h:161 [inline]
 zap_pte_range mm/memory.c:1353 [inline]
 zap_pmd_range mm/memory.c:1452 [inline]
 zap_pud_range mm/memory.c:1481 [inline]
 zap_p4d_range mm/memory.c:1502 [inline]
 unmap_page_range+0x1360/0x2a70 mm/memory.c:1523
 unmap_single_vma+0x198/0x300 mm/memory.c:1568
 unmap_vmas+0xa9/0x180 mm/memory.c:1598
 exit_mmap+0x2b9/0x530 mm/mmap.c:3093
 __mmput kernel/fork.c:1015 [inline]
 mmput+0x14e/0x4a0 kernel/fork.c:1036
 exit_mm kernel/exit.c:549 [inline]
 do_exit+0xaec/0x2be0 kernel/exit.c:857
 do_group_exit+0x125/0x310 kernel/exit.c:967
 __do_sys_exit_group kernel/exit.c:978 [inline]
 __se_sys_exit_group kernel/exit.c:976 [inline]
 __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:976
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fc9de983618
Code: 00 00 be 3c 00 00 00 eb 19 66 0f 1f 84 00 00 00 00 00 48 89 d7 89 f0 0f 05 48 3d 00 f0 ff ff 77 21 f4 48 89 d7 44 89 c0 0f 05 <48> 3d 00 f0 ff ff 76 e0 f7 d8 64 41 89 01 eb d8 0f 1f 84 00 00 00
RSP: 002b:00007ffdf1ded068 EFLAGS: 00000202 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007ffdf1ded130 RCX: 00007fc9de983618
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000
RBP: 00007ffdf1ded1e0 R08: 00000000000000e7 R09: fffffffffffffe50
R10: 00000000ffffffff R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000003 R15: 000000000000000e
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/27 20:23 linux-4.19.y 2965db2e004c 805b5003 .config console log report info ci2-linux-4-19 WARNING in ieee80211_beacon_get_tim
* Struck through repros no longer work on HEAD.