Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 UID: 0 PID: 18219 Comm: syz.3.2349 Not tainted 6.11.0-rc1-syzkaller-00063-g21b136cc63d2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:__dev_flush+0x5b/0x160
Code: 48 89 ef e8 97 c4 3e 00 48 8b 5d 00 48 39 eb 0f 84 ff 00 00 00 48 89 2c 24 49 89 dd 49 c1 ed 03 48 b8 00 00 00 00 00 fc ff df <41> 80 7c 05 00 00 74 08 48 89 df e8 65 c4 3e 00 48 8b 03 48 89 44
RSP: 0018:ffffc90000a18af0 EFLAGS: 00010256
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff888020f70000
RDX: 0000000000000101 RSI: 0000000000000010 RDI: ffffc90004317810
RBP: ffffc90004317810 R08: ffffffff898e217a R09: 1ffffffff202f495
R10: dffffc0000000000 R11: fffffbfff202f496 R12: ffffc90004317800
R13: 0000000000000000 R14: 0000000000000010 R15: ffffc90004317810
FS: 00007f44a9be86c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002001a000 CR3: 0000000057fd8000 CR4: 0000000000350ef0
Call Trace:
xdp_do_check_flushed+0x129/0x240 net/core/filter.c:4307
__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+0x2c6/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
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:csd_lock_wait kernel/smp.c:312 [inline]
RIP: 0010:smp_call_function_many_cond+0x1860/0x29d0 kernel/smp.c:856
Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 99 14 0c 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 44 10 0c 00 eb 38 f3 90 <42> 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 28 10
RSP: 0018:ffffc90004317340 EFLAGS: 00000293
RAX: ffffffff81875648 RBX: 1ffff11017248c61 RCX: ffff888020f70000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90004317520 R08: ffffffff81875617 R09: 1ffffffff26e5300
R10: dffffc0000000000 R11: fffffbfff26e5301 R12: dffffc0000000000
R13: ffff8880b9246308 R14: ffff8880b933fb80 R15: 0000000000000000
on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023
on_each_cpu include/linux/smp.h:71 [inline]
text_poke_sync arch/x86/kernel/alternative.c:2085 [inline]
text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2295
text_poke_bp+0xb0/0x100 arch/x86/kernel/alternative.c:2522
__static_call_transform+0x51a/0x810 arch/x86/kernel/static_call.c:111
arch_static_call_transform+0x141/0x380 arch/x86/kernel/static_call.c:163
__static_call_update+0xd8/0x5e0 kernel/static_call_inline.c:147
bpf_dispatcher_update kernel/bpf/dispatcher.c:126 [inline]
bpf_dispatcher_change_prog+0xd7b/0xf10 kernel/bpf/dispatcher.c:167
dev_xdp_install net/core/dev.c:9421 [inline]
dev_xdp_detach_link net/core/dev.c:9601 [inline]
bpf_xdp_link_release+0x39e/0x4d0 net/core/dev.c:9616
bpf_link_free+0xf7/0x250 kernel/bpf/syscall.c:3067
bpf_link_put_direct kernel/bpf/syscall.c:3107 [inline]
bpf_link_release+0x7b/0x90 kernel/bpf/syscall.c:3114
__fput+0x24c/0x8a0 fs/file_table.c:422
task_work_run+0x251/0x310 kernel/task_work.c:228
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [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+0x168/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:0x7f44a8d773b9
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:00007f44a9be8048 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f44a8f06058 RCX: 00007f44a8d773b9
RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000003
RBP: 00007f44a8de48e6 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f44a8f06058 R15: 00007ffd173bbec8
Modules linked in:
vkms_vblank_simulate: vblank timer overrun
---[ end trace 0000000000000000 ]---
RIP: 0010:__dev_flush+0x5b/0x160
Code: 48 89 ef e8 97 c4 3e 00 48 8b 5d 00 48 39 eb 0f 84 ff 00 00 00 48 89 2c 24 49 89 dd 49 c1 ed 03 48 b8 00 00 00 00 00 fc ff df <41> 80 7c 05 00 00 74 08 48 89 df e8 65 c4 3e 00 48 8b 03 48 89 44
RSP: 0018:ffffc90000a18af0 EFLAGS: 00010256
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff888020f70000
RDX: 0000000000000101 RSI: 0000000000000010 RDI: ffffc90004317810
RBP: ffffc90004317810 R08: ffffffff898e217a R09: 1ffffffff202f495
R10: dffffc0000000000 R11: fffffbfff202f496 R12: ffffc90004317800
R13: 0000000000000000 R14: 0000000000000010 R15: ffffc90004317810
FS: 00007f44a9be86c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002001a000 CR3: 0000000057fd8000 CR4: 0000000000350ef0
----------------
Code disassembly (best guess):
0: 48 89 ef mov %rbp,%rdi
3: e8 97 c4 3e 00 call 0x3ec49f
8: 48 8b 5d 00 mov 0x0(%rbp),%rbx
c: 48 39 eb cmp %rbp,%rbx
f: 0f 84 ff 00 00 00 je 0x114
15: 48 89 2c 24 mov %rbp,(%rsp)
19: 49 89 dd mov %rbx,%r13
1c: 49 c1 ed 03 shr $0x3,%r13
20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
27: fc ff df
* 2a: 41 80 7c 05 00 00 cmpb $0x0,0x0(%r13,%rax,1) <-- trapping instruction
30: 74 08 je 0x3a
32: 48 89 df mov %rbx,%rdi
35: e8 65 c4 3e 00 call 0x3ec49f
3a: 48 8b 03 mov (%rbx),%rax
3d: 48 rex.W
3e: 89 .byte 0x89
3f: 44 rex.R