bcachefs (loop0): delete_dead_snapshots... done
bcachefs (loop0): check_inodes... done
bcachefs (loop0): check_extents... done
bcachefs (loop0): check_indirect_extents... done
bcachefs (loop0): check_dirents... done
bcachefs (loop0): check_xattrs... done
bcachefs (loop0): check_root... done
bcachefs (loop0): check_unreachable_inodes... done
bcachefs (loop0): check_subvolume_structure... done
bcachefs (loop0): check_directory_structure... done
bcachefs (loop0): check_nlinks... done
bcachefs (loop0): resume_logged_ops... done
bcachefs (loop0): delete_dead_inodes... done
bcachefs (loop0): set_fs_needs_rebalance... done
bcachefs (loop0): done starting filesystem
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 1
CPU: 0 UID: 0 PID: 5324 Comm: syz.0.0 Not tainted 6.15.0-rc3-syzkaller-00076-ge72e9e693307 #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
fail_dump lib/fault-inject.c:73 [inline]
should_fail_ex+0x414/0x560 lib/fault-inject.c:174
should_failslab+0xa8/0x100 mm/failslab.c:46
slab_pre_alloc_hook mm/slub.c:4114 [inline]
slab_alloc_node mm/slub.c:4190 [inline]
kmem_cache_alloc_noprof+0x73/0x3c0 mm/slub.c:4217
__bkey_cached_alloc+0x27/0xf0 fs/bcachefs/btree_key_cache.c:123
bkey_cached_alloc fs/bcachefs/btree_key_cache.c:149 [inline]
btree_key_cache_create fs/bcachefs/btree_key_cache.c:222 [inline]
btree_key_cache_fill+0x1fea/0x2fc0 fs/bcachefs/btree_key_cache.c:332
bch2_btree_path_traverse_cached+0x768/0xaa0 fs/bcachefs/btree_key_cache.c:387
bch2_btree_path_traverse_one+0x400/0x2430 fs/bcachefs/btree_iter.c:1165
bch2_btree_path_traverse fs/bcachefs/btree_iter.h:248 [inline]
bch2_btree_iter_peek_slot+0x772/0x1f00 fs/bcachefs/btree_iter.c:2760
__bch2_bkey_get_iter fs/bcachefs/btree_iter.h:591 [inline]
bch2_bkey_get_iter fs/bcachefs/btree_iter.h:605 [inline]
__bch2_inode_peek+0x133/0x370 fs/bcachefs/inode.c:347
bch2_inode_peek_nowarn fs/bcachefs/inode.h:128 [inline]
bch2_inode_find_by_inum_nowarn_trans+0xb0/0x130 fs/bcachefs/inode.c:1109
bch2_lookup_trans fs/bcachefs/fs.c:666 [inline]
bch2_lookup+0x932/0xf20 fs/bcachefs/fs.c:697
lookup_open fs/namei.c:3679 [inline]
open_last_lookups fs/namei.c:3800 [inline]
path_openat+0x10fe/0x3830 fs/namei.c:4036
do_filp_open+0x1fa/0x410 fs/namei.c:4066
do_open_execat+0x135/0x450 fs/exec.c:893
alloc_bprm+0x28/0xbc0 fs/exec.c:1518
do_execveat_common+0x1b3/0x6a0 fs/exec.c:1919
do_execve fs/exec.c:2042 [inline]
__do_sys_execve fs/exec.c:2118 [inline]
__se_sys_execve fs/exec.c:2113 [inline]
__x64_sys_execve+0x94/0xb0 fs/exec.c:2113
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f02e6b8e969
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:00007f02e7981038 EFLAGS: 00000246 ORIG_RAX: 000000000000003b
RAX: ffffffffffffffda RBX: 00007f02e6db5fa0 RCX: 00007f02e6b8e969
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000000
RBP: 00007f02e7981090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 0000000000000000 R14: 00007f02e6db5fa0 R15: 00007fff95340458
Oops: general protection fault, probably for non-canonical address 0xdffffc000000000e: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000070-0x0000000000000077]
CPU: 0 UID: 0 PID: 5324 Comm: syz.0.0 Not tainted 6.15.0-rc3-syzkaller-00076-ge72e9e693307 #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:kasan_byte_accessible+0x12/0x30 mm/kasan/generic.c:199
Code: 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 48 c1 ef 03 48 b8 00 00 00 00 00 fc ff df <0f> b6 04 07 3c 08 0f 92 c0 c3 cc cc cc cc cc 66 66 66 66 66 66 2e
RSP: 0018:ffffc9000d12e8d8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffffffff844782b3 RCX: 6c6ab5f1ae11a300
RDX: 0000000000000000 RSI: ffffffff844782b3 RDI: 000000000000000e
RBP: ffffffff841f0dee R08: 0000000000000001 R09: 0000000000000000
R10: ffffc9000d12eb90 R11: fffff52001a25d77 R12: 0000000000000000
R13: 0000000000000070 R14: 0000000000000070 R15: 0000000000000001
FS: 00007f02e79816c0(0000) GS:ffff88808d2a3000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffeaa9bcef8 CR3: 000000003b74a000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__kasan_check_byte+0x12/0x40 mm/kasan/common.c:556
kasan_check_byte include/linux/kasan.h:399 [inline]
lock_acquire+0x8d/0x360 kernel/locking/lockdep.c:5840
six_lock_ip_waiter+0xa3/0x170 fs/bcachefs/six.c:553
six_lock_ip fs/bcachefs/six.h:255 [inline]
six_lock_ip_intent fs/bcachefs/six.h:368 [inline]
six_lock_intent fs/bcachefs/six.h:368 [inline]
bkey_cached_alloc fs/bcachefs/btree_key_cache.c:169 [inline]
btree_key_cache_create fs/bcachefs/btree_key_cache.c:222 [inline]
btree_key_cache_fill+0x575/0x2fc0 fs/bcachefs/btree_key_cache.c:332
bch2_btree_path_traverse_cached+0x768/0xaa0 fs/bcachefs/btree_key_cache.c:387
bch2_btree_path_traverse_one+0x400/0x2430 fs/bcachefs/btree_iter.c:1165
bch2_btree_path_traverse fs/bcachefs/btree_iter.h:248 [inline]
bch2_btree_iter_peek_slot+0x772/0x1f00 fs/bcachefs/btree_iter.c:2760
__bch2_bkey_get_iter fs/bcachefs/btree_iter.h:591 [inline]
bch2_bkey_get_iter fs/bcachefs/btree_iter.h:605 [inline]
__bch2_inode_peek+0x133/0x370 fs/bcachefs/inode.c:347
bch2_inode_peek_nowarn fs/bcachefs/inode.h:128 [inline]
bch2_inode_find_by_inum_nowarn_trans+0xb0/0x130 fs/bcachefs/inode.c:1109
bch2_lookup_trans fs/bcachefs/fs.c:666 [inline]
bch2_lookup+0x932/0xf20 fs/bcachefs/fs.c:697
lookup_open fs/namei.c:3679 [inline]
open_last_lookups fs/namei.c:3800 [inline]
path_openat+0x10fe/0x3830 fs/namei.c:4036
do_filp_open+0x1fa/0x410 fs/namei.c:4066
do_open_execat+0x135/0x450 fs/exec.c:893
alloc_bprm+0x28/0xbc0 fs/exec.c:1518
do_execveat_common+0x1b3/0x6a0 fs/exec.c:1919
do_execve fs/exec.c:2042 [inline]
__do_sys_execve fs/exec.c:2118 [inline]
__se_sys_execve fs/exec.c:2113 [inline]
__x64_sys_execve+0x94/0xb0 fs/exec.c:2113
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f02e6b8e969
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:00007f02e7981038 EFLAGS: 00000246 ORIG_RAX: 000000000000003b
RAX: ffffffffffffffda RBX: 00007f02e6db5fa0 RCX: 00007f02e6b8e969
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000000
RBP: 00007f02e7981090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 0000000000000000 R14: 00007f02e6db5fa0 R15: 00007fff95340458
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:kasan_byte_accessible+0x12/0x30 mm/kasan/generic.c:199
Code: 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 48 c1 ef 03 48 b8 00 00 00 00 00 fc ff df <0f> b6 04 07 3c 08 0f 92 c0 c3 cc cc cc cc cc 66 66 66 66 66 66 2e
RSP: 0018:ffffc9000d12e8d8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffffffff844782b3 RCX: 6c6ab5f1ae11a300
RDX: 0000000000000000 RSI: ffffffff844782b3 RDI: 000000000000000e
RBP: ffffffff841f0dee R08: 0000000000000001 R09: 0000000000000000
R10: ffffc9000d12eb90 R11: fffff52001a25d77 R12: 0000000000000000
R13: 0000000000000070 R14: 0000000000000070 R15: 0000000000000001
FS: 00007f02e79816c0(0000) GS:ffff88808d2a3000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffeaa9bcef8 CR3: 000000003b74a000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1)
7: 00
8: 90 nop
9: 90 nop
a: 90 nop
b: 90 nop
c: 90 nop
d: 90 nop
e: 90 nop
f: 90 nop
10: 90 nop
11: 90 nop
12: 90 nop
13: 90 nop
14: 90 nop
15: 90 nop
16: 90 nop
17: 90 nop
18: 66 0f 1f 00 nopw (%rax)
1c: 48 c1 ef 03 shr $0x3,%rdi
20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
27: fc ff df
* 2a: 0f b6 04 07 movzbl (%rdi,%rax,1),%eax <-- trapping instruction
2e: 3c 08 cmp $0x8,%al
30: 0f 92 c0 setb %al
33: c3 ret
34: cc int3
35: cc int3
36: cc int3
37: cc int3
38: cc int3
39: 66 data16
3a: 66 data16
3b: 66 data16
3c: 66 data16
3d: 66 data16
3e: 66 data16
3f: 2e cs