------------[ cut here ]------------
WARNING: CPU: 0 PID: 6414 at net/mac80211/tx.c:4981 __ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4981 [inline]
WARNING: CPU: 0 PID: 6414 at net/mac80211/tx.c:4981 __ieee80211_beacon_get+0x1141/0x1520 net/mac80211/tx.c:5382
Modules linked in:
CPU: 0 PID: 6414 Comm: syz.1.570 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4981 [inline]
RIP: 0010:__ieee80211_beacon_get+0x1141/0x1520 net/mac80211/tx.c:5382
Code: f7 4c 89 ef e8 60 37 01 f8 45 31 ed 4c 8b bc 24 a0 00 00 00 e9 7f fe ff ff e8 8b 6a c8 f7 0f 0b e9 61 f8 ff ff e8 7f 6a c8 f7 <0f> 0b e9 85 fb ff ff e8 73 6a c8 f7 48 c7 c7 40 13 fd 8e 4c 89 e6
RSP: 0018:ffffc90000007a48 EFLAGS: 00010246
RAX: ffffffff89b9fe21 RBX: dffffc0000000000 RCX: ffff88807e211e00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff88807e211e00 R09: 0000000000000003
R10: 0000000000000007 R11: 0000000000000100 R12: ffff888029ed6208
R13: ffff888028f14824 R14: ffff888029ed6740 R15: ffff888028f14800
FS: 00007f5562bd56c0(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000200030 CR3: 000000007d7a9000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ieee80211_beacon_get_tim+0x63/0x4e0 net/mac80211/tx.c:5509
ieee80211_beacon_get include/net/mac80211.h:5338 [inline]
mac80211_hwsim_beacon_tx+0x21c/0xae0 drivers/net/wireless/mac80211_hwsim.c:2097
__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:2153
__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:check_region_inline mm/kasan/generic.c:-1 [inline]
RIP: 0010:kasan_check_range+0xe/0x290 mm/kasan/generic.c:189
Code: 0f 0b b8 ea ff ff ff c3 0f 0b b8 ea ff ff ff c3 00 00 cc cc 00 00 cc cc 00 00 cc cc b0 01 48 85 f6 0f 84 ac 01 00 00 55 41 57 <41> 56 41 54 53 49 89 f8 49 01 f0 0f 82 0e 02 00 00 49 89 f8 49 c1
RSP: 0018:ffffc9000d93f350 EFLAGS: 00000202
RAX: ffffffff81c4f201 RBX: 1ffff1100efc246e RCX: ffffffff81c4f23c
RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff88802d0a8000
RBP: 0000200000200000 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52001b27e64 R12: ffff88807f5ce180
R13: ffff88802d0a8000 R14: ffff888077e12370 R15: dffffc0000000000
instrument_atomic_write include/linux/instrumented.h:87 [inline]
native_ptep_get_and_clear arch/x86/include/asm/pgtable_64.h:94 [inline]
ptep_get_and_clear arch/x86/include/asm/pgtable.h:1053 [inline]
ptep_clear_flush+0x4c/0x160 mm/pgtable-generic.c:96
wp_page_copy+0xada/0x1660 mm/memory.c:3219
handle_pte_fault mm/memory.c:5047 [inline]
__handle_mm_fault mm/memory.c:5171 [inline]
handle_mm_fault+0x1b1b/0x3d40 mm/memory.c:5292
do_user_addr_fault+0x5a9/0xbb0 arch/x86/mm/fault.c:1338
handle_page_fault arch/x86/mm/fault.c:1429 [inline]
exc_page_fault+0x60/0x100 arch/x86/mm/fault.c:1482
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:608
RIP: 0010:__put_user_nocheck_4+0x3/0x11
Code: 00 00 48 39 d9 73 54 0f 01 cb 66 89 01 31 c9 0f 01 ca c3 90 90 90 90 90 48 bb fd ef ff ff ff 7f 00 00 48 39 d9 73 34 0f 01 cb <89> 01 31 c9 0f 01 ca c3 90 90 90 90 90 90 48 bb f9 ef ff ff ff 7f
RSP: 0018:ffffc9000d93f8d8 EFLAGS: 00050202
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000200000200030
RDX: ffff88807e211e00 RSI: 0000000000000002 RDI: 00000000ffffffff
RBP: ffffc9000d93fa70 R08: ffffc9000d93f6e7 R09: 1ffff92001b27edc
R10: dffffc0000000000 R11: fffff52001b27edd R12: dffffc0000000000
R13: 0000200000200000 R14: 0000000000000000 R15: 0000000000000002
____sys_recvmsg+0x390/0x5b0 net/socket.c:2751
___sys_recvmsg+0x210/0x590 net/socket.c:2780
do_recvmmsg+0x370/0x810 net/socket.c:2874
__sys_recvmmsg net/socket.c:2953 [inline]
__do_sys_recvmmsg net/socket.c:2976 [inline]
__se_sys_recvmmsg net/socket.c:2969 [inline]
__x64_sys_recvmmsg+0x195/0x250 net/socket.c:2969
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f55649a8fd9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f5562bd5028 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f5564c26090 RCX: 00007f55649a8fd9
RDX: 0000000000010106 RSI: 0000200000001880 RDI: 0000000000000003
RBP: 00007f5564a37fed R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5564c26128 R14: 00007f5564c26090 R15: 00007ffe6873ac68
----------------
Code disassembly (best guess):
0: 0f 0b ud2
2: b8 ea ff ff ff mov $0xffffffea,%eax
7: c3 ret
8: 0f 0b ud2
a: b8 ea ff ff ff mov $0xffffffea,%eax
f: c3 ret
10: 00 00 add %al,(%rax)
12: cc int3
13: cc int3
14: 00 00 add %al,(%rax)
16: cc int3
17: cc int3
18: 00 00 add %al,(%rax)
1a: cc int3
1b: cc int3
1c: b0 01 mov $0x1,%al
1e: 48 85 f6 test %rsi,%rsi
21: 0f 84 ac 01 00 00 je 0x1d3
27: 55 push %rbp
28: 41 57 push %r15
* 2a: 41 56 push %r14 <-- trapping instruction
2c: 41 54 push %r12
2e: 53 push %rbx
2f: 49 89 f8 mov %rdi,%r8
32: 49 01 f0 add %rsi,%r8
35: 0f 82 0e 02 00 00 jb 0x249
3b: 49 89 f8 mov %rdi,%r8
3e: 49 rex.WB
3f: c1 .byte 0xc1