loop0: detected capacity change from 0 to 32768 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 UID: 0 PID: 5103 Comm: syz-executor213 Not tainted 6.11.0-syzkaller-02574-ga430d95c5efa #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:strlen+0x2c/0x70 lib/string.c:402 Code: 1e fa 41 57 41 56 41 54 53 49 89 fe 48 c7 c0 ff ff ff ff 49 bf 00 00 00 00 00 fc ff df 48 89 fb 49 89 c4 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 75 12 48 ff c3 49 8d 44 24 01 43 80 7c 26 01 RSP: 0018:ffffc90002d7f7c8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff88801e424880 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90002d7f8c0 R08: ffffffff843cae61 R09: ffffffff843cae37 R10: 0000000000000004 R11: ffff88801e424880 R12: ffffffffffffffff R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00005555913ff380(0000) GS:ffff88801fe00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563f1ec37108 CR3: 0000000011a5e000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: prt_str+0x30/0x7d0 fs/bcachefs/printbuf.h:230 print_mount_opts+0x29e/0x3e0 fs/bcachefs/super.c:992 bch2_fs_start+0x36/0x5b0 fs/bcachefs/super.c:1004 bch2_fs_get_tree+0xd61/0x1700 fs/bcachefs/fs.c:1956 vfs_get_tree+0x90/0x2b0 fs/super.c:1800 do_new_mount+0x2be/0xb40 fs/namespace.c:3507 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4055 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4032 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:0x7f136a4dadea Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc8cd5eec8 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffc8cd5eee0 RCX: 00007f136a4dadea RDX: 00000000200058c0 RSI: 0000000020005900 RDI: 00007ffc8cd5eee0 RBP: 0000000000000004 R08: 00007ffc8cd5ef20 R09: 0000000000005934 R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000000 R13: 00007ffc8cd5ef20 R14: 0000000000000003 R15: 0000000001000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:strlen+0x2c/0x70 lib/string.c:402 Code: 1e fa 41 57 41 56 41 54 53 49 89 fe 48 c7 c0 ff ff ff ff 49 bf 00 00 00 00 00 fc ff df 48 89 fb 49 89 c4 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 75 12 48 ff c3 49 8d 44 24 01 43 80 7c 26 01 RSP: 0018:ffffc90002d7f7c8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff88801e424880 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90002d7f8c0 R08: ffffffff843cae61 R09: ffffffff843cae37 R10: 0000000000000004 R11: ffff88801e424880 R12: ffffffffffffffff R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00005555913ff380(0000) GS:ffff88801fe00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563f1ec37108 CR3: 0000000011a5e000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: fa cli 1: 41 57 push %r15 3: 41 56 push %r14 5: 41 54 push %r12 7: 53 push %rbx 8: 49 89 fe mov %rdi,%r14 b: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax 12: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 19: fc ff df 1c: 48 89 fb mov %rdi,%rbx 1f: 49 89 c4 mov %rax,%r12 22: 48 89 d8 mov %rbx,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 75 12 jne 0x44 32: 48 ff c3 inc %rbx 35: 49 8d 44 24 01 lea 0x1(%r12),%rax 3a: 43 rex.XB 3b: 80 .byte 0x80 3c: 7c 26 jl 0x64 3e: 01 .byte 0x1