kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 9679 Comm: syz-executor.4 Not tainted 5.3.0-rc7+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__write_once_size include/linux/compiler.h:226 [inline] RIP: 0010:__hlist_del include/linux/list.h:762 [inline] RIP: 0010:hlist_del_rcu include/linux/rculist.h:455 [inline] RIP: 0010:__dev_map_hash_update_elem kernel/bpf/devmap.c:668 [inline] RIP: 0010:dev_map_hash_update_elem+0x3fd/0x790 kernel/bpf/devmap.c:691 Code: 00 fc ff df 48 89 f9 48 c1 e9 03 80 3c 11 00 0f 85 46 03 00 00 48 89 c6 48 8b 53 08 48 b9 00 00 00 00 00 fc ff df 48 c1 ee 03 <80> 3c 0e 00 0f 85 35 03 00 00 48 85 d2 48 89 10 48 89 45 a8 48 89 RSP: 0018:ffff888079247c20 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff8880a1a49300 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880a1a49308 RBP: ffff888079247c78 R08: 0000000000000004 R09: ffffed100f248f71 R10: ffffed100f248f70 R11: 0000000000000003 R12: ffff88808dcef500 R13: ffff888093fac480 R14: 0000000000000000 R15: ffff88808dcef628 FS: 00007f9cad35c700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000fabe80 CR3: 000000009ce3d000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: map_update_elem+0xc82/0x10b0 kernel/bpf/syscall.c:966 __do_sys_bpf+0x8b5/0x3350 kernel/bpf/syscall.c:2854 __se_sys_bpf kernel/bpf/syscall.c:2825 [inline] __x64_sys_bpf+0x73/0xb0 kernel/bpf/syscall.c:2825 do_syscall_64+0xfd/0x6a0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459879 Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f9cad35bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459879 RDX: 0000000000000020 RSI: 0000000020000040 RDI: 0000000000000002 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9cad35c6d4 R13: 00000000004bfc86 R14: 00000000004d1960 R15: 00000000ffffffff Modules linked in: ---[ end trace 0b5dcc421670e688 ]--- RIP: 0010:__write_once_size include/linux/compiler.h:226 [inline] RIP: 0010:__hlist_del include/linux/list.h:762 [inline] RIP: 0010:hlist_del_rcu include/linux/rculist.h:455 [inline] RIP: 0010:__dev_map_hash_update_elem kernel/bpf/devmap.c:668 [inline] RIP: 0010:dev_map_hash_update_elem+0x3fd/0x790 kernel/bpf/devmap.c:691 Code: 00 fc ff df 48 89 f9 48 c1 e9 03 80 3c 11 00 0f 85 46 03 00 00 48 89 c6 48 8b 53 08 48 b9 00 00 00 00 00 fc ff df 48 c1 ee 03 <80> 3c 0e 00 0f 85 35 03 00 00 48 85 d2 48 89 10 48 89 45 a8 48 89 RSP: 0018:ffff888079247c20 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff8880a1a49300 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880a1a49308 RBP: ffff888079247c78 R08: 0000000000000004 R09: ffffed100f248f71 R10: ffffed100f248f70 R11: 0000000000000003 R12: ffff88808dcef500 R13: ffff888093fac480 R14: 0000000000000000 R15: ffff88808dcef628 FS: 00007f9cad35c700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000fabe80 CR3: 000000009ce3d000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400