------------[ cut here ]------------
WARNING: CPU: 0 PID: 3027 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0
Modules linked in:
CPU: 0 PID: 3027 Comm: udevd Not tainted 5.15.165-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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 2b c8 d5 ff 48 c7 c0 f2 ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 14 c8 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:ffffc90000007ba0 EFLAGS: 00010006
RAX: ffffffff81aa998c RBX: 0000000000000000 RCX: ffff88807d1e1dc0
RDX: 0000000000010000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff81aa989d R09: fffffbfff1f8e219
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000000000008 R14: 0000000000000000 R15: ffffc90000007c08
FS: 00007f56d75a4c80(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000231da000 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_02073d59a3c0f06f+0x3d/0xb40
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:1880 [inline]
bpf_trace_run2+0x19e/0x340 kernel/trace/bpf_trace.c:1917
__traceiter_hrtimer_start+0x6b/0xb0 include/trace/events/timer.h:199
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:1703 [inline]
__hrtimer_run_queues+0x6b6/0xcf0 kernel/time/hrtimer.c:1750
hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline]
__sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102
sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:_compound_head include/linux/page-flags.h:198 [inline]
RIP: 0010:check_heap_object mm/usercopy.c:236 [inline]
RIP: 0010:__check_object_size+0xfd/0x410 mm/usercopy.c:286
Code: ff 48 89 c5 48 c1 ed 0c 48 c1 e5 06 4a 8d 5c 3d 08 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 d6 d3 f6 ff 48 8b 1b <48> 89 de 48 83 e6 01 31 ff e8 d5 0e ad ff 48 89 d8 48 83 e0 01 0f
RSP: 0018:ffffc90002de7c50 EFLAGS: 00000246
RAX: 1ffffd40003c2e69 RBX: ffffea0001e17201 RCX: ffff88807d1e1dc0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000001e17340 R08: ffffffff81398cb8 R09: fffffbfff1bd2a56
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000fe0 R14: ffff8880785cd520 R15: ffffea0000000000
check_object_size include/linux/thread_info.h:199 [inline]
strncpy_from_user+0x99/0x370 lib/strncpy_from_user.c:137
getname_flags+0xf5/0x4e0 fs/namei.c:149
do_sys_openat2+0xd2/0x4f0 fs/open.c:1247
do_sys_open fs/open.c:1269 [inline]
__do_sys_openat fs/open.c:1285 [inline]
__se_sys_openat fs/open.c:1280 [inline]
__x64_sys_openat+0x243/0x290 fs/open.c:1280
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:0x7f56d76d3477
Code: 10 00 00 00 44 8b 54 24 e0 48 89 44 24 c0 48 8d 44 24 d0 48 89 44 24 c8 44 89 c2 4c 89 ce bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 10 48 8b 15 82 69 0d 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffcb13972d8 EFLAGS: 00000287 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 000055e6053af2c0 RCX: 00007f56d76d3477
RDX: 0000000000090800 RSI: 000055e6053cb860 RDI: 00000000ffffff9c
RBP: 000055e605432ef0 R08: 0000000000090800 R09: 000055e6053cb860
R10: 0000000000000000 R11: 0000000000000287 R12: 000055e6053cb860
R13: 00000000000000ff R14: 000055e603b821c4 R15: 0000000000000000
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 48 89 c5 mov %rax,%rbp
3: 48 c1 ed 0c shr $0xc,%rbp
7: 48 c1 e5 06 shl $0x6,%rbp
b: 4a 8d 5c 3d 08 lea 0x8(%rbp,%r15,1),%rbx
10: 48 89 d8 mov %rbx,%rax
13: 48 c1 e8 03 shr $0x3,%rax
17: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1)
1c: 74 08 je 0x26
1e: 48 89 df mov %rbx,%rdi
21: e8 d6 d3 f6 ff call 0xfff6d3fc
26: 48 8b 1b mov (%rbx),%rbx
* 29: 48 89 de mov %rbx,%rsi <-- trapping instruction
2c: 48 83 e6 01 and $0x1,%rsi
30: 31 ff xor %edi,%edi
32: e8 d5 0e ad ff call 0xffad0f0c
37: 48 89 d8 mov %rbx,%rax
3a: 48 83 e0 01 and $0x1,%rax
3e: 0f .byte 0xf