------------[ cut here ]------------
WARNING: CPU: 1 PID: 47 at net/mac80211/tx.c:4961 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4961 [inline]
WARNING: CPU: 1 PID: 47 at net/mac80211/tx.c:4961 __ieee80211_beacon_get+0x1141/0x1520 net/mac80211/tx.c:5362
Modules linked in:
CPU: 1 PID: 47 Comm: kworker/u4:3 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: netns cleanup_net
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4961 [inline]
RIP: 0010:__ieee80211_beacon_get+0x1141/0x1520 net/mac80211/tx.c:5362
Code: f7 4c 89 ef e8 80 75 07 f8 45 31 ed 4c 8b bc 24 a0 00 00 00 e9 7f fe ff ff e8 db d0 ce f7 0f 0b e9 61 f8 ff ff e8 cf d0 ce f7 <0f> 0b e9 85 fb ff ff e8 c3 d0 ce f7 48 c7 c7 a0 fc fb 8d 4c 89 e6
RSP: 0018:ffffc900001e0a48 EFLAGS: 00010246
RAX: ffffffff89b35d51 RBX: dffffc0000000000 RCX: ffff88801cab5a00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff88801cab5a00 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: ffff888046e4e228
R13: ffff888023c44c24 R14: ffff888046e4e760 R15: ffff888023c44c00
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff057987240 CR3: 000000002fb30000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ieee80211_beacon_get_tim+0x63/0x4e0 net/mac80211/tx.c:5489
ieee80211_beacon_get include/net/mac80211.h:5335 [inline]
mac80211_hwsim_beacon_tx+0x21c/0xae0 drivers/net/wireless/mac80211_hwsim.c:2091
__iterate_interfaces+0x225/0x4c0 net/mac80211/util.c:788
ieee80211_iterate_active_interfaces_atomic+0xd7/0x170 net/mac80211/util.c:824
mac80211_hwsim_beacon+0xb7/0x1b0 drivers/net/wireless/mac80211_hwsim.c:2147
__run_hrtimer kernel/time/hrtimer.c:1751 [inline]
__hrtimer_run_queues+0x522/0xc90 kernel/time/hrtimer.c:1815
hrtimer_run_softirq+0x173/0x290 kernel/time/hrtimer.c:1832
handle_softirqs+0x291/0x910 kernel/softirq.c:596
__do_softirq kernel/softirq.c:630 [inline]
invoke_softirq kernel/softirq.c:470 [inline]
__irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679
irq_exit_rcu+0x5/0x20 kernel/softirq.c:691
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:unwind_next_frame+0xdbf/0x1fd0 arch/x86/kernel/unwind_orc.c:598
Code: 24 58 0f b6 04 28 84 c0 48 8b 3c 24 48 8b 54 24 18 0f 85 ae 0f 00 00 41 c6 04 24 01 4c 8b 64 24 20 48 8b 44 24 08 0f b6 04 28 <84> c0 0f 85 c3 0c 00 00 0f b6 04 2a 84 c0 0f 85 e1 0c 00 00 41 0f
RSP: 0018:ffffc90000b870e0 EFLAGS: 00000202
RAX: 0000000000000000 RBX: ffffc90000b87188 RCX: 0000000000000000
RDX: 1ffffffff1e32f8a RSI: 0000000000000000 RDI: ffffc90000b87b60
RBP: dffffc0000000000 R08: ffffc90000b871e7 R09: ffffc90000b871d8
R10: dffffc0000000000 R11: fffff52000170e3d R12: ffffffff8f197c52
R13: ffffffff8f197c56 R14: ffffc90000b871c0 R15: ffffc90000b871bd
arch_stack_walk+0x10c/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:46 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:53
kasan_save_free_info+0x27/0x40 mm/kasan/generic.c:516
____kasan_slab_free+0x126/0x1f0 mm/kasan/common.c:237
kasan_slab_free include/linux/kasan.h:177 [inline]
slab_free_hook mm/slub.c:1729 [inline]
slab_free_freelist_hook+0x133/0x1b0 mm/slub.c:1755
slab_free mm/slub.c:3687 [inline]
kmem_cache_free+0xf7/0x2a0 mm/slub.c:3709
kernfs_put+0x311/0x480 fs/kernfs/dir.c:568
kernfs_remove_by_name_ns+0xe0/0x150 fs/kernfs/dir.c:1668
kernfs_remove_by_name include/linux/kernfs.h:622 [inline]
remove_files fs/sysfs/group.c:28 [inline]
sysfs_remove_group+0xfd/0x290 fs/sysfs/group.c:288
sysfs_remove_groups+0x50/0xa0 fs/sysfs/group.c:312
device_remove_groups drivers/base/core.c:2759 [inline]
device_remove_attrs+0x1c8/0x270 drivers/base/core.c:2973
device_del+0x637/0xa80 drivers/base/core.c:3899
unregister_netdevice_many_notify+0x14b6/0x1990 net/core/dev.c:11051
unregister_netdevice_many net/core/dev.c:11077 [inline]
default_device_exit_batch+0x95e/0x9f0 net/core/dev.c:11549
ops_exit_list net/core/net_namespace.c:177 [inline]
cleanup_net+0x78e/0xba0 net/core/net_namespace.c:640
process_one_work+0x8ab/0x1160 kernel/workqueue.c:2292
worker_thread+0xaf5/0x12a0 kernel/workqueue.c:2439
kthread+0x29d/0x330 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
----------------
Code disassembly (best guess):
0: 24 58 and $0x58,%al
2: 0f b6 04 28 movzbl (%rax,%rbp,1),%eax
6: 84 c0 test %al,%al
8: 48 8b 3c 24 mov (%rsp),%rdi
c: 48 8b 54 24 18 mov 0x18(%rsp),%rdx
11: 0f 85 ae 0f 00 00 jne 0xfc5
17: 41 c6 04 24 01 movb $0x1,(%r12)
1c: 4c 8b 64 24 20 mov 0x20(%rsp),%r12
21: 48 8b 44 24 08 mov 0x8(%rsp),%rax
26: 0f b6 04 28 movzbl (%rax,%rbp,1),%eax
* 2a: 84 c0 test %al,%al <-- trapping instruction
2c: 0f 85 c3 0c 00 00 jne 0xcf5
32: 0f b6 04 2a movzbl (%rdx,%rbp,1),%eax
36: 84 c0 test %al,%al
38: 0f 85 e1 0c 00 00 jne 0xd1f
3e: 41 rex.B
3f: 0f .byte 0xf