------------[ cut here ]------------
WARNING: CPU: 0 PID: 14851 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 0 PID: 14851 Comm: syz.4.2845 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Code: 24 45 31 f6 31 ff 89 de e8 ed f6 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 70 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:ffffc90000007d40 EFLAGS: 00010006
RAX: ffffffff819ed740 RBX: 0000000000000008 RCX: ffff88805ec0bb80
RDX: 0000000000010000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000000000c
R10: 000000000000000c R11: 0000000000010000 R12: ffff88805ec0d308
R13: dffffc0000000000 R14: ffffc90000007da8 R15: 0000000000000000
FS: 00007fa8b9a896c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000007af5d000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000200000000300 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
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_3b53280d0bd88656+0x5b/0xaa8
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+0x15b/0x2d0 kernel/trace/bpf_trace.c:1915
trace_tlb_flush+0xe6/0x110 include/trace/events/tlb.h:38
flush_tlb_func+0x43f/0x510 arch/x86/mm/tlb.c:855
flush_smp_call_function_queue+0x2a9/0x760 kernel/smp.c:628
__sysvec_call_function_single+0x98/0x240 arch/x86/kernel/smp.c:248
instr_sysvec_call_function_single arch/x86/kernel/smp.c:243 [inline]
sysvec_call_function_single+0x98/0xc0 arch/x86/kernel/smp.c:243
asm_sysvec_call_function_single+0x16/0x20 arch/x86/include/asm/idtentry.h:684
RIP: 0010:__preempt_count_add kernel/rcu/tree.c:1119 [inline]
RIP: 0010:rcu_is_watching+0x0/0xa0 kernel/rcu/tree.c:1122
Code: 70 75 1b 48 8d 65 e8 5b 41 5e 41 5f 5d c3 e8 b7 3e 45 08 41 f7 c7 00 02 00 00 75 b8 eb b7 e8 97 3e 45 08 0f 1f 80 00 00 00 00 <41> 57 41 56 53 65 ff 05 7c c0 9e 7e e8 8f 4e 45 08 89 c3 83 f8 08
RSP: 0018:ffffc900036bf798 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 0000000000000001 RCX: dffffc0000000000
RDX: ffffc900036bff00 RSI: 0000000000000000 RDI: 00007fa8bb8217eb
RBP: ffffc900036bf870 R08: 0000000000000004 R09: 0000000000000006
R10: fffff520006d7f09 R11: 1ffff920006d7f07 R12: ffff88805ec0bb80
R13: dffffc0000000000 R14: 00007fa8bb8217eb R15: 1ffff920006d7f06
kernel_text_address kernel/extable.c:139 [inline]
__kernel_text_address+0x71/0x100 kernel/extable.c:105
unwind_get_return_address+0x49/0x80 arch/x86/kernel/unwind_orc.c:323
arch_stack_walk+0xf2/0x140 arch/x86/kernel/stacktrace.c:26
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]
tomoyo_realpath_from_path+0x118/0x610 security/tomoyo/realpath.c:254
tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
tomoyo_path_number_perm+0x1d5/0x5d0 security/tomoyo/file.c:723
security_file_ioctl+0x6c/0xa0 security/security.c:1555
__do_sys_ioctl fs/ioctl.c:868 [inline]
__se_sys_ioctl+0x48/0x170 fs/ioctl.c:860
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:0x7fa8bb8217eb
Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00
RSP: 002b:00007fa8b9a89050 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fa8bba59038 RCX: 00007fa8bb8217eb
RDX: 0000000000000000 RSI: 0000000000006364 RDI: 00000000000000d8
RBP: 0000000000000000 R08: 00007ffd2695fe07 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fa8bba59038 R14: 00007ffd2695fd20 R15: 00007ffd2695fe08
----------------
Code disassembly (best guess):
0: 70 75 jo 0x77
2: 1b 48 8d sbb -0x73(%rax),%ecx
5: 65 e8 5b 41 5e 41 gs call 0x415e4166
b: 5f pop %rdi
c: 5d pop %rbp
d: c3 ret
e: e8 b7 3e 45 08 call 0x8453eca
13: 41 f7 c7 00 02 00 00 test $0x200,%r15d
1a: 75 b8 jne 0xffffffd4
1c: eb b7 jmp 0xffffffd5
1e: e8 97 3e 45 08 call 0x8453eba
23: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
* 2a: 41 57 push %r15 <-- trapping instruction
2c: 41 56 push %r14
2e: 53 push %rbx
2f: 65 ff 05 7c c0 9e 7e incl %gs:0x7e9ec07c(%rip) # 0x7e9ec0b2
36: e8 8f 4e 45 08 call 0x8454eca
3b: 89 c3 mov %eax,%ebx
3d: 83 f8 08 cmp $0x8,%eax