------------[ cut here ]------------ WARNING: CPU: 1 PID: 4042 at include/linux/thread_info.h:230 check_copy_size include/linux/thread_info.h:230 [inline] WARNING: CPU: 1 PID: 4042 at include/linux/thread_info.h:230 copy_to_user include/linux/uaccess.h:199 [inline] WARNING: CPU: 1 PID: 4042 at include/linux/thread_info.h:230 bpf_test_finish.isra.0+0x3c5/0x5b0 net/bpf/test_run.c:170 Modules linked in: CPU: 1 PID: 4042 Comm: syz-executor183 Not tainted 5.16.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_copy_size include/linux/thread_info.h:230 [inline] RIP: 0010:copy_to_user include/linux/uaccess.h:199 [inline] RIP: 0010:bpf_test_finish.isra.0+0x3c5/0x5b0 net/bpf/test_run.c:170 Code: f2 7c 09 40 84 f6 0f 85 84 01 00 00 8b 55 3c 49 83 c5 10 49 63 ec 48 03 2c 24 48 01 d3 49 81 fe ff ff ff 7f 0f 86 d2 fe ff ff <0f> 0b 48 8d 7c 24 70 e8 6f f8 ff ff 44 8b 44 24 70 48 b8 00 00 00 RSP: 0018:ffffc90001c7fa18 EFLAGS: 00010292 RAX: 0000000000000007 RBX: 0000000000000000 RCX: 1ffff9200038ff4b RDX: 0000000000000000 RSI: 0000000020000240 RDI: ffff888076106ee4 RBP: fffffffffffffea7 R08: ffff888076106ec0 R09: 0000000000001000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888076106100 R13: 00000000000000e7 R14: 0000000090f2eed5 R15: 00000000fffffea7 FS: 000055555645a300(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002000d000 CR3: 000000007162f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bpf_prog_test_run_xdp+0x88b/0x1030 net/bpf/test_run.c:1002 bpf_prog_test_run kernel/bpf/syscall.c:3357 [inline] __sys_bpf+0x1054/0x4410 kernel/bpf/syscall.c:4659 __do_sys_bpf kernel/bpf/syscall.c:4745 [inline] __se_sys_bpf kernel/bpf/syscall.c:4743 [inline] __x64_sys_bpf+0x70/0xb0 kernel/bpf/syscall.c:4743 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+0x44/0xae RIP: 0033:0x7f4e5aca1d39 Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc89583a78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4e5aca1d39 RDX: 0000000000000048 RSI: 0000000020000340 RDI: 000000000000000a RBP: 00007f4e5ac65ee0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4e5ac65f70 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000