------------[ cut here ]------------ WARNING: CPU: 1 PID: 17285 at net/mac80211/tx.c:4851 __ieee80211_beacon_get+0x183d/0x2080 net/mac80211/tx.c:5075 Modules linked in: CPU: 1 PID: 17285 Comm: syz-executor.4 Not tainted 5.15.153-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__ieee80211_beacon_update_cntdwn net/mac80211/tx.c:4851 [inline] RIP: 0010:__ieee80211_beacon_get+0x183d/0x2080 net/mac80211/tx.c:5075 Code: ff e8 f7 88 cc f7 0f 0b e9 4b fa ff ff e8 eb 88 cc f7 0f 0b e9 3b fe ff ff e8 df 88 cc f7 0f 0b e9 06 ee ff ff e8 d3 88 cc f7 <0f> 0b e9 91 f0 ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 2d ea RSP: 0018:ffffc90000dd0840 EFLAGS: 00010246 RAX: ffffffff89b3b0dd RBX: 0000000000000000 RCX: ffff88806165d940 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000dd0a70 R08: ffffffff89b3a168 R09: ffffffff89b39b3b R10: 0000000000000003 R11: ffff88806165d940 R12: dffffc0000000000 R13: ffff88805eb1cc80 R14: ffff88805eb1e298 R15: 1ffff920001ba118 FS: 00007f06fca966c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fa25000 CR3: 00000000784f6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_beacon_get_tim+0xb7/0x950 net/mac80211/tx.c:5194 ieee80211_beacon_get include/net/mac80211.h:4981 [inline] mac80211_hwsim_beacon_tx+0xe2/0x8a0 drivers/net/wireless/mac80211_hwsim.c:1812 __iterate_interfaces+0x21e/0x4b0 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0xaf/0x140 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xa7/0x180 drivers/net/wireless/mac80211_hwsim.c:1865 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1767 __do_softirq+0x3b3/0x93a kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x155/0x240 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:nf_nat_ipv4_local_fn+0x0/0x520 net/netfilter/nf_nat_proto.c:757 Code: f9 e9 c2 fe ff ff 89 d9 80 e1 07 fe c1 38 c1 0f 8c d7 fe ff ff 48 89 df e8 4d 66 47 f9 e9 ca fe ff ff 0f 1f 84 00 00 00 00 00 <55> 41 57 41 56 41 55 41 54 53 48 83 ec 18 48 89 54 24 10 49 89 f6 RSP: 0018:ffffc90002ec6ee8 EFLAGS: 00000246 RAX: 1ffff1100f06318a RBX: ffff888078318c48 RCX: 0000000000040000 RDX: ffffc90002ec6fa0 RSI: ffff888079e64ae8 RDI: ffff88805e1fd1c0 RBP: ffffffff88829240 R08: 0000000000000001 R09: ffffffff8876b290 R10: 0000000000000003 R11: ffff88806165d940 R12: ffffc90002ec6fa0 R13: 0000000000000004 R14: dffffc0000000000 R15: ffff888078318c50 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_slow+0xae/0x1e0 net/netfilter/core.c:584 nf_hook+0x2a6/0x430 include/linux/netfilter.h:257 __ip_local_out+0x3b2/0x4f0 net/ipv4/ip_output.c:115 ip_local_out net/ipv4/ip_output.c:124 [inline] __ip_queue_xmit+0x11d9/0x1ce0 net/ipv4/ip_output.c:532 __tcp_transmit_skb+0x1f39/0x3810 net/ipv4/tcp_output.c:1402 tcp_transmit_skb net/ipv4/tcp_output.c:1420 [inline] tcp_write_xmit+0x19e5/0x65f0 net/ipv4/tcp_output.c:2705 __tcp_push_pending_frames+0x90/0x250 net/ipv4/tcp_output.c:2890 tcp_sendmsg_locked+0x315c/0x3a90 net/ipv4/tcp.c:1428 tcp_sendmsg+0x2c/0x40 net/ipv4/tcp.c:1456 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2431 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2485 __sys_sendmmsg+0x2bf/0x560 net/socket.c:2571 __do_sys_sendmmsg net/socket.c:2600 [inline] __se_sys_sendmmsg net/socket.c:2597 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2597 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f06fe523e69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f06fca960c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f06fe651f80 RCX: 00007f06fe523e69 RDX: 0000000000000001 RSI: 0000000020000540 RDI: 0000000000000003 RBP: 00007f06fe57047a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f06fe651f80 R15: 00007ffc9c3e32b8 ---------------- Code disassembly (best guess): 0: f9 stc 1: e9 c2 fe ff ff jmp 0xfffffec8 6: 89 d9 mov %ebx,%ecx 8: 80 e1 07 and $0x7,%cl b: fe c1 inc %cl d: 38 c1 cmp %al,%cl f: 0f 8c d7 fe ff ff jl 0xfffffeec 15: 48 89 df mov %rbx,%rdi 18: e8 4d 66 47 f9 call 0xf947666a 1d: e9 ca fe ff ff jmp 0xfffffeec 22: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 29: 00 * 2a: 55 push %rbp <-- trapping instruction 2b: 41 57 push %r15 2d: 41 56 push %r14 2f: 41 55 push %r13 31: 41 54 push %r12 33: 53 push %rbx 34: 48 83 ec 18 sub $0x18,%rsp 38: 48 89 54 24 10 mov %rdx,0x10(%rsp) 3d: 49 89 f6 mov %rsi,%r14