------------[ cut here ]------------
WARNING: CPU: 0 PID: 4319 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 0 PID: 4319 Comm: udevd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Code: 24 45 31 f6 31 ff 89 de e8 6d 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 f0 f3 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:ffffc900000072c8 EFLAGS: 00010246
RAX: ffffffff819ed660 RBX: 0000000000000000 RCX: ffff88802805d940
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1ff7a19
R10: fffffbfff1ff7a19 R11: 1ffffffff1ff7a18 R12: ffff88802805f0c8
R13: 1ffff92000000e68 R14: ffffc90000007328 R15: 0000000000000000
FS: 00007fe2c072c880(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2109db86c0 CR3: 000000002297f000 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_7e47b8e39696360c+0x32/0xf70
bpf_dispatcher_nop_func include/linux/bpf.h:888 [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:3521
netlink_broadcast_filtered+0x107a/0x1170 net/netlink/af_netlink.c:1534
netlink_broadcast net/netlink/af_netlink.c:1556 [inline]
nlmsg_multicast include/net/netlink.h:1033 [inline]
nlmsg_notify+0xec/0x1a0 net/netlink/af_netlink.c:2550
__neigh_notify+0x191/0x2e0 net/core/neighbour.c:3390
neigh_cleanup_and_release+0x9d/0x250 net/core/neighbour.c:101
neigh_del net/core/neighbour.c:197 [inline]
neigh_remove_one+0x4e8/0x5f0 net/core/neighbour.c:218
neigh_forced_gc net/core/neighbour.c:251 [inline]
neigh_alloc net/core/neighbour.c:429 [inline]
___neigh_create+0x468/0x2250 net/core/neighbour.c:591
ip6_finish_output2+0xa01/0x1500 net/ipv6/ip6_output.c:127
dst_output include/net/dst.h:452 [inline]
NF_HOOK include/linux/netfilter.h:302 [inline]
ndisc_send_skb+0xbea/0x14a0 net/ipv6/ndisc.c:513
addrconf_rs_timer+0x2b8/0x600 net/ipv6/addrconf.c:3956
call_timer_fn+0x16c/0x530 kernel/time/timer.c:1451
expire_timers kernel/time/timer.c:1496 [inline]
__run_timers+0x525/0x7c0 kernel/time/timer.c:1767
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1780
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:unwind_next_frame+0x68d/0x1d90 arch/x86/kernel/unwind_orc.c:475
Code: 48 0f bf 02 48 01 c5 e9 0e 01 00 00 4c 8d 7b 40 4c 89 f8 48 c1 e8 03 42 80 3c 28 00 74 0c 4c 89 ff e8 77 b3 87 00 48 8b 14 24 <49> 8b 3f 4c 8d 7a 01 48 89 d0 48 c1 e8 03 42 0f b6 04 28 84 c0 0f
RSP: 0018:ffffc9000301f488 EFLAGS: 00000246
RAX: 1ffff92000603eb1 RBX: ffffc9000301f548 RCX: ffffffff8d7a3e84
RDX: ffffffff8de71522 RSI: ffffffff8de714e6 RDI: ffffffff8134790c
RBP: ffffffff816678b7 R08: 000000000000000f R09: 0000000000000000
R10: fffff52000603eb5 R11: 1ffff92000603eb3 R12: 1ffffffff1bce2a4
R13: dffffc0000000000 R14: ffffffff8de71526 R15: ffffc9000301f588
arch_stack_walk+0x10c/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x98/0xe0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:38 [inline]
kasan_set_track mm/kasan/common.c:46 [inline]
set_alloc_info mm/kasan/common.c:434 [inline]
____kasan_kmalloc mm/kasan/common.c:513 [inline]
__kasan_kmalloc+0xb5/0xf0 mm/kasan/common.c:522
kmalloc include/linux/slab.h:609 [inline]
kzalloc include/linux/slab.h:735 [inline]
tomoyo_encode2 security/tomoyo/realpath.c:45 [inline]
tomoyo_encode+0x27e/0x540 security/tomoyo/realpath.c:80
tomoyo_realpath_from_path+0x5cd/0x610 security/tomoyo/realpath.c:288
tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
tomoyo_path2_perm+0x20d/0x790 security/tomoyo/file.c:922
tomoyo_path_rename+0xec/0x130 security/tomoyo/tomoyo.c:278
security_path_rename+0x1dc/0x280 security/security.c:1205
do_renameat2+0x68b/0xf70 fs/namei.c:4972
__do_sys_rename fs/namei.c:5031 [inline]
__se_sys_rename fs/namei.c:5029 [inline]
__x64_sys_rename+0x82/0x90 fs/namei.c:5029
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:0x7fe2c07edcc7
Code: e8 5e a7 09 00 f7 d8 19 c0 5b c3 0f 1f 84 00 00 00 00 00 b8 ff ff ff ff 5b c3 66 0f 1f 84 00 00 00 00 00 b8 52 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 01 61 17 00 f7 d8 64 89 02 b8
RSP: 002b:00007ffd06f4fc78 EFLAGS: 00000206 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 000055e4666fdbd0 RCX: 00007fe2c07edcc7
RDX: 000055e4666d4010 RSI: 00007ffd06f4fc90 RDI: 00007ffd06f50090
RBP: 000055e466700780 R08: 00000000000001e0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 00007ffd06f4fc90
R13: 00007ffd06f50090 R14: 0000000000000000 R15: 000055e4280b99dd
----------------
Code disassembly (best guess):
0: 48 0f bf 02 movswq (%rdx),%rax
4: 48 01 c5 add %rax,%rbp
7: e9 0e 01 00 00 jmp 0x11a
c: 4c 8d 7b 40 lea 0x40(%rbx),%r15
10: 4c 89 f8 mov %r15,%rax
13: 48 c1 e8 03 shr $0x3,%rax
17: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1)
1c: 74 0c je 0x2a
1e: 4c 89 ff mov %r15,%rdi
21: e8 77 b3 87 00 call 0x87b39d
26: 48 8b 14 24 mov (%rsp),%rdx
* 2a: 49 8b 3f mov (%r15),%rdi <-- trapping instruction
2d: 4c 8d 7a 01 lea 0x1(%rdx),%r15
31: 48 89 d0 mov %rdx,%rax
34: 48 c1 e8 03 shr $0x3,%rax
38: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax
3d: 84 c0 test %al,%al
3f: 0f .byte 0xf