------------[ cut here ]------------
WARNING: CPU: 0 PID: 8263 at net/mac80211/tx.c:4859 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4859 [inline]
WARNING: CPU: 0 PID: 8263 at net/mac80211/tx.c:4859 __ieee80211_beacon_get+0x172c/0x1f80 net/mac80211/tx.c:5083
Modules linked in:
CPU: 0 PID: 8263 Comm: syz.1.1131 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4859 [inline]
RIP: 0010:__ieee80211_beacon_get+0x172c/0x1f80 net/mac80211/tx.c:5083
Code: f8 0f 0b e9 f1 fa ff ff e8 51 6c 3a f8 0f 0b 4c 8b 74 24 08 e9 36 fe ff ff e8 40 6c 3a f8 0f 0b e9 3c ef ff ff e8 34 6c 3a f8 <0f> 0b e9 b8 f2 ff ff e8 68 ef 6b 00 44 89 e1 80 e1 07 80 c1 03 38
RSP: 0018:ffffc900000078c0 EFLAGS: 00010246
RAX: ffffffff893d5e5c RBX: ffff88805ea04c80 RCX: ffff888074cf0000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000007ae8 R08: ffff888074cf0000 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: ffff888024a12800
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff92000000f28
FS: 00007f70847c66c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffec0000 CR3: 000000001ea97000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ieee80211_beacon_get_tim+0x48/0x840 net/mac80211/tx.c:5202
ieee80211_beacon_get include/net/mac80211.h:4983 [inline]
mac80211_hwsim_beacon_tx+0xf4/0x920 drivers/net/wireless/mac80211_hwsim.c:1812
__iterate_interfaces+0x243/0x500 net/mac80211/util.c:793
ieee80211_iterate_active_interfaces_atomic+0xb3/0x140 net/mac80211/util.c:829
mac80211_hwsim_beacon+0x9b/0x180 drivers/net/wireless/mac80211_hwsim.c:1865
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x53d/0xc40 kernel/time/hrtimer.c:1749
hrtimer_run_softirq+0x176/0x240 kernel/time/hrtimer.c:1766
handle_softirqs+0x328/0x820 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:__kasan_check_read+0x0/0x10 mm/kasan/shadow.c:31
Code: 41 5c 41 5d 41 5e 41 5f 5d c3 48 c7 c7 f8 98 b8 8b eb 0a 48 c7 c7 a1 b0 a2 8b 48 89 de e8 18 9b e2 07 31 ed eb d7 00 00 cc cc <89> f6 48 8b 0c 24 31 d2 e9 43 ef ff ff 0f 1f 00 89 f6 48 8b 0c 24
RSP: 0018:ffffc90002e9f3b8 EFLAGS: 00000246
RAX: ffff88807b753b80 RBX: ffff8880239b9af0 RCX: ffff88807b753b80
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888074cf0000
RBP: 0000000000000008 R08: dffffc0000000000 R09: ffffed100473735f
R10: ffffed100473735f R11: 1ffff1100473735e R12: ffff888074cf0000
R13: dffffc0000000000 R14: ffff88807b753b80 R15: 1ffff1100473735e
instrument_atomic_read include/linux/instrumented.h:71 [inline]
test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline]
test_ti_thread_flag include/linux/thread_info.h:118 [inline]
need_resched include/linux/sched.h:2111 [inline]
rwsem_spin_on_owner+0x141/0x2e0 kernel/locking/rwsem.c:762
rwsem_optimistic_spin kernel/locking/rwsem.c:821 [inline]
rwsem_down_write_slowpath+0x2fc/0x11f0 kernel/locking/rwsem.c:1082
inode_lock include/linux/fs.h:787 [inline]
process_measurement+0x33d/0x1a10 security/integrity/ima/ima_main.c:242
ima_file_check+0xc1/0x100 security/integrity/ima/ima_main.c:533
do_open fs/namei.c:3618 [inline]
path_openat+0x2735/0x2f30 fs/namei.c:3750
do_filp_open+0x1b3/0x3e0 fs/namei.c:3777
do_sys_openat2+0x142/0x4a0 fs/open.c:1253
do_sys_open fs/open.c:1269 [inline]
__do_sys_creat fs/open.c:1345 [inline]
__se_sys_creat fs/open.c:1339 [inline]
__x64_sys_creat+0x8c/0xb0 fs/open.c:1339
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f708657ffc9
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:00007f70847c6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f70867d7090 RCX: 00007f708657ffc9
RDX: 0000000000000000 RSI: 000000000000000c RDI: 0000200000000e00
RBP: 00007f7086602f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f70867d7128 R14: 00007f70867d7090 R15: 00007ffd4dfb9388
----------------
Code disassembly (best guess):
0: 41 5c pop %r12
2: 41 5d pop %r13
4: 41 5e pop %r14
6: 41 5f pop %r15
8: 5d pop %rbp
9: c3 ret
a: 48 c7 c7 f8 98 b8 8b mov $0xffffffff8bb898f8,%rdi
11: eb 0a jmp 0x1d
13: 48 c7 c7 a1 b0 a2 8b mov $0xffffffff8ba2b0a1,%rdi
1a: 48 89 de mov %rbx,%rsi
1d: e8 18 9b e2 07 call 0x7e29b3a
22: 31 ed xor %ebp,%ebp
24: eb d7 jmp 0xfffffffd
26: 00 00 add %al,(%rax)
28: cc int3
29: cc int3
* 2a: 89 f6 mov %esi,%esi <-- trapping instruction
2c: 48 8b 0c 24 mov (%rsp),%rcx
30: 31 d2 xor %edx,%edx
32: e9 43 ef ff ff jmp 0xffffef7a
37: 0f 1f 00 nopl (%rax)
3a: 89 f6 mov %esi,%esi
3c: 48 8b 0c 24 mov (%rsp),%rcx