nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based firewall rule not found. Use the iptables CT target to attach helpers instead. BUG: kernel NULL pointer dereference, address: 0000000000000004 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 217fe067 P4D 217fe067 PUD 7a76d067 PMD 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4098 Comm: syz-executor.0 Not tainted 5.19.0-rc2-syzkaller-00518-g7c8121af1bfe-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 RIP: 0010:bpf_prog_4f2deaf9c1076e9d+0x15/0x1e Code: 00 cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 0f 1f 44 00 00 66 90 55 48 89 e5 41 b8 20 00 00 00 48 8b 47 18 <8b> 40 04 85 c0 7c 00 c9 c3 cc cc cc cc cc cc cc cc cc cc 40 03 00 RSP: 0018:ffffc9000325f990 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffc900015d4000 RCX: 0000000000000000 RDX: 1ffff920002ba806 RSI: ffffc900015d4048 RDI: ffff8880769865f0 RBP: ffffc9000325f990 R08: 0000000000000020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888079df6000 R13: 0000000000000000 R14: ffff888076986648 R15: 0000000000000000 FS: 00007f1ca0f42700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000004 CR3: 000000001d116000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bpf_dispatcher_nop_func include/linux/bpf.h:890 [inline] __bpf_prog_run include/linux/filter.h:594 [inline] bpf_prog_run include/linux/filter.h:601 [inline] bpf_prog_run_pin_on_cpu include/linux/filter.h:618 [inline] sk_psock_verdict_recv+0x22c/0x720 net/core/skmsg.c:1188 tcp_read_skb+0x276/0x540 net/ipv4/tcp.c:1753 sk_psock_verdict_data_ready+0x9d/0xc0 net/core/skmsg.c:1204 tcp_data_ready+0x106/0x520 net/ipv4/tcp_input.c:4985 tcp_data_queue+0x1bb2/0x4c60 net/ipv4/tcp_input.c:5059 tcp_rcv_state_process+0x1798/0x4eb0 net/ipv4/tcp_input.c:6659 tcp_v4_do_rcv+0x339/0x9b0 net/ipv4/tcp_ipv4.c:1682 sk_backlog_rcv include/net/sock.h:1047 [inline] __release_sock+0x134/0x3b0 net/core/sock.c:2850 release_sock+0x54/0x1b0 net/core/sock.c:3405 inet_shutdown+0x1e0/0x430 net/ipv4/af_inet.c:909 __sys_shutdown_sock net/socket.c:2328 [inline] __sys_shutdown_sock net/socket.c:2322 [inline] __sys_shutdown+0xf1/0x1b0 net/socket.c:2340 __do_sys_shutdown net/socket.c:2348 [inline] __se_sys_shutdown net/socket.c:2346 [inline] __x64_sys_shutdown+0x50/0x70 net/socket.c:2346 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f1c9fe89109 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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:00007f1ca0f42168 EFLAGS: 00000246 ORIG_RAX: 0000000000000030 RAX: ffffffffffffffda RBX: 00007f1c9ff9bf60 RCX: 00007f1c9fe89109 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000003 RBP: 00007f1c9fee305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdfc42169f R14: 00007f1ca0f42300 R15: 0000000000022000 Modules linked in: CR2: 0000000000000004 ---[ end trace 0000000000000000 ]--- RIP: 0010:bpf_prog_4f2deaf9c1076e9d+0x15/0x1e Code: 00 cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 0f 1f 44 00 00 66 90 55 48 89 e5 41 b8 20 00 00 00 48 8b 47 18 <8b> 40 04 85 c0 7c 00 c9 c3 cc cc cc cc cc cc cc cc cc cc 40 03 00 RSP: 0018:ffffc9000325f990 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffc900015d4000 RCX: 0000000000000000 RDX: 1ffff920002ba806 RSI: ffffc900015d4048 RDI: ffff8880769865f0 RBP: ffffc9000325f990 R08: 0000000000000020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888079df6000 R13: 0000000000000000 R14: ffff888076986648 R15: 0000000000000000 FS: 00007f1ca0f42700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000004 CR3: 000000001d116000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 cc add %cl,%ah 2: cc int3 3: cc int3 4: cc int3 5: cc int3 6: cc int3 7: cc int3 8: cc int3 9: cc int3 a: cc int3 b: cc int3 c: cc int3 d: cc int3 e: cc int3 f: cc int3 10: cc int3 11: cc int3 12: cc int3 13: cc int3 14: cc int3 15: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 1a: 66 90 xchg %ax,%ax 1c: 55 push %rbp 1d: 48 89 e5 mov %rsp,%rbp 20: 41 b8 20 00 00 00 mov $0x20,%r8d 26: 48 8b 47 18 mov 0x18(%rdi),%rax * 2a: 8b 40 04 mov 0x4(%rax),%eax <-- trapping instruction 2d: 85 c0 test %eax,%eax 2f: 7c 00 jl 0x31 31: c9 leaveq 32: c3 retq 33: cc int3 34: cc int3 35: cc int3 36: cc int3 37: cc int3 38: cc int3 39: cc int3 3a: cc int3 3b: cc int3 3c: cc int3 3d: 40 03 00 rex add (%rax),%eax