general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 PID: 25084 Comm: syz-executor.4 Not tainted 6.2.0-rc7-next-20230208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:__skb_unlink include/linux/skbuff.h:2328 [inline] RIP: 0010:__skb_dequeue include/linux/skbuff.h:2344 [inline] RIP: 0010:process_backlog+0x25b/0x6d0 net/core/dev.c:5925 Code: 42 80 3c 20 00 0f 85 71 03 00 00 48 8d 7a 08 4c 8b 7d 08 48 c7 45 00 00 00 00 00 48 89 f9 48 c7 45 08 00 00 00 00 48 c1 e9 03 <42> 80 3c 21 00 0f 85 33 03 00 00 4c 89 f9 4c 89 7a 08 48 c1 e9 03 RSP: 0018:ffffc900001e0d90 EFLAGS: 00010202 RAX: 1ffff11010bac801 RBX: ffff8880b993da10 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8813a03d RDI: 0000000000000008 RBP: ffff888085d64000 R08: 0000000000000004 R09: 0000000000000003 R10: 0000000000000040 R11: 0000000000094001 R12: dffffc0000000000 R13: 0000000000000003 R14: 0000000000000040 R15: ffff8880b993d850 FS: 00007f037340a700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f87a3ba8000 CR3: 000000003f265000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __napi_poll+0xb3/0x520 net/core/dev.c:6488 napi_poll net/core/dev.c:6555 [inline] net_rx_action+0x8d7/0xc50 net/core/dev.c:6665 __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:lock_acquire+0x54/0xc0 kernel/locking/lockdep.c:5664 Code: 4c 24 08 e8 6e 1f ff ff 48 c7 c0 30 f2 75 8e 48 ba 00 00 00 00 00 fc ff df 48 89 c1 83 e0 07 48 c1 e9 03 83 c0 03 0f b6 14 11 <59> 4c 8b 0c 24 38 d0 7c 04 84 d2 75 40 8b 05 99 ee 0f 0d 85 c0 74 RSP: 0018:ffffc9000bd1f288 EFLAGS: 00000206 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 1ffffffff1cebe46 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffffff8c794e00 R08: 0000000000000000 R09: ffffffff8e75bd17 R10: fffffbfff1ceb7a2 R11: 0000000000094001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000002 R15: ffffffff819219b4 rcu_lock_acquire include/linux/rcupdate.h:327 [inline] rcu_read_lock include/linux/rcupdate.h:773 [inline] is_bpf_text_address+0x3a/0x1b0 kernel/bpf/core.c:717 kernel_text_address kernel/extable.c:125 [inline] kernel_text_address+0x3d/0x80 kernel/extable.c:94 __kernel_text_address+0xd/0x30 kernel/extable.c:79 unwind_get_return_address arch/x86/kernel/unwind_orc.c:342 [inline] unwind_get_return_address+0x55/0xa0 arch/x86/kernel/unwind_orc.c:337 arch_stack_walk+0x97/0xf0 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x90/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x22/0x40 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:374 [inline] ____kasan_kmalloc mm/kasan/common.c:333 [inline] __kasan_kmalloc+0xa2/0xb0 mm/kasan/common.c:383 kasan_kmalloc include/linux/kasan.h:196 [inline] __do_kmalloc_node mm/slab_common.c:967 [inline] __kmalloc_node_track_caller+0x5b/0xc0 mm/slab_common.c:987 kmalloc_reserve net/core/skbuff.c:491 [inline] pskb_expand_head+0x211/0x1110 net/core/skbuff.c:1944 skb_ensure_writable net/core/skbuff.c:5856 [inline] skb_ensure_writable+0x2cb/0x450 net/core/skbuff.c:5848 __bpf_try_make_writable net/core/filter.c:1658 [inline] bpf_try_make_writable net/core/filter.c:1664 [inline] bpf_try_make_head_writable net/core/filter.c:1672 [inline] ____bpf_clone_redirect net/core/filter.c:2431 [inline] bpf_clone_redirect+0x129/0x420 net/core/filter.c:2409 bpf_prog_a467eebe3b6cb835+0x61/0x66 bpf_dispatcher_nop_func include/linux/bpf.h:1092 [inline] __bpf_prog_run include/linux/filter.h:601 [inline] bpf_prog_run include/linux/filter.h:608 [inline] bpf_test_run+0x381/0x9d0 net/bpf/test_run.c:402 bpf_prog_test_run_skb+0xb60/0x1e10 net/bpf/test_run.c:1205 bpf_prog_test_run kernel/bpf/syscall.c:3631 [inline] __sys_bpf+0x1598/0x5100 kernel/bpf/syscall.c:4984 __do_sys_bpf kernel/bpf/syscall.c:5070 [inline] __se_sys_bpf kernel/bpf/syscall.c:5068 [inline] __x64_sys_bpf+0x79/0xc0 kernel/bpf/syscall.c:5068 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:0x7f037268c0f9 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:00007f037340a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f03727abf80 RCX: 00007f037268c0f9 RDX: 0000000000000028 RSI: 0000000020000080 RDI: 000000000000000a RBP: 00007f03726e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe567a56af R14: 00007f037340a300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__skb_unlink include/linux/skbuff.h:2328 [inline] RIP: 0010:__skb_dequeue include/linux/skbuff.h:2344 [inline] RIP: 0010:process_backlog+0x25b/0x6d0 net/core/dev.c:5925 Code: 42 80 3c 20 00 0f 85 71 03 00 00 48 8d 7a 08 4c 8b 7d 08 48 c7 45 00 00 00 00 00 48 89 f9 48 c7 45 08 00 00 00 00 48 c1 e9 03 <42> 80 3c 21 00 0f 85 33 03 00 00 4c 89 f9 4c 89 7a 08 48 c1 e9 03 RSP: 0018:ffffc900001e0d90 EFLAGS: 00010202 RAX: 1ffff11010bac801 RBX: ffff8880b993da10 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8813a03d RDI: 0000000000000008 RBP: ffff888085d64000 R08: 0000000000000004 R09: 0000000000000003 R10: 0000000000000040 R11: 0000000000094001 R12: dffffc0000000000 R13: 0000000000000003 R14: 0000000000000040 R15: ffff8880b993d850 FS: 00007f037340a700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f87a3ba8000 CR3: 000000003f265000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) 5: 0f 85 71 03 00 00 jne 0x37c b: 48 8d 7a 08 lea 0x8(%rdx),%rdi f: 4c 8b 7d 08 mov 0x8(%rbp),%r15 13: 48 c7 45 00 00 00 00 movq $0x0,0x0(%rbp) 1a: 00 1b: 48 89 f9 mov %rdi,%rcx 1e: 48 c7 45 08 00 00 00 movq $0x0,0x8(%rbp) 25: 00 26: 48 c1 e9 03 shr $0x3,%rcx * 2a: 42 80 3c 21 00 cmpb $0x0,(%rcx,%r12,1) <-- trapping instruction 2f: 0f 85 33 03 00 00 jne 0x368 35: 4c 89 f9 mov %r15,%rcx 38: 4c 89 7a 08 mov %r15,0x8(%rdx) 3c: 48 c1 e9 03 shr $0x3,%rcx