BUG: unable to handle page fault for address: ffffffffff600000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD d333067 P4D d333067 PUD d335067 PMD d358067 PTE 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5453 Comm: rm Not tainted 6.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:copy_from_kernel_nofault+0x81/0x2d0 mm/maccess.c:36 Code: 01 84 c0 0f 85 e1 01 00 00 41 ff 06 bf 07 00 00 00 4c 89 ee e8 e0 d1 ca ff 49 83 fd 07 76 58 4c 89 fb 49 83 c7 08 49 83 c5 f8 <49> 8b 2c 24 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 RSP: 0018:ffffc90004e07420 EFLAGS: 00010257 RAX: 0000000000000000 RBX: ffffc90004e07488 RCX: ffff88807be05940 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000007 RBP: ffffc90004e07490 R08: ffffffff81c26b50 R09: 1ffffffff2121a4c R10: dffffc0000000000 R11: fffffbfff2121a4d R12: ffffffffff600000 R13: 0000000000000000 R14: ffff88807be070ac R15: ffffc90004e07490 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600000 CR3: 000000001c04f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bpf_probe_read_kernel_common include/linux/bpf.h:2743 [inline] ____bpf_probe_read_kernel kernel/trace/bpf_trace.c:236 [inline] bpf_probe_read_kernel+0x2a/0x70 kernel/trace/bpf_trace.c:233 bpf_prog_bd8b22826c103b08+0x42/0x44 bpf_dispatcher_nop_func include/linux/bpf.h:1192 [inline] __bpf_prog_run include/linux/filter.h:651 [inline] bpf_prog_run include/linux/filter.h:658 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2307 [inline] bpf_trace_run2+0x201/0x420 kernel/trace/bpf_trace.c:2346 trace_kfree include/trace/events/kmem.h:94 [inline] kfree+0xf8/0x1a0 mm/slab_common.c:1043 tomoyo_realpath_from_path+0x5a3/0x5e0 security/tomoyo/realpath.c:286 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_check_open_permission+0x255/0x500 security/tomoyo/file.c:771 security_file_open+0x63/0xa0 security/security.c:2836 do_dentry_open+0x327/0x1590 fs/open.c:935 do_open fs/namei.c:3622 [inline] path_openat+0x2845/0x3280 fs/namei.c:3779 do_filp_open+0x234/0x490 fs/namei.c:3809 do_sys_openat2+0x13e/0x1d0 fs/open.c:1440 do_sys_open fs/open.c:1455 [inline] __do_sys_openat fs/open.c:1471 [inline] __se_sys_openat fs/open.c:1466 [inline] __x64_sys_openat+0x247/0x290 fs/open.c:1466 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x44/0xe0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f4a50f52a46 Code: 10 00 00 00 44 8b 54 24 e0 48 89 44 24 c0 48 8d 44 24 d0 48 89 44 24 c8 44 89 c2 4c 89 ce bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 0c f7 d8 89 05 0a 48 01 00 48 83 c8 ff c3 31 RSP: 002b:00007ffd6da3f0a8 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ffd6da3f308 RCX: 00007f4a50f52a46 RDX: 0000000000080000 RSI: 00007ffd6da3f120 RDI: 00000000ffffff9c RBP: 00007ffd6da3f110 R08: 0000000000080000 R09: 00007ffd6da3f120 R10: 0000000000000000 R11: 0000000000000287 R12: 00007ffd6da3f120 R13: 0000000000000009 R14: 00007ffd6da3f2ef R15: 00000000ffffffff Modules linked in: CR2: ffffffffff600000 ---[ end trace 0000000000000000 ]--- RIP: 0010:copy_from_kernel_nofault+0x81/0x2d0 mm/maccess.c:36 Code: 01 84 c0 0f 85 e1 01 00 00 41 ff 06 bf 07 00 00 00 4c 89 ee e8 e0 d1 ca ff 49 83 fd 07 76 58 4c 89 fb 49 83 c7 08 49 83 c5 f8 <49> 8b 2c 24 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 RSP: 0018:ffffc90004e07420 EFLAGS: 00010257 RAX: 0000000000000000 RBX: ffffc90004e07488 RCX: ffff88807be05940 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000007 RBP: ffffc90004e07490 R08: ffffffff81c26b50 R09: 1ffffffff2121a4c R10: dffffc0000000000 R11: fffffbfff2121a4d R12: ffffffffff600000 R13: 0000000000000000 R14: ffff88807be070ac R15: ffffc90004e07490 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600000 CR3: 000000001c04f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 01 84 c0 0f 85 e1 01 add %eax,0x1e1850f(%rax,%rax,8) 7: 00 00 add %al,(%rax) 9: 41 ff 06 incl (%r14) c: bf 07 00 00 00 mov $0x7,%edi 11: 4c 89 ee mov %r13,%rsi 14: e8 e0 d1 ca ff call 0xffcad1f9 19: 49 83 fd 07 cmp $0x7,%r13 1d: 76 58 jbe 0x77 1f: 4c 89 fb mov %r15,%rbx 22: 49 83 c7 08 add $0x8,%r15 26: 49 83 c5 f8 add $0xfffffffffffffff8,%r13 * 2a: 49 8b 2c 24 mov (%r12),%rbp <-- trapping instruction 2e: 48 89 d8 mov %rbx,%rax 31: 48 c1 e8 03 shr $0x3,%rax 35: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 3c: fc ff df 3f: 80 .byte 0x80