WARNING: CPU: 0 PID: 10775 at include/linux/thread_info.h:230 check_copy_size include/linux/thread_info.h:230 [inline] WARNING: CPU: 0 PID: 10775 at include/linux/thread_info.h:230 copy_to_user include/linux/uaccess.h:199 [inline] WARNING: CPU: 0 PID: 10775 at include/linux/thread_info.h:230 bpf_test_finish.isra.0+0x4b2/0x680 net/bpf/test_run.c:171 Modules linked in: CPU: 0 PID: 10775 Comm: syz-executor.2 Not tainted 5.16.0-syzkaller-11655-ge5313968c41b #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+0x4b2/0x680 net/bpf/test_run.c:171 Code: ff ff ff 7f 4c 63 e3 49 83 c7 10 4c 03 64 24 08 48 01 c5 e8 e0 89 0d fa 49 81 fd ff ff ff 7f 0f 86 85 fe ff ff e8 3e 87 0d fa <0f> 0b e8 37 87 0d fa 48 8d 7c 24 68 e8 9d f5 ff ff 44 8b 44 24 68 RSP: 0018:ffffc9000b88fa18 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 00000000fffffea7 RCX: 0000000000000000 RDX: ffff8880545f1d00 RSI: ffffffff876aceb2 RDI: 0000000000000003 RBP: ffff88807b852100 R08: 000000007fffffff R09: 0000000000001000 R10: ffffffff876acb64 R11: 0000000000000000 R12: fffffffffffffea7 R13: ffff88807b852000 R14: 0000000000000000 R15: 00000000000000e7 FS: 00007fca536d3700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f825ed2be80 CR3: 0000000071116000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bpf_prog_test_run_xdp+0x9c2/0x11d0 net/bpf/test_run.c:1008 bpf_prog_test_run kernel/bpf/syscall.c:3356 [inline] __sys_bpf+0x1858/0x59a0 kernel/bpf/syscall.c:4658 __do_sys_bpf kernel/bpf/syscall.c:4744 [inline] __se_sys_bpf kernel/bpf/syscall.c:4742 [inline] __x64_sys_bpf+0x75/0xb0 kernel/bpf/syscall.c:4742 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:0x7fca54d7f049 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:00007fca536d3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fca54e92030 RCX: 00007fca54d7f049 RDX: 0000000000000020 RSI: 0000000020000340 RDI: 000000000000000a RBP: 00007fca54dd908d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd8adb9c8f R14: 00007fca536d3300 R15: 0000000000022000