------------[ cut here ]------------
WARNING: CPU: 1 PID: 4529 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0
Modules linked in:
CPU: 1 PID: 4529 Comm: syz-executor180 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:ffffc90000dd0bd0 EFLAGS: 00010006
RAX: ffffffff81aaacec RBX: 0000000000000000 RCX: ffff888076221dc0
RDX: 0000000000010000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff81aaabfd R09: ffffed100ec443b9
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000020000000
R13: 0000000000000008 R14: 0000000020000000 R15: ffffc90000dd0c48
FS: 000055558ce283c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0bfa550110 CR3: 000000007ae6d000 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+0xe4/0x180 kernel/trace/bpf_trace.c:277
bpf_prog_63d51858d7cca270+0x3d/0x374
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+0x19e/0x340 kernel/trace/bpf_trace.c:1915
trace_hrtimer_start include/trace/events/timer.h:199 [inline]
debug_activate kernel/time/hrtimer.c:476 [inline]
enqueue_hrtimer+0x324/0x390 kernel/time/hrtimer.c:1084
__run_hrtimer kernel/time/hrtimer.c:1705 [inline]
__hrtimer_run_queues+0x6b6/0xcf0 kernel/time/hrtimer.c:1752
hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline]
__sysvec_apic_timer_interrupt+0x13b/0x4b0 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:__text_poke+0x84c/0x9e0 arch/x86/kernel/alternative.c:1154
Code: 0b 9c 00 f6 84 24 01 01 00 00 02 0f 85 a8 00 00 00 41 f7 c7 00 02 00 00 48 8b 5c 24 58 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 8b 4c 24 50 80 3c 01 00 74 0d 48 8d bc 24 40 01 00 00 e8 ac 0b
RSP: 0018:ffffc90002e177a0 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff920005c2f00 RCX: ffffffff81632d68
RDX: dffffc0000000000 RSI: ffffffff8a8b2a80 RDI: ffffffff8ad90540
RBP: ffffc90002e17950 R08: dffffc0000000000 R09: fffffbfff20ec821
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff816fa3e0
R13: ffff888076221dc0 R14: ffffc90002e178a0 R15: 0000000000000246
text_poke arch/x86/kernel/alternative.c:1178 [inline]
text_poke_bp_batch+0x64f/0x930 arch/x86/kernel/alternative.c:1485
text_poke_flush arch/x86/kernel/alternative.c:1598 [inline]
text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1605
arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
static_key_enable_cpuslocked+0x12e/0x250 kernel/jump_label.c:177
static_key_enable+0x16/0x20 kernel/jump_label.c:190
tracepoint_add_func+0x947/0x9d0 kernel/tracepoint.c:361
tracepoint_probe_register_prio_may_exist+0x11e/0x190 kernel/tracepoint.c:482
bpf_raw_tracepoint_open+0x65a/0x750 kernel/bpf/syscall.c:3113
__sys_bpf+0x468/0x670 kernel/bpf/syscall.c:4693
__do_sys_bpf kernel/bpf/syscall.c:4755 [inline]
__se_sys_bpf kernel/bpf/syscall.c:4753 [inline]
__x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4753
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f0bfa4cdfa9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 1f 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fffc1cac2e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f0bfa4cdfa9
RDX: 000000000000003d RSI: 0000000020000000 RDI: 0000000000000011
RBP: 0000000000000000 R08: 0000000000010b47 R09: 0000000000010b47
R10: 0000000000010b47 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
----------------
Code disassembly (best guess):
0: 0b 9c 00 f6 84 24 01 or 0x12484f6(%rax,%rax,1),%ebx
7: 01 00 add %eax,(%rax)
9: 00 02 add %al,(%rdx)
b: 0f 85 a8 00 00 00 jne 0xb9
11: 41 f7 c7 00 02 00 00 test $0x200,%r15d
18: 48 8b 5c 24 58 mov 0x58(%rsp),%rbx
1d: 74 01 je 0x20
1f: fb sti
20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
27: fc ff df
* 2a: 48 8b 4c 24 50 mov 0x50(%rsp),%rcx <-- trapping instruction
2f: 80 3c 01 00 cmpb $0x0,(%rcx,%rax,1)
33: 74 0d je 0x42
35: 48 8d bc 24 40 01 00 lea 0x140(%rsp),%rdi
3c: 00
3d: e8 .byte 0xe8
3e: ac lods %ds:(%rsi),%al
3f: 0b .byte 0xb