------------[ cut here ]------------
WARNING: CPU: 0 PID: 11185 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 0 PID: 11185 Comm: syz.1.1742 Not tainted 5.15.185-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Code: 24 45 31 f6 31 ff 89 de e8 ad e2 d7 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 30 df d7 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:ffffc90000007c60 EFLAGS: 00010006
RAX: ffffffff819fe2f0 RBX: 0000000000000008 RCX: ffff888029915940
RDX: 0000000000010000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000000000c
R10: 000000000000000c R11: 0000000000010000 R12: ffff8880299170c8
R13: dffffc0000000000 R14: ffffc90000007cc8 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000000be8e000 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_user kernel/trace/bpf_trace.c:166 [inline]
bpf_probe_read_user+0x26/0x70 kernel/trace/bpf_trace.c:163
bpf_prog_3b53280d0bd88656+0x5b/0x9f4
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_run2+0x15b/0x2d0 kernel/trace/bpf_trace.c:1915
trace_tlb_flush+0xe6/0x110 include/trace/events/tlb.h:38
switch_mm_irqs_off+0x6e3/0x9a0 arch/x86/mm/tlb.c:-1
flush_tlb_func+0x1bc/0x510 arch/x86/mm/tlb.c:773
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:check_kcov_mode kernel/kcov.c:183 [inline]
RIP: 0010:write_comp_data kernel/kcov.c:227 [inline]
RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x32/0x80 kernel/kcov.c:300
Code: b4 a9 8a 7e 65 8b 15 b5 a9 8a 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 57 83 b9 34 16 00 00 00 74 4e 8b 91 10 16 00 00 <83> fa 03 75 43 48 8b 91 18 16 00 00 44 8b 89 14 16 00 00 49 c1 e1
RSP: 0018:ffffc900030ff500 EFLAGS: 00000246
RAX: ffffffff81b1269a RBX: 0000000000000000 RCX: ffff888029915940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffff94000322601
R10: fffff94000322601 R11: 1ffffd4000322600 R12: ffffea0001913008
R13: ffffea0001913000 R14: dffffc0000000000 R15: 0000000000000000
_compound_head include/linux/page-flags.h:198 [inline]
PageAnon include/linux/page-flags.h:503 [inline]
page_remove_rmap+0x5a/0x10f0 mm/rmap.c:1353
zap_pte_range mm/memory.c:1384 [inline]
zap_pmd_range mm/memory.c:1505 [inline]
zap_pud_range mm/memory.c:1534 [inline]
zap_p4d_range mm/memory.c:1555 [inline]
unmap_page_range+0xfbc/0x2520 mm/memory.c:1576
unmap_vmas+0x11b/0x230 mm/memory.c:1653
exit_mmap+0x38f/0x5f0 mm/mmap.c:3204
__mmput+0x115/0x3b0 kernel/fork.c:1127
exit_mm+0x567/0x6c0 kernel/exit.c:550
do_exit+0x599/0x20a0 kernel/exit.c:861
do_group_exit+0x12e/0x300 kernel/exit.c:996
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+0xb1/0x140 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:0x7f9830fd8929
Code: Unable to access opcode bytes at RIP 0x7f9830fd88ff.
RSP: 002b:00007f982ee400e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f98311fffa8 RCX: 00007f9830fd8929
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f98311fffa8
RBP: 00007f98311fffa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f98311fffac
R13: 0000000000000000 R14: 00007ffe19907a10 R15: 00007ffe19907af8
----------------
Code disassembly (best guess):
0: b4 a9 mov $0xa9,%ah
2: 8a 7e 65 mov 0x65(%rsi),%bh
5: 8b 15 b5 a9 8a 7e mov 0x7e8aa9b5(%rip),%edx # 0x7e8aa9c0
b: 81 e2 00 01 ff 00 and $0xff0100,%edx
11: 74 11 je 0x24
13: 81 fa 00 01 00 00 cmp $0x100,%edx
19: 75 57 jne 0x72
1b: 83 b9 34 16 00 00 00 cmpl $0x0,0x1634(%rcx)
22: 74 4e je 0x72
24: 8b 91 10 16 00 00 mov 0x1610(%rcx),%edx
* 2a: 83 fa 03 cmp $0x3,%edx <-- trapping instruction
2d: 75 43 jne 0x72
2f: 48 8b 91 18 16 00 00 mov 0x1618(%rcx),%rdx
36: 44 8b 89 14 16 00 00 mov 0x1614(%rcx),%r9d
3d: 49 rex.WB
3e: c1 .byte 0xc1
3f: e1 .byte 0xe1