------------[ cut here ]------------
WARNING: CPU: 1 PID: 5271 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 1 PID: 5271 Comm: syz.5.223 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:ffffc90000dd0d40 EFLAGS: 00010006
RAX: ffffffff819ed900 RBX: 0000000000000000 RCX: ffff88802b6c8000
RDX: 0000000000010000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1ff7c19
R10: fffffbfff1ff7c19 R11: 1ffffffff1ff7c18 R12: ffff88802b6c9788
R13: dffffc0000000000 R14: ffffc90000dd0da8 R15: 0000000000000000
FS: 00007f2720d416c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f69f6bba6b0 CR3: 0000000060756000 CR4: 00000000003506e0
DR0: 0000200000000300 DR1: 0000000000000000 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_8848bede53a6b60e+0x34/0xe58
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
trace_tlb_flush+0xe6/0x110 include/trace/events/tlb.h:38
flush_tlb_func+0x43f/0x510 arch/x86/mm/tlb.c:855
flush_smp_call_function_queue+0x2a9/0x760 kernel/smp.c:628
__sysvec_call_function_single+0x98/0x240 arch/x86/kernel/smp.c:248
instr_sysvec_call_function_single arch/x86/kernel/smp.c:243 [inline]
sysvec_call_function_single+0x98/0xc0 arch/x86/kernel/smp.c:243
asm_sysvec_call_function_single+0x16/0x20 arch/x86/include/asm/idtentry.h:684
RIP: 0010:finish_lock_switch+0x134/0x280 kernel/sched/core.c:4804
Code: be ff ff ff ff e8 7c fc 55 08 85 c0 74 4a 4d 85 ff 75 66 0f 1f 44 00 00 48 89 df e8 76 67 5f 08 e8 11 76 2a 00 fb 48 83 c4 08 <5b> 41 5c 41 5d 41 5e 41 5f 5d c3 48 89 df e8 d9 0f fe ff 43 80 3c
RSP: 0018:ffffc900034efa28 EFLAGS: 00000286
RAX: 31d16340deb7f700 RBX: ffff8880b913a340 RCX: 31d16340deb7f700
RDX: dffffc0000000000 RSI: ffffffff8a0b1c60 RDI: ffffffff8a59e580
RBP: 1ffff11017227613 R08: dffffc0000000000 R09: fffffbfff1ff7c1f
R10: fffffbfff1ff7c1f R11: 1ffffffff1ff7c1e R12: 1ffff110172275c1
R13: dffffc0000000000 R14: ffff8880b913ae08 R15: 0000000000000000
finish_task_switch+0x12f/0x640 kernel/sched/core.c:4921
context_switch kernel/sched/core.c:5052 [inline]
__schedule+0x11c3/0x4390 kernel/sched/core.c:6395
schedule+0x11b/0x1e0 kernel/sched/core.c:6478
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6537
rwsem_down_read_slowpath+0x528/0x990 kernel/locking/rwsem.c:1055
__down_read_common kernel/locking/rwsem.c:1239 [inline]
__down_read kernel/locking/rwsem.c:1252 [inline]
down_read+0x96/0x2e0 kernel/locking/rwsem.c:1500
mmap_read_lock+0x1c/0x50 include/linux/mmap_lock.h:117
do_user_addr_fault+0xc35/0xc80 arch/x86/mm/fault.c:1308
handle_page_fault arch/x86/mm/fault.c:1445 [inline]
exc_page_fault+0x60/0x100 arch/x86/mm/fault.c:1501
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606
RIP: 0033:0x7f27229c0e40
Code: c0 75 27 69 3d 85 08 ec 00 b8 0b 00 00 e8 78 a8 13 00 31 f6 bf 3c 00 00 00 31 c0 e8 fa a8 13 00 eb fe 0f 1f 84 00 00 00 00 00 <64> c7 04 25 94 ff ff ff 00 00 00 00 48 83 c4 38 c3 66 66 2e 0f 1f
RSP: 002b:00007f2720d40ff0 EFLAGS: 00010202
RAX: 000000000000004c RBX: 00007f2722d52090 RCX: 00007f2722afb749
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000011
RBP: 00007f2722b7ff91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007f2722d52128 R14: 00007f2722d52090 R15: 00007ffc842f23d8
----------------
Code disassembly (best guess):
0: be ff ff ff ff mov $0xffffffff,%esi
5: e8 7c fc 55 08 call 0x855fc86
a: 85 c0 test %eax,%eax
c: 74 4a je 0x58
e: 4d 85 ff test %r15,%r15
11: 75 66 jne 0x79
13: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
18: 48 89 df mov %rbx,%rdi
1b: e8 76 67 5f 08 call 0x85f6796
20: e8 11 76 2a 00 call 0x2a7636
25: fb sti
26: 48 83 c4 08 add $0x8,%rsp
* 2a: 5b pop %rbx <-- trapping instruction
2b: 41 5c pop %r12
2d: 41 5d pop %r13
2f: 41 5e pop %r14
31: 41 5f pop %r15
33: 5d pop %rbp
34: c3 ret
35: 48 89 df mov %rbx,%rdi
38: e8 d9 0f fe ff call 0xfffe1016
3d: 43 rex.XB
3e: 80 .byte 0x80
3f: 3c .byte 0x3c