Oops: general protection fault, probably for non-canonical address 0xe3fffb24000f07e1: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: maybe wild-memory-access in range [0x1ffff92000783f08-0x1ffff92000783f0f] CPU: 1 UID: 0 PID: 7822 Comm: syz.2.607 Not tainted 6.10.0-next-20240726-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:__xsk_map_flush+0x56/0x2b0 Code: 80 3c 28 00 74 08 48 89 df e8 46 73 5c f6 4c 8b 3b 49 39 df 0f 84 43 02 00 00 48 89 1c 24 4c 89 f8 48 c1 e8 03 48 89 44 24 08 <42> 80 3c 28 00 74 08 4c 89 ff e8 1b 73 5c f6 49 8b 07 48 89 44 24 RSP: 0018:ffffc90000a18ae8 EFLAGS: 00010206 RAX: 03ffff24000f07e1 RBX: ffffc90003c1f820 RCX: ffff88802127da00 RDX: 0000000000000101 RSI: 0000000000000010 RDI: ffffc90003c1f820 RBP: dffffc0000000000 R08: ffffffff8992342a R09: 1ffffffff202fc75 R10: dffffc0000000000 R11: fffffbfff202fc76 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000010 R15: 1ffff92000783f08 FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f62c45fe53c CR3: 0000000023df0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xdp_do_check_flushed+0x18e/0x240 net/core/filter.c:4315 __napi_poll+0xe4/0x490 net/core/dev.c:6774 napi_poll net/core/dev.c:6840 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:6962 handle_softirqs+0x2c4/0x970 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 common_interrupt+0xaa/0xd0 arch/x86/kernel/irq.c:278 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693 RIP: 0010:finish_task_switch+0x1ea/0x870 kernel/sched/core.c:5113 Code: c9 50 e8 39 b8 0b 00 48 83 c4 08 4c 89 f7 e8 dd 38 00 00 e9 de 04 00 00 4c 89 f7 e8 60 99 5f 0a e8 fb 85 37 00 fb 48 8b 5d c0 <48> 8d bb f8 15 00 00 48 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc RSP: 0018:ffffc90003c1f5c8 EFLAGS: 00000282 RAX: 056639043a1deb00 RBX: ffff88802127da00 RCX: ffffffff94f2f903 RDX: dffffc0000000000 RSI: ffffffff8c0ad540 RDI: ffffffff8c607c40 RBP: ffffc90003c1f610 R08: ffffffff9017e3af R09: 1ffffffff202fc75 R10: dffffc0000000000 R11: fffffbfff202fc76 R12: 1ffff11017267ef3 R13: dffffc0000000000 R14: ffff8880b923ea00 R15: ffff8880b933f798 context_switch kernel/sched/core.c:5242 [inline] __schedule+0x1808/0x4a60 kernel/sched/core.c:6603 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6782 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6806 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_write_unlock_irq include/linux/rwlock_api_smp.h:274 [inline] _raw_write_unlock_irq+0x44/0x50 kernel/locking/spinlock.c:358 release_task+0x176e/0x1830 kernel/exit.c:279 exit_notify kernel/exit.c:776 [inline] do_exit+0x1b01/0x27f0 kernel/exit.c:902 do_group_exit+0x207/0x2c0 kernel/exit.c:1031 get_signal+0x16a1/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x830 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd257f77299 Code: Unable to access opcode bytes at 0x7fd257f7726f. RSP: 002b:00007fd258d1b0f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fd258105f88 RCX: 00007fd257f77299 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fd258105f88 RBP: 00007fd258105f80 R08: 00007fd258d1b6c0 R09: 00007fd258d1b6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd258105f8c R13: 000000000000000b R14: 00007ffd8a280530 R15: 00007ffd8a280618 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__xsk_map_flush+0x56/0x2b0 Code: 80 3c 28 00 74 08 48 89 df e8 46 73 5c f6 4c 8b 3b 49 39 df 0f 84 43 02 00 00 48 89 1c 24 4c 89 f8 48 c1 e8 03 48 89 44 24 08 <42> 80 3c 28 00 74 08 4c 89 ff e8 1b 73 5c f6 49 8b 07 48 89 44 24 RSP: 0018:ffffc90000a18ae8 EFLAGS: 00010206 RAX: 03ffff24000f07e1 RBX: ffffc90003c1f820 RCX: ffff88802127da00 RDX: 0000000000000101 RSI: 0000000000000010 RDI: ffffc90003c1f820 RBP: dffffc0000000000 R08: ffffffff8992342a R09: 1ffffffff202fc75 R10: dffffc0000000000 R11: fffffbfff202fc76 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000010 R15: 1ffff92000783f08 FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f62c45fe53c CR3: 0000000023df0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) 4: 74 08 je 0xe 6: 48 89 df mov %rbx,%rdi 9: e8 46 73 5c f6 call 0xf65c7354 e: 4c 8b 3b mov (%rbx),%r15 11: 49 39 df cmp %rbx,%r15 14: 0f 84 43 02 00 00 je 0x25d 1a: 48 89 1c 24 mov %rbx,(%rsp) 1e: 4c 89 f8 mov %r15,%rax 21: 48 c1 e8 03 shr $0x3,%rax 25: 48 89 44 24 08 mov %rax,0x8(%rsp) * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 ff mov %r15,%rdi 34: e8 1b 73 5c f6 call 0xf65c7354 39: 49 8b 07 mov (%r15),%rax 3c: 48 rex.W 3d: 89 .byte 0x89 3e: 44 rex.R 3f: 24 .byte 0x24