------------[ cut here ]------------
WARNING: CPU: 0 PID: 4246 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 0 PID: 4246 Comm: udevd 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:ffffc900000079f8 EFLAGS: 00010246
RAX: ffffffff819fe2f0 RBX: 0000000000000000 RCX: ffff888029fe0000
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed10053fc001
R10: ffffed10053fc001 R11: 1ffff110053fc000 R12: ffff888029fe1788
R13: 00007ffffffff000 R14: ffffc90000007a68 R15: 0000000000000000
FS: 00007efc3eb48880(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3071fffc CR3: 000000001e367000 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_3d2613b5dfc7747f+0x32/0x4a8
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_run3+0x17e/0x320 kernel/trace/bpf_trace.c:1916
__bpf_trace_kmem_cache_free+0x99/0xc0 include/trace/events/kmem.h:138
trace_kmem_cache_free include/trace/events/kmem.h:138 [inline]
kmem_cache_free+0x1e7/0x210 mm/slub.c:3516
rcu_do_batch kernel/rcu/tree.c:2523 [inline]
rcu_core+0x962/0x15d0 kernel/rcu/tree.c:2763
handle_softirqs+0x328/0x820 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:inotify_new_watch fs/notify/inotify/inotify_user.c:592 [inline]
RIP: 0010:inotify_update_watch fs/notify/inotify/inotify_user.c:640 [inline]
RIP: 0010:__do_sys_inotify_add_watch fs/notify/inotify/inotify_user.c:779 [inline]
RIP: 0010:__se_sys_inotify_add_watch+0x6ae/0xea0 fs/notify/inotify/inotify_user.c:722
Code: 78 74 ff ff bf fe ff ff ff 44 89 ee e8 1b 3d 9e ff 41 83 fd fe 0f 85 f3 02 00 00 e8 ac 39 9e ff 4c 8b 7c 24 28 4c 8b 74 24 18 <48> 8b 3d bb 53 8f 0b be c0 0c 00 00 e8 21 db e2 ff 48 85 c0 0f 84
RSP: 0018:ffffc900031bfe00 EFLAGS: 00000293
RAX: ffffffff81d98668 RBX: ffff88807f0ff680 RCX: ffff888029fe0000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff9610c760
RBP: ffffc900031bff10 R08: dffffc0000000000 R09: fffffbfff1ad157e
R10: fffffbfff1ad157e R11: 1ffffffff1ad157d R12: 0000000000000008
R13: ffff88801fbfacb0 R14: ffff88801fbfacb0 R15: ffff888022393000
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7efc3ecb09a7
Code: f0 ff ff 73 01 c3 48 8b 0d 4e f4 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 fe 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 21 f4 0c 00 f7 d8 64 89 01 48
RSP: 002b:00007fff0e486488 EFLAGS: 00000202 ORIG_RAX: 00000000000000fe
RAX: ffffffffffffffda RBX: 00005601e6683c70 RCX: 00007efc3ecb09a7
RDX: 0000000000000008 RSI: 00005601e6675470 RDI: 0000000000000007
RBP: 00005601e6660910 R08: 00000000000001d0 R09: 0000000000000003
R10: 0000000000000000 R11: 0000000000000202 R12: 00005601e6683c70
R13: 00005601e66783c0 R14: 0000000000000008 R15: 00005601e6683c70
----------------
Code disassembly (best guess), 4 bytes skipped:
0: bf fe ff ff ff mov $0xfffffffe,%edi
5: 44 89 ee mov %r13d,%esi
8: e8 1b 3d 9e ff call 0xff9e3d28
d: 41 83 fd fe cmp $0xfffffffe,%r13d
11: 0f 85 f3 02 00 00 jne 0x30a
17: e8 ac 39 9e ff call 0xff9e39c8
1c: 4c 8b 7c 24 28 mov 0x28(%rsp),%r15
21: 4c 8b 74 24 18 mov 0x18(%rsp),%r14
* 26: 48 8b 3d bb 53 8f 0b mov 0xb8f53bb(%rip),%rdi # 0xb8f53e8 <-- trapping instruction
2d: be c0 0c 00 00 mov $0xcc0,%esi
32: e8 21 db e2 ff call 0xffe2db58
37: 48 85 c0 test %rax,%rax
3a: 0f .byte 0xf
3b: 84 .byte 0x84