------------[ cut here ]------------
WARNING: CPU: 0 PID: 11010 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0
Modules linked in:
CPU: 0 PID: 11010 Comm: syz.0.1553 Not tainted 5.15.173-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
RIP: 0010:copy_from_user_nofault+0x15c/0x1c0 mm/maccess.c:226
Code: db 48 c7 c0 f2 ff ff ff 48 0f 44 c5 eb 0c e8 cb c6 d5 ff 48 c7 c0 f2 ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 b4 c6 d5 ff <0f> 0b e9 1e ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c ef fe ff
RSP: 0018:ffffc900000079f0 EFLAGS: 00010246
RAX: ffffffff81aaacec RBX: 0000000000000000 RCX: ffff88802b10d940
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff81aaabfd R09: ffffed1005621b29
R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000a010000
R13: 0000000000000000 R14: 000000000a010000 R15: ffffc90000007a68
FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa638cd9bac CR3: 000000007b66b000 CR4: 00000000003506f0
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+0xe4/0x180 kernel/trace/bpf_trace.c:277
bpf_prog_f8835795983ece0c+0x35/0x370
bpf_dispatcher_nop_func include/linux/bpf.h:790 [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_run3+0x1d1/0x380 kernel/trace/bpf_trace.c:1916
__bpf_trace_kmem_cache_free+0x99/0xc0 include/trace/events/kmem.h:138
trace_kmem_cache_free include/trace/events/kmem.h:138 [inline]
kmem_cache_free+0x1ce/0x1f0 mm/slub.c:3516
rcu_do_batch kernel/rcu/tree.c:2523 [inline]
rcu_core+0xa15/0x1650 kernel/rcu/tree.c:2763
handle_softirqs+0x3a7/0x930 kernel/softirq.c:558
__do_softirq kernel/softirq.c:592 [inline]
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x157/0x240 kernel/softirq.c:641
irq_exit_rcu+0x5/0x20 kernel/softirq.c:653
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:check_preemption_disabled+0x2/0x110 lib/smp_processor_id.c:13
Code: 48 c7 c7 80 fc 92 8a e8 2c 01 00 00 65 ff 0d 91 d1 ce 75 5b c3 cc cc cc 48 c7 c7 e0 04 d9 8a 48 c7 c6 20 05 d9 8a eb 00 41 57 <41> 56 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24
RSP: 0018:ffffc90003786ff8 EFLAGS: 00000283
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff81bf7bbd
RDX: 0000000000000000 RSI: ffffffff8ad90520 RDI: ffffffff8ad904e0
RBP: 1ffffd40002ac311 R08: dffffc0000000000 R09: fffffbfff1bd2d3e
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffd40002ac311
R13: 0000000000000000 R14: dffffc0000000000 R15: ffffea0001561888
rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:331 [inline]
rcu_is_watching+0x11/0xa0 kernel/rcu/tree.c:1123
trace_mm_page_free include/trace/events/kmem.h:160 [inline]
free_pages_prepare mm/page_alloc.c:1292 [inline]
free_pcp_prepare mm/page_alloc.c:1391 [inline]
free_unref_page_prepare+0x8e/0xcf0 mm/page_alloc.c:3317
free_unref_page_list+0x1f7/0x8e0 mm/page_alloc.c:3433
release_pages+0x1bb9/0x1f40 mm/swap.c:963
__pagevec_release+0x80/0xf0 mm/swap.c:983
pagevec_release include/linux/pagevec.h:81 [inline]
shmem_undo_range+0x67a/0x1b50 mm/shmem.c:964
shmem_truncate_range mm/shmem.c:1063 [inline]
shmem_evict_inode+0x21b/0xa00 mm/shmem.c:1147
evict+0x529/0x930 fs/inode.c:622
__dentry_kill+0x436/0x650 fs/dcache.c:586
dentry_kill+0xbb/0x290
dput+0xd8/0x1a0 fs/dcache.c:893
__fput+0x636/0x8e0 fs/file_table.c:288
task_work_run+0x129/0x1a0 kernel/task_work.c:188
exit_task_work include/linux/task_work.h:33 [inline]
do_exit+0x6a3/0x2480 kernel/exit.c:874
do_group_exit+0x144/0x310 kernel/exit.c:996
get_signal+0xc66/0x14e0 kernel/signal.c:2900
arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867
handle_signal_work kernel/entry/common.c:154 [inline]
exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:178
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214
irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:320
exc_page_fault+0x342/0x700 arch/x86/mm/fault.c:1504
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606
RIP: 0033:0x7fa638b20821
Code: Unable to access opcode bytes at RIP 0x7fa638b207f7.
RSP: 002b:00000000fffffe10 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007fa638cd7fa0 RCX: 00007fa638b20819
RDX: 0000000000000000 RSI: 00000000fffffe10 RDI: 0000000000000000
RBP: 00007fa638b9375e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa638cd7fa0 R15: 00007ffd78d10398
----------------
Code disassembly (best guess):
0: 48 c7 c7 80 fc 92 8a mov $0xffffffff8a92fc80,%rdi
7: e8 2c 01 00 00 call 0x138
c: 65 ff 0d 91 d1 ce 75 decl %gs:0x75ced191(%rip) # 0x75ced1a4
13: 5b pop %rbx
14: c3 ret
15: cc int3
16: cc int3
17: cc int3
18: 48 c7 c7 e0 04 d9 8a mov $0xffffffff8ad904e0,%rdi
1f: 48 c7 c6 20 05 d9 8a mov $0xffffffff8ad90520,%rsi
26: eb 00 jmp 0x28
28: 41 57 push %r15
* 2a: 41 56 push %r14 <-- trapping instruction
2c: 41 54 push %r12
2e: 53 push %rbx
2f: 48 83 ec 10 sub $0x10,%rsp
33: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax
3a: 00 00
3c: 48 rex.W
3d: 89 .byte 0x89
3e: 44 rex.R
3f: 24 .byte 0x24