BUG: unable to handle page fault for address: fffffbfff0000000
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 23ffe4067 P4D 23ffe4067 PUD 23ffe3067 PMD 0
Oops: Oops: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 0 UID: 0 PID: 5372 Comm: syz.2.15 Not tainted 6.12.0-rc2-next-20241008-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:87 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:104 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:161 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x82/0x290 mm/kasan/generic.c:189
Code: 01 00 00 00 00 fc ff df 4f 8d 3c 31 4c 89 fd 4c 29 dd 48 83 fd 10 7f 29 48 85 ed 0f 84 3e 01 00 00 4c 89 cd 48 f7 d5 48 01 dd <41> 80 3b 00 0f 85 c9 01 00 00 49 ff c3 48 ff c5 75 ee e9 1e 01 00
RSP: 0018:ffffc90000007db8 EFLAGS: 00010086
RAX: 0000000000000001 RBX: 1ffffffff0000000 RCX: ffffffff81cf65ff
RDX: 0000000000000000 RSI: 0000000000000005 RDI: ffffffff80000000
RBP: ffffffffffffffff R08: ffffffff80000004 R09: 1ffffffff0000000
R10: dffffc0000000000 R11: fffffbfff0000000 R12: ffffffff80000000
R13: 0000000000000005 R14: dffffc0000000001 R15: fffffbfff0000001
FS: 00007f0a256596c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffbfff0000000 CR3: 0000000027a7e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
instrument_read include/linux/instrumented.h:26 [inline]
copy_from_kernel_nofault+0x6f/0x2f0 mm/maccess.c:35
bpf_probe_read_kernel_common include/linux/bpf.h:2960 [inline]
____bpf_probe_read_compat kernel/trace/bpf_trace.c:294 [inline]
bpf_probe_read_compat+0x10f/0x180 kernel/trace/bpf_trace.c:287
bpf_prog_cb06cae8179e3bfa+0x43/0x45
bpf_dispatcher_nop_func include/linux/bpf.h:1257 [inline]
__bpf_prog_run include/linux/filter.h:701 [inline]
bpf_prog_run include/linux/filter.h:708 [inline]
__bpf_prog_test_run_raw_tp+0x204/0x440 net/bpf/test_run.c:746
csd_do_func kernel/smp.c:134 [inline]
__flush_smp_call_function_queue+0x3fc/0x1690 kernel/smp.c:540
__sysvec_call_function_single+0xb8/0x430 arch/x86/kernel/smp.c:271
instr_sysvec_call_function_single arch/x86/kernel/smp.c:266 [inline]
sysvec_call_function_single+0x9e/0xc0 arch/x86/kernel/smp.c:266
asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:709
RIP: 0010:generic_perform_write+0x312/0x6d0 mm/filemap.c:4056
Code: ff e8 92 c9 c6 ff b8 00 01 00 00 48 21 c3 0f 85 04 03 00 00 e8 9f c4 c6 ff 48 8b 5c 24 70 48 89 d8 48 c1 e8 03 42 80 3c 28 00 <74> 08 48 89 df e8 b4 7b 30 00 4c 8b 1b 48 8b 7c 24 38 48 8b 74 24
RSP: 0018:ffffc9000462f5e0 EFLAGS: 00000246
RAX: 1ffffffff1828f75 RBX: ffffffff8c147ba8 RCX: 0000000000040000
RDX: ffffc90009fb9000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffffc9000462f720 R08: ffffffff81ce2f62 R09: 1ffff11004e8a780
R10: dffffc0000000000 R11: ffffed1004e8a781 R12: 0000000000000001
R13: dffffc0000000000 R14: ffff888027453c00 R15: ffff8880270ec5e4
shmem_file_write_iter+0xf9/0x120 mm/shmem.c:3240
iter_file_splice_write+0xbfa/0x1510 fs/splice.c:743
do_splice_from fs/splice.c:941 [inline]
direct_splice_actor+0x11b/0x220 fs/splice.c:1164
splice_direct_to_actor+0x586/0xc80 fs/splice.c:1108
do_splice_direct_actor fs/splice.c:1207 [inline]
do_splice_direct+0x289/0x3e0 fs/splice.c:1233
do_sendfile+0x561/0xe10 fs/read_write.c:1388
__do_sys_sendfile64 fs/read_write.c:1455 [inline]
__se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1441
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f0a2477dff9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f0a25659038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f0a24935f80 RCX: 00007f0a2477dff9
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000005
RBP: 00007f0a247f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000003ffff R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f0a24935f80 R15: 00007ffcb4c08388
Modules linked in:
CR2: fffffbfff0000000
---[ end trace 0000000000000000 ]---
RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:87 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:104 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:161 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x82/0x290 mm/kasan/generic.c:189
Code: 01 00 00 00 00 fc ff df 4f 8d 3c 31 4c 89 fd 4c 29 dd 48 83 fd 10 7f 29 48 85 ed 0f 84 3e 01 00 00 4c 89 cd 48 f7 d5 48 01 dd <41> 80 3b 00 0f 85 c9 01 00 00 49 ff c3 48 ff c5 75 ee e9 1e 01 00
RSP: 0018:ffffc90000007db8 EFLAGS: 00010086
RAX: 0000000000000001 RBX: 1ffffffff0000000 RCX: ffffffff81cf65ff
RDX: 0000000000000000 RSI: 0000000000000005 RDI: ffffffff80000000
RBP: ffffffffffffffff R08: ffffffff80000004 R09: 1ffffffff0000000
R10: dffffc0000000000 R11: fffffbfff0000000 R12: ffffffff80000000
R13: 0000000000000005 R14: dffffc0000000001 R15: fffffbfff0000001
FS: 00007f0a256596c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffbfff0000000 CR3: 0000000027a7e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 7 bytes skipped:
0: df 4f 8d fisttps -0x73(%rdi)
3: 3c 31 cmp $0x31,%al
5: 4c 89 fd mov %r15,%rbp
8: 4c 29 dd sub %r11,%rbp
b: 48 83 fd 10 cmp $0x10,%rbp
f: 7f 29 jg 0x3a
11: 48 85 ed test %rbp,%rbp
14: 0f 84 3e 01 00 00 je 0x158
1a: 4c 89 cd mov %r9,%rbp
1d: 48 f7 d5 not %rbp
20: 48 01 dd add %rbx,%rbp
* 23: 41 80 3b 00 cmpb $0x0,(%r11) <-- trapping instruction
27: 0f 85 c9 01 00 00 jne 0x1f6
2d: 49 ff c3 inc %r11
30: 48 ff c5 inc %rbp
33: 75 ee jne 0x23
35: e9 .byte 0xe9
36: 1e (bad)
37: 01 00 add %eax,(%rax)