general protection fault, probably for non-canonical address 0xdffffc000000003e: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x00000000000001f0-0x00000000000001f7]
CPU: 0 PID: 4282 Comm: syz-executor.1 Not tainted 5.16.0-rc8-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
RIP: 0010:dev_index_hash net/core/dev.c:222 [inline]
RIP: 0010:dev_get_by_index_rcu+0x28/0x140 net/core/dev.c:885
Code: 00 00 41 55 41 54 55 89 f5 53 48 89 fb e8 60 3c 4e fa 48 8d bb f0 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 fc 00 00 00 48 8b 93 f0 01 00 00 40 0f b6 c5 48
RSP: 0018:ffffc90000007720 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000100
RDX: 000000000000003e RSI: ffffffff872955d0 RDI: 00000000000001f0
RBP: 0000000000000003 R08: 0000000000000000 R09: ffffffff8ff76aaf
R10: ffffffff87367e1d R11: 0000000000000001 R12: ffff888065473100
R13: 0000000000000003 R14: 000000000000010e R15: ffffc9000052e000
FS: 0000000000000000(0000) GS:ffff88802ca00000(0063) knlGS:00000000568d9380
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000f6f9a6c1 CR3: 0000000063e6e000 CR4: 0000000000150ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
____bpf_clone_redirect net/core/filter.c:2410 [inline]
bpf_clone_redirect+0x91/0x420 net/core/filter.c:2401
bpf_prog_bebbfe2050753572+0x56/0x9cc
__bpf_prog_run include/linux/filter.h:626 [inline]
bpf_prog_run_xdp include/linux/filter.h:801 [inline]
veth_xdp_rcv_skb+0x64c/0x1b20 drivers/net/veth.c:775
veth_xdp_rcv+0x39b/0x9a0 drivers/net/veth.c:881
veth_poll+0x134/0x850 drivers/net/veth.c:917
__napi_poll+0xaf/0x440 net/core/dev.c:7023
napi_poll net/core/dev.c:7090 [inline]
net_rx_action+0x801/0xb40 net/core/dev.c:7177
__do_softirq+0x29b/0x9c2 kernel/softirq.c:558
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:637
irq_exit_rcu+0x5/0x20 kernel/softirq.c:649
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:__unwind_start+0x2/0x800 arch/x86/kernel/unwind_orc.c:639
Code: 44 24 20 e9 fc ed ff ff 48 89 4c 24 28 4c 89 44 24 20 e8 f1 49 8a 00 48 8b 4c 24 28 4c 8b 44 24 20 e9 08 ee ff ff 66 90 41 57 <49> 89 ff 41 56 41 55 4d 8d 6f 28 41 54 49 89 d4 ba 60 00 00 00 55
RSP: 0018:ffffc90001eef7b8 EFLAGS: 00000246
RAX: ffff888013c88000 RBX: ffffffff8165a5a0 RCX: ffffc90001eef850
RDX: 0000000000000000 RSI: ffff888013c88000 RDI: ffffc90001eef7c8
RBP: ffffc90001eef850 R08: 0000000000000058 R09: ffffed1008c4cba2
R10: ffffffff8134de7a R11: 000000000000003f R12: ffffc90001eef880
R13: 0000000000000000 R14: ffff888013c88000 R15: ffff888046265d10
unwind_start arch/x86/include/asm/unwind.h:64 [inline]
arch_stack_walk+0x5c/0xe0 arch/x86/kernel/stacktrace.c:24
stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122
kasan_save_stack+0x1e/0x50 mm/kasan/common.c:38
kasan_set_track+0x21/0x30 mm/kasan/common.c:46
kasan_set_free_info+0x20/0x30 mm/kasan/generic.c:370
____kasan_slab_free mm/kasan/common.c:366 [inline]
____kasan_slab_free mm/kasan/common.c:328 [inline]
__kasan_slab_free+0xff/0x130 mm/kasan/common.c:374
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:1723 [inline]
slab_free_freelist_hook+0x8b/0x1c0 mm/slub.c:1749
slab_free mm/slub.c:3513 [inline]
kmem_cache_free+0xbd/0x5d0 mm/slub.c:3530
jbd2_free_handle include/linux/jbd2.h:1608 [inline]
jbd2_journal_stop+0x656/0xf20 fs/jbd2/transaction.c:1937
__ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:127
ext4_symlink+0x894/0xd40 fs/ext4/namei.c:3365
vfs_symlink fs/namei.c:4248 [inline]
vfs_symlink+0x45d/0x6c0 fs/namei.c:4233
do_symlinkat+0x261/0x2e0 fs/namei.c:4277
__do_sys_symlink fs/namei.c:4299 [inline]
__se_sys_symlink fs/namei.c:4297 [inline]
__ia32_sys_symlink+0x74/0x90 fs/namei.c:4297
do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline]
__do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178
do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203
entry_SYSENTER_compat_after_hwframe+0x4d/0x5c
RIP: 0023:0xf6ec4549
Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000ffab72ec EFLAGS: 00000282 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00000000ffab73d4 RCX: 00000000f6f761f2
RDX: 00000000f6ffb000 RSI: 00000000ffab73d4 RDI: 00000000f6ffb000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace 1785d753b71c77bd ]---
RIP: 0010:dev_index_hash net/core/dev.c:222 [inline]
RIP: 0010:dev_get_by_index_rcu+0x28/0x140 net/core/dev.c:885
Code: 00 00 41 55 41 54 55 89 f5 53 48 89 fb e8 60 3c 4e fa 48 8d bb f0 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 fc 00 00 00 48 8b 93 f0 01 00 00 40 0f b6 c5 48
RSP: 0018:ffffc90000007720 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000100
RDX: 000000000000003e RSI: ffffffff872955d0 RDI: 00000000000001f0
RBP: 0000000000000003 R08: 0000000000000000 R09: ffffffff8ff76aaf
R10: ffffffff87367e1d R11: 0000000000000001 R12: ffff888065473100
R13: 0000000000000003 R14: 000000000000010e R15: ffffc9000052e000
FS: 0000000000000000(0000) GS:ffff88802ca00000(0063) knlGS:00000000568d9380
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000f6f9a6c1 CR3: 0000000063e6e000 CR4: 0000000000150ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 00 00 add %al,(%rax)
2: 41 55 push %r13
4: 41 54 push %r12
6: 55 push %rbp
7: 89 f5 mov %esi,%ebp
9: 53 push %rbx
a: 48 89 fb mov %rdi,%rbx
d: e8 60 3c 4e fa callq 0xfa4e3c72
12: 48 8d bb f0 01 00 00 lea 0x1f0(%rbx),%rdi
19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
20: fc ff df
23: 48 89 fa mov %rdi,%rdx
26: 48 c1 ea 03 shr $0x3,%rdx
* 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction
2e: 0f 85 fc 00 00 00 jne 0x130
34: 48 8b 93 f0 01 00 00 mov 0x1f0(%rbx),%rdx
3b: 40 0f b6 c5 movzbl %bpl,%eax
3f: 48 rex.W