general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 20936 Comm: syz-executor.2 Not tainted 6.2.0-rc6-next-20230202-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:ether_addr_equal include/linux/etherdevice.h:349 [inline] RIP: 0010:ieee80211_rx_h_sta_process net/mac80211/rx.c:1751 [inline] RIP: 0010:ieee80211_rx_handlers+0x1c11/0x9bd0 net/mac80211/rx.c:3990 Code: 00 4c 89 e7 e8 60 28 05 00 48 89 c6 48 8b 44 24 30 48 c1 e8 03 80 3c 28 00 0f 85 9e 50 00 00 48 89 f0 4d 8b 6f 18 48 c1 e8 03 <0f> b6 14 28 48 89 f0 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 fe RSP: 0018:ffffc900001e0838 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8880252ef000 RCX: 0000000000000100 RDX: ffff88807d751d40 RSI: 0000000000000000 RDI: 0000000000000007 RBP: dffffc0000000000 R08: 0000000000000007 R09: 0000000000000017 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888077636050 R13: ffff888030624c80 R14: ffff8880252ef028 R15: ffffc900001e0d58 FS: 00007f3e0dbd7700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33240000 CR3: 000000002a84c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_invoke_rx_handlers net/mac80211/rx.c:4043 [inline] ieee80211_prepare_and_rx_handle+0x1c04/0x5d60 net/mac80211/rx.c:4863 ieee80211_rx_for_interface+0x112/0x200 net/mac80211/rx.c:4946 __ieee80211_rx_handle_packet net/mac80211/rx.c:5104 [inline] ieee80211_rx_list+0x1cfc/0x2d10 net/mac80211/rx.c:5239 ieee80211_rx_napi+0xdf/0x410 net/mac80211/rx.c:5262 ieee80211_rx include/net/mac80211.h:4893 [inline] ieee80211_tasklet_handler+0xd8/0x140 net/mac80211/main.c:315 tasklet_action_common.constprop.0+0x201/0x2e0 kernel/softirq.c:797 __do_softirq+0x2e3/0xae3 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x114/0x190 kernel/softirq.c:650 irq_exit_rcu+0x9/0x20 kernel/softirq.c:662 common_interrupt+0xad/0xd0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:636 RIP: 0010:__sanitizer_cov_trace_pc+0x50/0x70 kernel/kcov.c:212 Code: 0e 85 c9 74 35 8b 82 74 15 00 00 85 c0 74 2b 8b 82 50 15 00 00 83 f8 02 75 20 48 8b 8a 58 15 00 00 8b 92 54 15 00 00 48 8b 01 <48> 83 c0 01 48 39 c2 76 07 48 89 01 48 89 34 c1 c3 66 66 2e 0f 1f RSP: 0018:ffffc9000539fc80 EFLAGS: 00000246 RAX: 0000000000004625 RBX: dffffc0000000000 RCX: ffffc900049b1000 RDX: 0000000000040000 RSI: ffffffff81f4d9c4 RDI: 0000000000000005 RBP: ffff888077af05e0 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000002 R14: ffff88801ce32510 R15: 0000000000000002 __fsnotify_parent+0xa4/0xa60 fs/notify/fsnotify.c:182 fsnotify_parent include/linux/fsnotify.h:77 [inline] fsnotify_file include/linux/fsnotify.h:99 [inline] fsnotify_modify include/linux/fsnotify.h:317 [inline] do_sendfile+0x893/0x12c0 fs/read_write.c:1269 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64 fs/read_write.c:1309 [inline] __x64_sys_sendfile64+0x1d0/0x210 fs/read_write.c:1309 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f3e0ce8c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3e0dbd7168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f3e0cfac120 RCX: 00007f3e0ce8c0c9 RDX: 0000000000000000 RSI: 000000000000000b RDI: 0000000000000007 RBP: 00007f3e0cee7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000001dd00 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffca744750f R14: 00007f3e0dbd7300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ether_addr_equal include/linux/etherdevice.h:349 [inline] RIP: 0010:ieee80211_rx_h_sta_process net/mac80211/rx.c:1751 [inline] RIP: 0010:ieee80211_rx_handlers+0x1c11/0x9bd0 net/mac80211/rx.c:3990 Code: 00 4c 89 e7 e8 60 28 05 00 48 89 c6 48 8b 44 24 30 48 c1 e8 03 80 3c 28 00 0f 85 9e 50 00 00 48 89 f0 4d 8b 6f 18 48 c1 e8 03 <0f> b6 14 28 48 89 f0 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 fe RSP: 0018:ffffc900001e0838 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8880252ef000 RCX: 0000000000000100 RDX: ffff88807d751d40 RSI: 0000000000000000 RDI: 0000000000000007 RBP: dffffc0000000000 R08: 0000000000000007 R09: 0000000000000017 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888077636050 R13: ffff888030624c80 R14: ffff8880252ef028 R15: ffffc900001e0d58 FS: 00007f3e0dbd7700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33240000 CR3: 000000002a84c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 4c 89 e7 add %cl,-0x19(%rcx,%rcx,4) 4: e8 60 28 05 00 callq 0x52869 9: 48 89 c6 mov %rax,%rsi c: 48 8b 44 24 30 mov 0x30(%rsp),%rax 11: 48 c1 e8 03 shr $0x3,%rax 15: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) 19: 0f 85 9e 50 00 00 jne 0x50bd 1f: 48 89 f0 mov %rsi,%rax 22: 4d 8b 6f 18 mov 0x18(%r15),%r13 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 0f b6 14 28 movzbl (%rax,%rbp,1),%edx <-- trapping instruction 2e: 48 89 f0 mov %rsi,%rax 31: 83 e0 07 and $0x7,%eax 34: 83 c0 03 add $0x3,%eax 37: 38 d0 cmp %dl,%al 39: 7c 08 jl 0x43 3b: 84 d2 test %dl,%dl 3d: 0f .byte 0xf 3e: 85 fe test %edi,%esi