------------[ cut here ]------------
WARNING: CPU: 0 PID: 6196 at mm/maccess.c:226 copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Modules linked in:
CPU: 0 PID: 6196 Comm: syz.1.484 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:copy_from_user_nofault+0x160/0x1c0 mm/maccess.c:226
Code: 24 45 31 f6 31 ff 89 de e8 0d 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 90 f2 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:ffffc90000007d30 EFLAGS: 00010006
RAX: ffffffff819ed980 RBX: 0000000000000000 RCX: ffff88801dce9dc0
RDX: 0000000000010000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed1003b9d3b9
R10: ffffed1003b9d3b9 R11: 1ffff11003b9d3b8 R12: ffff88801dceb548
R13: 00007ffffffff000 R14: ffffc90000007da8 R15: 0000000000000000
FS: 00007f76f48046c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f767f402f98 CR3: 000000007444a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
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_f3c4d654356a1293+0x34/0x814
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_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:dentry_path_raw+0x0/0xc0 fs/d_path.c:365
Code: d9 80 e1 07 38 c1 0f 8c 69 ff ff ff 48 89 df e8 36 e2 e7 ff e9 5c ff ff ff e8 6c 79 a3 ff 48 c7 c3 dc ff ff ff e9 4e ff ff ff <55> 41 57 41 56 53 48 83 ec 18 89 d5 49 89 f6 48 89 fb 65 48 8b 04
RSP: 0018:ffffc900013dfa18 EFLAGS: 00000206
RAX: ffffffff839c99b0 RBX: ffff88801ce0e3d0 RCX: ffff88801dce9dc0
RDX: 0000000000000ffe RSI: ffff88801f192000 RDI: ffff88801ce0e2f0
RBP: ffffc900013dfb40 R08: ffffffff89c000ca R09: 0000000000000002
R10: 000000000d5f0aac R11: 00000000c728fd13 R12: 0000000000000fff
R13: 1ffff9200027bf48 R14: ffff88801ce0e2f0 R15: dffffc0000000000
tomoyo_get_dentry_path security/tomoyo/realpath.c:131 [inline]
tomoyo_get_local_path+0xce/0x740 security/tomoyo/realpath.c:157
tomoyo_realpath_from_path+0x2dc/0x610 security/tomoyo/realpath.c:-1
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:0x7f76f659d34b
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:00007f76f4804050 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f76f67f4038 RCX: 00007f76f659d34b
RDX: 0000000000000000 RSI: 0000000000006364 RDI: 00000000000000d8
RBP: 0000000000000000 R08: 00007ffd8c8d19f7 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007f76f67f4038 R14: 00007ffd8c8d1910 R15: 00007ffd8c8d19f8
----------------
Code disassembly (best guess):
0: d9 80 e1 07 38 c1 flds -0x3ec7f81f(%rax)
6: 0f 8c 69 ff ff ff jl 0xffffff75
c: 48 89 df mov %rbx,%rdi
f: e8 36 e2 e7 ff call 0xffe7e24a
14: e9 5c ff ff ff jmp 0xffffff75
19: e8 6c 79 a3 ff call 0xffa3798a
1e: 48 c7 c3 dc ff ff ff mov $0xffffffffffffffdc,%rbx
25: e9 4e ff ff ff jmp 0xffffff78
* 2a: 55 push %rbp <-- trapping instruction
2b: 41 57 push %r15
2d: 41 56 push %r14
2f: 53 push %rbx
30: 48 83 ec 18 sub $0x18,%rsp
34: 89 d5 mov %edx,%ebp
36: 49 89 f6 mov %rsi,%r14
39: 48 89 fb mov %rdi,%rbx
3c: 65 gs
3d: 48 rex.W
3e: 8b .byte 0x8b
3f: 04 .byte 0x4