BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 9f6df067 P4D 9f6df067 PUD a82c8067 PMD 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8117 Comm: syz-executor.2 Not tainted 5.8.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:bpf_prog_e48ebe87b99394c4+0x1f/0xd44 Code: cc cc cc cc cc cc cc cc cc cc cc 0f 1f 44 00 00 55 48 89 e5 48 81 ec 00 00 00 00 53 41 55 41 56 41 57 6a 00 31 c0 48 8b 47 28 <48> 8b 40 00 8b 80 00 01 00 00 5b 41 5f 41 5e 41 5d 5b c9 c3 cc cc RSP: 0018:ffffc900043b7ad8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffc90000e6e030 RCX: ffff888089ca8100 RDX: 0000000000000000 RSI: ffffc90000e6e038 RDI: ffffc900043b7c18 RBP: ffffc900043b7b00 R08: ffffffff81655d3b R09: fffffbfff131a9a6 R10: fffffbfff131a9a6 R11: 0000000000000000 R12: ffffffef995ebcbd R13: dffffc0000000000 R14: 0000000000008000 R15: 0000000000000001 FS: 00007fdde9cd0700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000009340e000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bpf_prog_run_xdp include/linux/filter.h:734 [inline] bpf_test_run+0x2ab/0x8e0 net/bpf/test_run.c:47 bpf_prog_test_run_xdp+0x39d/0x580 net/bpf/test_run.c:524 bpf_prog_test_run kernel/bpf/syscall.c:2983 [inline] __do_sys_bpf+0x3ee9/0x10de0 kernel/bpf/syscall.c:4135 do_syscall_64+0x73/0xe0 arch/x86/entry/common.c:384 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45cc79 Code: 2d b6 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 fb b5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fdde9ccfc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 0000000000001740 RCX: 000000000045cc79 RDX: 0000000000000028 RSI: 0000000020000080 RDI: 000000000000000a RBP: 000000000078bfe0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bfac R13: 00007ffcea70951f R14: 00007fdde9cd09c0 R15: 000000000078bfac Modules linked in: CR2: 0000000000000000 ---[ end trace 6d26514eb4ccbad9 ]--- RIP: 0010:bpf_prog_e48ebe87b99394c4+0x1f/0xd44 Code: cc cc cc cc cc cc cc cc cc cc cc 0f 1f 44 00 00 55 48 89 e5 48 81 ec 00 00 00 00 53 41 55 41 56 41 57 6a 00 31 c0 48 8b 47 28 <48> 8b 40 00 8b 80 00 01 00 00 5b 41 5f 41 5e 41 5d 5b c9 c3 cc cc RSP: 0018:ffffc900043b7ad8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffc90000e6e030 RCX: ffff888089ca8100 RDX: 0000000000000000 RSI: ffffc90000e6e038 RDI: ffffc900043b7c18 RBP: ffffc900043b7b00 R08: ffffffff81655d3b R09: fffffbfff131a9a6 R10: fffffbfff131a9a6 R11: 0000000000000000 R12: ffffffef995ebcbd R13: dffffc0000000000 R14: 0000000000008000 R15: 0000000000000001 FS: 00007fdde9cd0700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000009340e000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400