------------[ cut here ]------------
WARNING: CPU: 1 PID: 5563 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 1 PID: 5563 Comm: syz.0.335 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Code: 24 45 31 f6 31 ff 89 de e8 8d f6 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 10 f3 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:ffffc90000dd09d8 EFLAGS: 00010246
RAX: ffffffff819ed900 RBX: 0000000000000008 RCX: ffff88802a043b80
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed1005408771
R10: ffffed1005408771 R11: 1ffff11005408770 R12: ffff88802a045308
R13: 00007ffffffff000 R14: ffffc90000dd0a48 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000062f2d000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
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_ee60aafa828f4cb7+0x35/0x90
bpf_dispatcher_nop_func include/linux/bpf.h:888 [inline]
__bpf_prog_run include/linux/filter.h:628 [inline]
bpf_prog_run include/linux/filter.h:635 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:1878 [inline]
bpf_trace_run2+0x15b/0x2d0 kernel/trace/bpf_trace.c:1915
__bpf_trace_kfree+0x6e/0x90 include/trace/events/kmem.h:118
trace_kfree include/trace/events/kmem.h:118 [inline]
kfree+0x25f/0x2a0 mm/slub.c:4554
deferred_put_nlk_sk+0x3f/0xe0 net/netlink/af_netlink.c:715
rcu_do_batch kernel/rcu/tree.c:2523 [inline]
rcu_core+0x962/0x15d0 kernel/rcu/tree.c:2763
handle_softirqs+0x328/0x820 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:kvfree+0x0/0x40 mm/util.c:650
Code: 41 5c 41 5e 41 5f 5d c3 e8 2d e2 d1 ff 0f 0b e9 61 ff ff ff e8 21 e2 d1 ff 0f 0b 48 c7 c3 f4 ff ff ff eb d8 66 0f 1f 44 00 00 <53> 48 89 fb e8 07 e2 d1 ff 48 89 df e8 5f b4 0a 00 84 c0 74 0e e8
RSP: 0018:ffffc900032ef9e8 EFLAGS: 00000246
RAX: 1ffff1100ac832c1 RBX: ffff888056419600 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffffffff8a0b2f00 RDI: ffff888022446000
RBP: 0000000000000004 R08: dffffc0000000000 R09: ffffed10058a9c10
R10: ffffed10058a9c10 R11: 1ffff110058a9c0f R12: ffff88802c491e00
R13: 0000000000000001 R14: 0000000000000100 R15: 00000000000000df
__free_fdtable fs/file.c:37 [inline]
put_files_struct+0x2a0/0x340 fs/file.c:431
do_exit+0x5d0/0x20a0 kernel/exit.c:878
do_group_exit+0x12e/0x300 kernel/exit.c:997
get_signal+0x6ca/0x12c0 kernel/signal.c:2900
arch_do_signal_or_restart+0xc1/0x1300 arch/x86/kernel/signal.c:867
handle_signal_work kernel/entry/common.c:154 [inline]
exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214
__syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f992843d749
Code: Unable to access opcode bytes at RIP 0x7f992843d71f.
RSP: 002b:00007ffd820b53b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffdfc RBX: 000000000002e889 RCX: 00007f992843d749
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f9928693fac
RBP: 0000000000000bea R08: 00237bba4ab8d008 R09: 0000000b820b56af
R10: 00007ffd820b54b0 R11: 0000000000000246 R12: 00007f9928693fac
R13: 00007ffd820b54b0 R14: 000000000002f473 R15: 00007ffd820b54d0
----------------
Code disassembly (best guess):
0: 41 5c pop %r12
2: 41 5e pop %r14
4: 41 5f pop %r15
6: 5d pop %rbp
7: c3 ret
8: e8 2d e2 d1 ff call 0xffd1e23a
d: 0f 0b ud2
f: e9 61 ff ff ff jmp 0xffffff75
14: e8 21 e2 d1 ff call 0xffd1e23a
19: 0f 0b ud2
1b: 48 c7 c3 f4 ff ff ff mov $0xfffffffffffffff4,%rbx
22: eb d8 jmp 0xfffffffc
24: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1)
* 2a: 53 push %rbx <-- trapping instruction
2b: 48 89 fb mov %rdi,%rbx
2e: e8 07 e2 d1 ff call 0xffd1e23a
33: 48 89 df mov %rbx,%rdi
36: e8 5f b4 0a 00 call 0xab49a
3b: 84 c0 test %al,%al
3d: 74 0e je 0x4d
3f: e8 .byte 0xe8