RBP: 00007f0627de01d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffeed0fcedf R14: 00007f0627de0300 R15: 0000000000022000
general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 1 PID: 58040 Comm: syz-executor.5 Not tainted 6.3.0-rc6-next-20230413 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
RIP: 0010:folio_wait_stable+0x23/0xe0
Code: 90 90 90 90 90 90 90 f3 0f 1e fa 55 48 89 fd 53 e8 62 58 e7 ff 48 8d 7d 18 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 a4 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b
RSP: 0018:ffff88804676f9f0 EFLAGS: 00010213
RAX: dffffc0000000000 RBX: ffff88801bb7aa50 RCX: ffffc900039ea000
RDX: 0000000000000001 RSI: ffffffff81646e3e RDI: 000000000000000c
RBP: fffffffffffffff4 R08: 0000000000000001 R09: ffffffff856c1213
R10: fffffbfff0ad8242 R11: 0000000000000001 R12: 0000000000000000
R13: ffff88801bb7ac78 R14: 0000000000000000 R15: 0000000000000000
FS: 00007f0627de0700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000183f6000 CR4: 0000000000350ee0
Call Trace:
ext4_da_write_begin+0x38d/0x830
generic_perform_write+0x25a/0x580
ext4_buffered_write_iter+0x164/0x460
ext4_file_write_iter+0x3ff/0x1950
vfs_write+0x9b5/0xdc0
ksys_write+0x12b/0x260
do_syscall_64+0x3f/0x90
entry_SYSCALL_64_after_hwframe+0x72/0xdc
RIP: 0033:0x7f062a86ab19
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f0627de0188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f062a97df60 RCX: 00007f062a86ab19
RDX: 00000000000292e9 RSI: 0000000020000080 RDI: 0000000000000006
RBP: 00007f0627de01d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffeed0fcedf R14: 00007f0627de0300 R15: 0000000000022000
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:folio_wait_stable+0x23/0xe0
Code: 90 90 90 90 90 90 90 f3 0f 1e fa 55 48 89 fd 53 e8 62 58 e7 ff 48 8d 7d 18 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 a4 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b
RSP: 0018:ffff88804676f9f0 EFLAGS: 00010213
RAX: dffffc0000000000 RBX: ffff88801bb7aa50 RCX: ffffc900039ea000
RDX: 0000000000000001 RSI: ffffffff81646e3e RDI: 000000000000000c
RBP: fffffffffffffff4 R08: 0000000000000001 R09: ffffffff856c1213
R10: fffffbfff0ad8242 R11: 0000000000000001 R12: 0000000000000000
R13: ffff88801bb7ac78 R14: 0000000000000000 R15: 0000000000000000
FS: 00007f0627de0700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000183f6000 CR4: 0000000000350ee0
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 58058 Comm: syz-executor.1 Tainted: G D 6.3.0-rc6-next-20230413 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
Call Trace:
dump_stack_lvl+0xc1/0xf0
should_fail_ex+0x4b4/0x5b0
should_failslab+0x9/0x20
__kmem_cache_alloc_node+0x5b/0x310
__kmalloc+0x4a/0x160
iter_file_splice_write+0x169/0xcb0
direct_splice_actor+0x113/0x180
splice_direct_to_actor+0x33a/0x8c0
do_splice_direct+0x1bc/0x290
do_sendfile+0xb1d/0x12b0
__x64_sys_sendfile64+0x1d5/0x210
do_syscall_64+0x3f/0x90
entry_SYSCALL_64_after_hwframe+0x72/0xdc
RIP: 0033:0x7ff9e475db19
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ff9e1cd3188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007ff9e4870f60 RCX: 00007ff9e475db19
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000004
RBP: 00007ff9e1cd31d0 R08: 0000000000000000 R09: 0000000000000000
R10: 2000000000000100 R11: 0000000000000246 R12: 0000000000000002
R13: 00007ffdade6df5f R14: 00007ff9e1cd3300 R15: 0000000000022000
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 58067 Comm: syz-executor.1 Tainted: G D 6.3.0-rc6-next-20230413 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
Call Trace:
dump_stack_lvl+0xc1/0xf0
should_fail_ex+0x4b4/0x5b0
should_failslab+0x9/0x20
__kmem_cache_alloc_node+0x5b/0x310
__kmalloc+0x4a/0x160
kernfs_fop_read_iter+0x4af/0x690
direct_splice_read+0x3c4/0x990
vfs_splice_read+0x1c0/0x240
splice_direct_to_actor+0x2b0/0x8c0
do_splice_direct+0x1bc/0x290
do_sendfile+0xb1d/0x12b0
__x64_sys_sendfile64+0x1d5/0x210
do_syscall_64+0x3f/0x90
entry_SYSCALL_64_after_hwframe+0x72/0xdc
RIP: 0033:0x7ff9e475db19
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ff9e1cd3188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007ff9e4870f60 RCX: 00007ff9e475db19
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000004
RBP: 00007ff9e1cd31d0 R08: 0000000000000000 R09: 0000000000000000
R10: 2000000000000100 R11: 0000000000000246 R12: 0000000000000002
R13: 00007ffdade6df5f R14: 00007ff9e1cd3300 R15: 0000000000022000
----------------
Code disassembly (best guess):
0: 90 nop
1: 90 nop
2: 90 nop
3: 90 nop
4: 90 nop
5: 90 nop
6: 90 nop
7: f3 0f 1e fa endbr64
b: 55 push %rbp
c: 48 89 fd mov %rdi,%rbp
f: 53 push %rbx
10: e8 62 58 e7 ff callq 0xffe75877
15: 48 8d 7d 18 lea 0x18(%rbp),%rdi
19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
20: fc ff df
23: 48 89 fa mov %rdi,%rdx
26: 48 c1 ea 03 shr $0x3,%rdx
* 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction
2e: 0f 85 a4 00 00 00 jne 0xd8
34: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
3b: fc ff df
3e: 48 rex.W
3f: 8b .byte 0x8b