BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 10ddd2067 P4D 10ddd2067 PUD 10ddd3067 PMD 0 Oops: 0002 [#1] PREEMPT SMP CPU: 0 PID: 8369 Comm: syz-executor.0 Not tainted 5.9.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:xp_set_fq+0x0/0x10 net/xdp/xsk_buff_pool.c:86 Code: cb 1e fe 48 85 c0 48 89 43 60 74 06 48 89 d8 5b 5d c3 48 89 df 31 db e8 be fe ff ff 48 89 d8 5b 5d c3 0f 1f 84 00 00 00 00 00 <48> 89 37 c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 41 57 41 56 41 55 RSP: 0018:ffffc9000281fe90 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000000000 RDX: ffff888000000000 RSI: ffff88810e2fb880 RDI: 0000000000000000 RBP: ffffc9000281fee8 R08: 0000000000100000 R09: 0000000000000001 R10: 0000000000000001 R11: 51feefc827ddeceb R12: ffff88810dc2acc0 R13: ffff88810e351000 R14: ffff88810e3514f0 R15: 0000000000000000 FS: 00007f60c6817700(0000) GS:ffff88812c000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000010ddd1000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xsk_setsockopt+0x2c6/0x340 net/xdp/xsk.c:856 __sys_setsockopt+0xdc/0x1e0 net/socket.c:2132 __do_sys_setsockopt net/socket.c:2143 [inline] __se_sys_setsockopt net/socket.c:2140 [inline] __x64_sys_setsockopt+0x1b/0x20 net/socket.c:2140 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e179 Code: 3d b2 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 0b b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f60c6816c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000002ebc0 RCX: 000000000045e179 RDX: 0000000000000005 RSI: 000000000000011b RDI: 0000000000000005 RBP: 000000000118cf90 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000020000800 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffd192337df R14: 00007f60c68179c0 R15: 000000000118cf4c Modules linked in: CR2: 0000000000000000 ---[ end trace debf66389510b23b ]--- RIP: 0010:xp_set_fq+0x0/0x10 net/xdp/xsk_buff_pool.c:86 Code: cb 1e fe 48 85 c0 48 89 43 60 74 06 48 89 d8 5b 5d c3 48 89 df 31 db e8 be fe ff ff 48 89 d8 5b 5d c3 0f 1f 84 00 00 00 00 00 <48> 89 37 c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 41 57 41 56 41 55 RSP: 0018:ffffc9000281fe90 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000000000 RDX: ffff888000000000 RSI: ffff88810e2fb880 RDI: 0000000000000000 RBP: ffffc9000281fee8 R08: 0000000000100000 R09: 0000000000000001 R10: 0000000000000001 R11: 51feefc827ddeceb R12: ffff88810dc2acc0 R13: ffff88810e351000 R14: ffff88810e3514f0 R15: 0000000000000000 FS: 00007f60c6817700(0000) GS:ffff88812c100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555c280ae668 CR3: 000000010ddd1000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400