------------[ cut here ]------------
WARNING: CPU: 0 PID: 5127 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 0 PID: 5127 Comm: syz.4.266 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Code: 24 45 31 f6 31 ff 89 de e8 cd 92 d8 ff 85 db 48 c7 c0 f2 ff ff ff 49 0f 44 c6 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 50 8f d8 ff <0f> 0b e9 1c ff ff ff 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c ea fe
RSP: 0018:ffffc90000007e30 EFLAGS: 00010006
RAX: ffffffff81a07050 RBX: 0000000000000000 RCX: ffff888022e58000
RDX: 0000000000010000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffff888022e58007 R09: 1ffff110045cb000
R10: dffffc0000000000 R11: ffffed10045cb001 R12: ffff888022e59788
R13: 00007ffffffff000 R14: ffffc90000007ea8 R15: 0000000000000000
FS: 00007f7048ba46c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32523ffc CR3: 0000000024ce7000 CR4: 00000000003506f0
DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
bpf_probe_read_user_common kernel/trace/bpf_trace.c:157 [inline]
____bpf_probe_read_compat kernel/trace/bpf_trace.c:281 [inline]
bpf_probe_read_compat+0xdd/0x170 kernel/trace/bpf_trace.c:277
bpf_prog_03eebc38237b138e+0x34/0xd38
bpf_dispatcher_nop_func include/linux/bpf.h:889 [inline]
__bpf_prog_run include/linux/filter.h:628 [inline]
bpf_prog_run include/linux/filter.h:635 [inline]
__bpf_prog_test_run_raw_tp+0x1cd/0x3f0 net/bpf/test_run.c:335
flush_smp_call_function_queue+0x2a9/0x760 kernel/smp.c:628
__sysvec_call_function_single+0x98/0x240 arch/x86/kernel/smp.c:248
instr_sysvec_call_function_single arch/x86/kernel/smp.c:243 [inline]
sysvec_call_function_single+0x98/0xc0 arch/x86/kernel/smp.c:243
asm_sysvec_call_function_single+0x16/0x20 arch/x86/include/asm/idtentry.h:684
RIP: 0010:lock_release+0x5a4/0x8a0 kernel/locking/lockdep.c:5647
Code: 80 00 00 00 f7 84 24 80 00 00 00 00 02 00 00 43 c6 44 2c 04 f8 75 6f 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 2c 00 00 00 00 43 c7 44 2c 08 00 00 00 00 65 48 8b 04 25
RSP: 0018:ffffc900031df140 EFLAGS: 00000206
RAX: 0000000000000001 RBX: abf4cb044e80577d RCX: 3a4e93d8c5202a00
RDX: 0000000000000003 RSI: ffffffff8a2b3e80 RDI: ffffffff8a7a42c0
RBP: ffffc900031df248 R08: ffffffff8d8b0d6f R09: 1ffffffff1b161ad
R10: dffffc0000000000 R11: fffffbfff1b161ae R12: 1ffff9200063be34
R13: dffffc0000000000 R14: ffff888022e58ae0 R15: 0000000000000246
rcu_read_unlock include/linux/rcupdate.h:773 [inline]
tcp_metrics_nl_dump+0x5d6/0x7b0 net/ipv4/tcp_metrics.c:787
genl_lock_dumpit+0x6a/0x90 net/netlink/genetlink.c:615
netlink_dump+0x6d2/0xdd0 net/netlink/af_netlink.c:2291
__netlink_dump_start+0x4e4/0x720 net/netlink/af_netlink.c:2398
genl_family_rcv_msg_dumpit net/netlink/genetlink.c:678 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:772 [inline]
genl_rcv_msg+0xa2e/0xfa0 net/netlink/genetlink.c:792
netlink_rcv_skb+0x1e9/0x430 net/netlink/af_netlink.c:2519
genl_rcv+0x24/0x40 net/netlink/genetlink.c:803
netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline]
netlink_unicast+0x78f/0x940 net/netlink/af_netlink.c:1340
netlink_sendmsg+0x8ba/0xbe0 net/netlink/af_netlink.c:1919
sock_sendmsg_nosec net/socket.c:706 [inline]
__sock_sendmsg net/socket.c:718 [inline]
____sys_sendmsg+0x5be/0x8f0 net/socket.c:2446
___sys_sendmsg+0x236/0x2e0 net/socket.c:2500
__sys_sendmsg net/socket.c:2529 [inline]
__do_sys_sendmsg net/socket.c:2538 [inline]
__se_sys_sendmsg+0x1b7/0x2a0 net/socket.c:2536
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f704a94c0d9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f7048ba4028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f704abd3fa0 RCX: 00007f704a94c0d9
RDX: 0000000004000010 RSI: 0000200000000000 RDI: 000000000000000b
RBP: 00007f704a9e3024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f704abd4038 R14: 00007f704abd3fa0 R15: 00007ffcfd4be4f8
----------------
Code disassembly (best guess):
0: 80 00 00 addb $0x0,(%rax)
3: 00 f7 add %dh,%bh
5: 84 24 80 test %ah,(%rax,%rax,4)
8: 00 00 add %al,(%rax)
a: 00 00 add %al,(%rax)
c: 02 00 add (%rax),%al
e: 00 43 c6 add %al,-0x3a(%rbx)
11: 44 2c 04 rex.R sub $0x4,%al
14: f8 clc
15: 75 6f jne 0x86
17: 41 f7 c7 00 02 00 00 test $0x200,%r15d
1e: 74 01 je 0x21
20: fb sti
21: 48 c7 44 24 60 0e 36 movq $0x45e0360e,0x60(%rsp)
28: e0 45
* 2a: 4b c7 04 2c 00 00 00 movq $0x0,(%r12,%r13,1) <-- trapping instruction
31: 00
32: 43 c7 44 2c 08 00 00 movl $0x0,0x8(%r12,%r13,1)
39: 00 00
3b: 65 gs
3c: 48 rex.W
3d: 8b .byte 0x8b
3e: 04 25 add $0x25,%al