------------[ cut here ]------------
WARNING: CPU: 0 PID: 4411 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 0 PID: 4411 Comm: syz.3.21 Not tainted 5.15.189-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 ed f7 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 70 f4 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:ffffc90000007b98 EFLAGS: 00010006
RAX: ffffffff819ecfb0 RBX: 0000000000000008 RCX: ffff88802a65d940
RDX: 0000000000010000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed10054cbb29
R10: ffffed10054cbb29 R11: 1ffff110054cbb28 R12: ffff88802a65f0c8
R13: 00007ffffffff000 R14: ffffc90000007c08 R15: 0000000020000000
FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 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_compat kernel/trace/bpf_trace.c:281 [inline]
bpf_probe_read_compat+0xdd/0x170 kernel/trace/bpf_trace.c:277
bpf_prog_63d51858d7cca270+0x3d/0xa90
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_hrtimer_start include/trace/events/timer.h:199 [inline]
debug_activate kernel/time/hrtimer.c:466 [inline]
enqueue_hrtimer+0x314/0x370 kernel/time/hrtimer.c:1074
__run_hrtimer kernel/time/hrtimer.c:1707 [inline]
__hrtimer_run_queues+0x65a/0xc40 kernel/time/hrtimer.c:1754
hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1816
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline]
__sysvec_apic_timer_interrupt+0x137/0x4a0 arch/x86/kernel/apic/apic.c:1114
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0x9b/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_kcov_mode kernel/kcov.c:172 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x13/0x60 kernel/kcov.c:206
Code: 48 8b 3d c0 ac f1 0b 48 89 de 5b e9 77 99 43 00 00 00 cc cc 00 00 cc 48 8b 04 24 65 48 8b 0d 94 ab 8a 7e 65 8b 15 95 ab 8a 7e <81> e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 34 16 00 00
RSP: 0018:ffffc90003b1f720 EFLAGS: 00000246
RAX: ffffffff81b49c22 RBX: ffffea0001a21d08 RCX: ffff88802a65d940
RDX: 0000000080000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 1ffffd40003443a1 R08: dffffc0000000000 R09: fffff94000344399
R10: fffff94000344399 R11: 1ffffd4000344398 R12: ffffea0001a21d08
R13: ffffea0001a21cc8 R14: 1ffffd40003443a1 R15: ffffea0001a21d00
_compound_head include/linux/page-flags.h:198 [inline]
PageSwapBacked include/linux/page-flags.h:371 [inline]
PageSwapCache include/linux/page-flags.h:415 [inline]
free_swap_cache+0xa2/0x2e0 mm/swap_state.c:291
free_pages_and_swap_cache+0x5c/0x90 mm/swap_state.c:319
tlb_batch_pages_flush mm/mmu_gather.c:49 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:240 [inline]
tlb_flush_mmu mm/mmu_gather.c:247 [inline]
tlb_finish_mmu+0x164/0x2e0 mm/mmu_gather.c:338
exit_mmap+0x3a6/0x5f0 mm/mmap.c:3214
__mmput+0x115/0x3b0 kernel/fork.c:1127
exit_mm+0x567/0x6c0 kernel/exit.c:550
do_exit+0x5a1/0x20a0 kernel/exit.c:870
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+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:0x7f41e1a759a9
Code: Unable to access opcode bytes at RIP 0x7f41e1a7597f.
RSP: 002b:00007f41e0ce50e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000001 RBX: 00007f41e1c9cfa8 RCX: 00007f41e1a759a9
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f41e1c9cfac
RBP: 00007f41e1c9cfa0 R08: 002fe0a7bba9cb68 R09: 0000000000000000
R10: 0000000000000004 R11: 0000000000000246 R12: 00007f41e1c9cfac
R13: 0000000000000000 R14: 00007ffebc4abc20 R15: 00007ffebc4abd08
----------------
Code disassembly (best guess):
0: 48 8b 3d c0 ac f1 0b mov 0xbf1acc0(%rip),%rdi # 0xbf1acc7
7: 48 89 de mov %rbx,%rsi
a: 5b pop %rbx
b: e9 77 99 43 00 jmp 0x439987
10: 00 00 add %al,(%rax)
12: cc int3
13: cc int3
14: 00 00 add %al,(%rax)
16: cc int3
17: 48 8b 04 24 mov (%rsp),%rax
1b: 65 48 8b 0d 94 ab 8a mov %gs:0x7e8aab94(%rip),%rcx # 0x7e8aabb7
22: 7e
23: 65 8b 15 95 ab 8a 7e mov %gs:0x7e8aab95(%rip),%edx # 0x7e8aabbf
* 2a: 81 e2 00 01 ff 00 and $0xff0100,%edx <-- trapping instruction
30: 74 11 je 0x43
32: 81 fa 00 01 00 00 cmp $0x100,%edx
38: 75 35 jne 0x6f
3a: 83 .byte 0x83
3b: b9 34 16 00 00 mov $0x1634,%ecx