------------[ cut here ]------------
WARNING: CPU: 0 PID: 11721 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 0 PID: 11721 Comm: syz.0.1501 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Code: 24 45 31 f6 31 ff 89 de e8 7d 90 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 00 8d 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:ffffc90000007a10 EFLAGS: 00010246
RAX: ffffffff81a0a910 RBX: 0000000000000008 RCX: ffff8880210f8000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff8f0eb008 R09: ffffffff8f0eb018
R10: ffffffff8f0eb010 R11: ffffffff8f0eb003 R12: ffff8880210f9788
R13: dffffc0000000000 R14: ffffc90000007a78 R15: 0000000000000000
FS: 00007fdf6fcea6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000005ed13000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000200000000300 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_user kernel/trace/bpf_trace.c:166 [inline]
bpf_probe_read_user+0x26/0x70 kernel/trace/bpf_trace.c:163
bpf_prog_f6c3d2100ad96f09+0x3d/0x6d0
bpf_dispatcher_nop_func include/linux/bpf.h:888 [inline]
__bpf_prog_run include/linux/filter.h:621 [inline]
bpf_prog_run include/linux/filter.h:635 [inline]
bpf_prog_run_pin_on_cpu include/linux/filter.h:652 [inline]
bpf_prog_run_clear_cb+0x108/0x1a0 include/linux/filter.h:806
run_filter+0x12a/0x220 net/packet/af_packet.c:2101
packet_rcv+0x388/0x1210 net/packet/af_packet.c:2174
__netif_receive_skb_one_core net/core/dev.c:5551 [inline]
__netif_receive_skb+0xcc/0x290 net/core/dev.c:5665
process_backlog+0x370/0x790 net/core/dev.c:6542
__napi_poll+0xc0/0x430 net/core/dev.c:7101
napi_poll net/core/dev.c:7168 [inline]
net_rx_action+0x4d4/0xa10 net/core/dev.c:7258
handle_softirqs+0x339/0x830 kernel/softirq.c:576
do_softirq+0x142/0x210 kernel/softirq.c:477
__local_bh_enable_ip+0x180/0x1c0 kernel/softirq.c:401
tun_rx_batched+0x600/0x760 drivers/net/tun.c:-1
tun_get_user+0x2517/0x3a70 drivers/net/tun.c:1989
tun_chr_write_iter+0x112/0x1e0 drivers/net/tun.c:2019
call_write_iter include/linux/fs.h:2173 [inline]
new_sync_write fs/read_write.c:507 [inline]
vfs_write+0x745/0xd60 fs/read_write.c:594
ksys_write+0x152/0x260 fs/read_write.c:647
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:0x7fdf71a90e59
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:00007fdf6fcea028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fdf71d09fa0 RCX: 00007fdf71a90e59
RDX: 000000000000cfa4 RSI: 00002000000006c0 RDI: 00000000000000c8
RBP: 00007fdf71b26d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fdf71d0a038 R14: 00007fdf71d09fa0 R15: 00007fffee98c778