BUG: unable to handle page fault for address: ffffffffff600000
#PF: supervisor read access in kernel mode
#PF: error_code(0x0001) - permissions violation
PGD 6812067 P4D 6812067 PUD 6814067 PMD 6816067 PTE 8000000006809165
Oops: 0001 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 82 Comm: syslogd Not tainted 5.15.137-syzkaller-01792-g61cfd264993d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
RIP: 0010:copy_from_kernel_nofault+0x86/0x2e0 mm/maccess.c:37
Code: 48 89 55 d0 0f 85 ea 01 00 00 ff 02 bf 07 00 00 00 4c 89 ee e8 3b ac d6 ff 49 83 fd 07 76 5c 4d 89 fe 49 83 c5 f8 49 83 c7 08 <49> 8b 1c 24 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80
RSP: 0018:ffffc900001cf9f0 EFLAGS: 00010292
RAX: 0000000080000103 RBX: 0000000000000008 RCX: ffff88810c31bb40
RDX: ffff88810c31c6d0 RSI: 0000000000000008 RDI: 0000000000000007
RBP: ffffc900001cfa28 R08: ffffffff81994f35 R09: fffff940008f4207
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffffff600000
R13: 0000000000000000 R14: ffffc900001cfa68 R15: ffffc900001cfa70
FS: 00007f7ed0e61380(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffff600000 CR3: 000000010b950000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
bpf_probe_read_kernel_common kernel/trace/bpf_trace.c:220 [inline]
____bpf_probe_read_kernel kernel/trace/bpf_trace.c:229 [inline]
bpf_probe_read_kernel+0x2a/0x70 kernel/trace/bpf_trace.c:226
bpf_prog_bd8b22826c103b08+0x3a/0x940
bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline]
__bpf_prog_run include/linux/filter.h:625 [inline]
bpf_prog_run include/linux/filter.h:632 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:1883 [inline]
bpf_trace_run2+0xec/0x210 kernel/trace/bpf_trace.c:1920
__bpf_trace_kfree+0x6f/0x90 include/trace/events/kmem.h:118
trace_kfree include/trace/events/kmem.h:118 [inline]
kfree+0x1f3/0x220 mm/slub.c:4569
skb_free_head net/core/skbuff.c:656 [inline]
skb_release_data+0x8a9/0xa80 net/core/skbuff.c:678
skb_release_all net/core/skbuff.c:743 [inline]
__kfree_skb+0x50/0x70 net/core/skbuff.c:757
sk_wmem_free_skb include/net/sock.h:1634 [inline]
tcp_rtx_queue_unlink_and_free+0x203/0x720 include/net/tcp.h:1907
tcp_clean_rtx_queue net/ipv4/tcp_input.c:3342 [inline]
tcp_ack+0x2351/0x6770 net/ipv4/tcp_input.c:3895
tcp_rcv_established+0xcd6/0x1ac0 net/ipv4/tcp_input.c:5899
tcp_v4_do_rcv+0x3d7/0xa00 net/ipv4/tcp_ipv4.c:1722
tcp_v4_rcv+0x23dd/0x2a70 net/ipv4/tcp_ipv4.c:2125
ip_protocol_deliver_rcu+0x32f/0x710 net/ipv4/ip_input.c:204
ip_local_deliver_finish net/ipv4/ip_input.c:231 [inline]
NF_HOOK include/linux/netfilter.h:305 [inline]
ip_local_deliver+0x2c6/0x590 net/ipv4/ip_input.c:252
dst_input include/net/dst.h:454 [inline]
ip_sublist_rcv_finish net/ipv4/ip_input.c:577 [inline]
ip_list_rcv_finish net/ipv4/ip_input.c:628 [inline]
ip_sublist_rcv+0x7e2/0x980 net/ipv4/ip_input.c:636
ip_list_rcv+0x422/0x470 net/ipv4/ip_input.c:671
__netif_receive_skb_list_ptype net/core/dev.c:5532 [inline]
__netif_receive_skb_list_core+0x6b1/0x890 net/core/dev.c:5580
__netif_receive_skb_list net/core/dev.c:5632 [inline]
netif_receive_skb_list_internal+0x967/0xcc0 net/core/dev.c:5723
gro_normal_list net/core/dev.c:5877 [inline]
napi_complete_done+0x344/0x770 net/core/dev.c:6615
virtqueue_napi_complete drivers/net/virtio_net.c:357 [inline]
virtnet_poll+0xbee/0x1260 drivers/net/virtio_net.c:1592
__napi_poll+0xc4/0x5a0 net/core/dev.c:7039
napi_poll net/core/dev.c:7106 [inline]
net_rx_action+0x47d/0xc50 net/core/dev.c:7193
__do_softirq+0x26d/0x5bf kernel/softirq.c:565
invoke_softirq kernel/softirq.c:425 [inline]
__irq_exit_rcu+0x50/0xf0 kernel/softirq.c:648
irq_exit_rcu+0x9/0x10 kernel/softirq.c:660
common_interrupt+0xb4/0xd0 arch/x86/kernel/irq.c:240
asm_common_interrupt+0x27/0x40 arch/x86/include/asm/idtentry.h:629
RIP: 0010:bpf_prog_bd8b22826c103b08+0x0/0x940
Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 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 48 81 ec 08 00 00 00 31 c0 48 bf
RSP: 0018:ffffc900009b76f8 EFLAGS: 00010246
RAX: 1ffff9200000d206 RBX: dffffc0000000000 RCX: ffff88810c31bb40
RDX: 0000000000000000 RSI: ffffc90000069048 RDI: ffffc900009b7740
RBP: ffffc900009b77b8 R08: ffffffff83dd5475 R09: ffffed102175517b
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc900009b7740
R13: ffffffff83dd5489 R14: ffffc90000069048 R15: ffffc90000069030
__bpf_trace_kfree+0x6f/0x90 include/trace/events/kmem.h:118
trace_kfree include/trace/events/kmem.h:118 [inline]
kfree+0x1f3/0x220 mm/slub.c:4569
skb_free_head net/core/skbuff.c:656 [inline]
skb_release_data+0x8a9/0xa80 net/core/skbuff.c:678
skb_release_all net/core/skbuff.c:743 [inline]
__kfree_skb net/core/skbuff.c:757 [inline]
consume_skb+0xac/0x250 net/core/skbuff.c:930
skb_free_datagram+0x28/0xe0 net/core/datagram.c:325
__unix_dgram_recvmsg+0xcb1/0x1260 net/unix/af_unix.c:2396
unix_dgram_recvmsg+0xc4/0xe0 net/unix/af_unix.c:2414
sock_recvmsg_nosec net/socket.c:964 [inline]
sock_recvmsg net/socket.c:982 [inline]
sock_read_iter+0x353/0x480 net/socket.c:1055
call_read_iter include/linux/fs.h:2153 [inline]
new_sync_read fs/read_write.c:404 [inline]
vfs_read+0xa7e/0xd40 fs/read_write.c:485
ksys_read+0x199/0x2c0 fs/read_write.c:623
__do_sys_read fs/read_write.c:633 [inline]
__se_sys_read fs/read_write.c:631 [inline]
__x64_sys_read+0x7b/0x90 fs/read_write.c:631
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f7ed0fb5b6a
Code: 00 3d 00 00 41 00 75 0d 50 48 8d 3d 2d 08 0a 00 e8 ea 7d 01 00 31 c0 e9 07 ff ff ff 64 8b 04 25 18 00 00 00 85 c0 75 1b 0f 05 <48> 3d 00 f0 ff ff 76 6c 48 8b 15 8f a2 0d 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffd86b97c18 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f7ed0fb5b6a
RDX: 00000000000000ff RSI: 000055f8f7f25300 RDI: 0000000000000000
RBP: 000055f8f7f252c0 R08: 0000000000000001 R09: 0000000000000000
R10: 00007f7ed11543a3 R11: 0000000000000246 R12: 000055f8f7f2536c
R13: 000055f8f7f25300 R14: 0000000000000000 R15: 00007f7ed1192a80
Modules linked in:
CR2: ffffffffff600000
---[ end trace 500a2dc909eeee97 ]---
RIP: 0010:copy_from_kernel_nofault+0x86/0x2e0 mm/maccess.c:37
Code: 48 89 55 d0 0f 85 ea 01 00 00 ff 02 bf 07 00 00 00 4c 89 ee e8 3b ac d6 ff 49 83 fd 07 76 5c 4d 89 fe 49 83 c5 f8 49 83 c7 08 <49> 8b 1c 24 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80
RSP: 0018:ffffc900001cf9f0 EFLAGS: 00010292
RAX: 0000000080000103 RBX: 0000000000000008 RCX: ffff88810c31bb40
RDX: ffff88810c31c6d0 RSI: 0000000000000008 RDI: 0000000000000007
RBP: ffffc900001cfa28 R08: ffffffff81994f35 R09: fffff940008f4207
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffffff600000
R13: 0000000000000000 R14: ffffc900001cfa68 R15: ffffc900001cfa70
FS: 00007f7ed0e61380(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffff600000 CR3: 000000010b950000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 48 89 55 d0 mov %rdx,-0x30(%rbp)
4: 0f 85 ea 01 00 00 jne 0x1f4
a: ff 02 incl (%rdx)
c: bf 07 00 00 00 mov $0x7,%edi
11: 4c 89 ee mov %r13,%rsi
14: e8 3b ac d6 ff call 0xffd6ac54
19: 49 83 fd 07 cmp $0x7,%r13
1d: 76 5c jbe 0x7b
1f: 4d 89 fe mov %r15,%r14
22: 49 83 c5 f8 add $0xfffffffffffffff8,%r13
26: 49 83 c7 08 add $0x8,%r15
* 2a: 49 8b 1c 24 mov (%r12),%rbx <-- trapping instruction
2e: 4c 89 f0 mov %r14,%rax
31: 48 c1 e8 03 shr $0x3,%rax
35: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
3c: fc ff df
3f: 80 .byte 0x80