------------[ cut here ]------------
WARNING: CPU: 0 PID: 2962 at mm/maccess.c:226 copy_from_user_nofault+0x15c/0x1c0
Modules linked in:
CPU: 0 PID: 2962 Comm: udevd Not tainted 5.15.158-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/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 7b c4 d5 ff 48 c7 c0 f2 ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 64 c4 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:ffffc90000007be8 EFLAGS: 00010046
RAX: ffffffff81aa985c RBX: 0000000000000000 RCX: ffff88807ce70000
RDX: 0000000080010002 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff81aa976d R09: fffffbfff1f7ee19
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000000000008 R14: 0000000000000000 R15: ffffc90000007c48
FS: 00007fac3d44dc80(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555557359788 CR3: 000000001a080000 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_5f6df167d0cc17e3+0x3d/0x998
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
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:memory_is_poisoned_n mm/kasan/generic.c:129 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x45/0x290 mm/kasan/generic.c:189
Code: 00 00 48 89 fd 48 c1 ed 2f 81 fd ff ff 01 00 0f 82 46 02 00 00 48 89 fb 48 c1 eb 03 49 b8 00 00 00 00 00 fc ff df 4e 8d 0c 03 <4c> 8d 54 37 ff 49 c1 ea 03 49 bb 01 00 00 00 00 fc ff df 4f 8d 34
RSP: 0018:ffffc90002dd7678 EFLAGS: 00000a06
RAX: 0000000000000001 RBX: 1ffffffff1bc8c55 RCX: ffffffff8162d268
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8de462a8
RBP: 000000000001ffff R08: dffffc0000000000 R09: fffffbfff1bc8c55
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920005baee0
R13: ffffffff81df4015 R14: ffffc90002dd7840 R15: dffffc0000000000
instrument_atomic_read include/linux/instrumented.h:71 [inline]
test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline]
cpumask_test_cpu include/linux/cpumask.h:344 [inline]
cpu_online include/linux/cpumask.h:895 [inline]
trace_lock_release include/trace/events/lock.h:58 [inline]
lock_release+0xa8/0x9a0 kernel/locking/lockdep.c:5634
rcu_read_unlock include/linux/rcupdate.h:772 [inline]
mntput_no_expire+0x1f9/0x770 fs/namespace.c:1181
path_put fs/namei.c:560 [inline]
terminate_walk+0x364/0x4f0 fs/namei.c:678
path_openat+0x260f/0x2f20 fs/namei.c:3743
do_filp_open+0x21c/0x460 fs/namei.c:3769
do_sys_openat2+0x13b/0x500 fs/open.c:1253
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:0x7fac3d5789a4
Code: 24 20 48 8d 44 24 30 48 89 44 24 28 64 8b 04 25 18 00 00 00 85 c0 75 2c 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 60 48 8b 15 55 a4 0d 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffe2d8140a0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000558fdf136040 RCX: 00007fac3d5789a4
RDX: 0000000000080141 RSI: 0000558fdf1190d8 RDI: 00000000ffffff9c
RBP: 0000558fdf1190d8 R08: 00000000ffffffff R09: 0000000000000000
R10: 00000000000001a4 R11: 0000000000000246 R12: 0000000000080141
R13: ffffffffffffffff R14: 00000000ffffffff R15: 00000000ffffffff
----------------
Code disassembly (best guess):
0: 00 00 add %al,(%rax)
2: 48 89 fd mov %rdi,%rbp
5: 48 c1 ed 2f shr $0x2f,%rbp
9: 81 fd ff ff 01 00 cmp $0x1ffff,%ebp
f: 0f 82 46 02 00 00 jb 0x25b
15: 48 89 fb mov %rdi,%rbx
18: 48 c1 eb 03 shr $0x3,%rbx
1c: 49 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%r8
23: fc ff df
26: 4e 8d 0c 03 lea (%rbx,%r8,1),%r9
* 2a: 4c 8d 54 37 ff lea -0x1(%rdi,%rsi,1),%r10 <-- trapping instruction
2f: 49 c1 ea 03 shr $0x3,%r10
33: 49 bb 01 00 00 00 00 movabs $0xdffffc0000000001,%r11
3a: fc ff df
3d: 4f rex.WRXB
3e: 8d .byte 0x8d
3f: 34 .byte 0x34