REISERFS (device loop0): journal params: device loop0, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop0): checking transaction log (loop0) REISERFS (device loop0): Using rupasov hash to sort names general protection fault, probably for non-canonical address 0xdffffc000000000d: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000068-0x000000000000006f] CPU: 0 PID: 6016 Comm: syz-executor.0 Not tainted 5.11.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:d_really_is_negative include/linux/dcache.h:473 [inline] RIP: 0010:reiserfs_xattr_jcreate_nblocks fs/reiserfs/xattr.h:78 [inline] RIP: 0010:reiserfs_security_init+0x218/0x480 fs/reiserfs/xattr_security.c:70 Code: 48 c1 e9 03 80 3c 11 00 0f 85 31 02 00 00 48 8b 9b a0 05 00 00 48 ba 00 00 00 00 00 fc ff df 48 8d 7b 68 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 e5 01 00 00 4c 01 c0 48 83 7b 68 00 74 03 4c 89 RSP: 0018:ffffc9000189f968 EFLAGS: 00010202 RAX: 0000000000000036 RBX: 0000000000000000 RCX: 000000000000000d RDX: dffffc0000000000 RSI: 0000000000280202 RDI: 0000000000000068 RBP: 000000000000057d R08: 000000000000006c R09: ffffc9000189fa08 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888032c407a0 R13: ffff888018842000 R14: 0000000000000000 R15: ffff888032c40620 FS: 00007fc16cbfa700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a5df358048 CR3: 00000000169df000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: reiserfs_mkdir+0x280/0x860 fs/reiserfs/namei.c:821 create_privroot fs/reiserfs/xattr.c:889 [inline] reiserfs_xattr_init+0x412/0xa60 fs/reiserfs/xattr.c:1011 reiserfs_fill_super+0x1c53/0x2670 fs/reiserfs/super.c:2177 mount_bdev+0x2cb/0x3b0 fs/super.c:1366 legacy_get_tree+0xfa/0x1f0 fs/fs_context.c:592 vfs_get_tree+0x7f/0x2c0 fs/super.c:1496 do_new_mount fs/namespace.c:2878 [inline] path_mount+0x7f3/0x1b30 fs/namespace.c:3208 do_mount fs/namespace.c:3221 [inline] __do_sys_mount fs/namespace.c:3429 [inline] __se_sys_mount fs/namespace.c:3406 [inline] __x64_sys_mount+0x1f5/0x260 fs/namespace.c:3406 do_syscall_64+0x2d/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fc16d888b6a Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 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:00007fc16cbf9f88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fc16d888b6a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fc16cbf9fe0 RBP: 00007fc16cbfa020 R08: 00007fc16cbfa020 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000000 R13: 0000000020000100 R14: 00007fc16cbf9fe0 R15: 0000000020000040 Modules linked in: ---[ end trace 8e38af5baa6a5283 ]--- RIP: 0010:d_really_is_negative include/linux/dcache.h:473 [inline] RIP: 0010:reiserfs_xattr_jcreate_nblocks fs/reiserfs/xattr.h:78 [inline] RIP: 0010:reiserfs_security_init+0x218/0x480 fs/reiserfs/xattr_security.c:70 Code: 48 c1 e9 03 80 3c 11 00 0f 85 31 02 00 00 48 8b 9b a0 05 00 00 48 ba 00 00 00 00 00 fc ff df 48 8d 7b 68 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 e5 01 00 00 4c 01 c0 48 83 7b 68 00 74 03 4c 89 RSP: 0018:ffffc9000189f968 EFLAGS: 00010202 RAX: 0000000000000036 RBX: 0000000000000000 RCX: 000000000000000d RDX: dffffc0000000000 RSI: 0000000000280202 RDI: 0000000000000068 RBP: 000000000000057d R08: 000000000000006c R09: ffffc9000189fa08 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888032c407a0 R13: ffff888018842000 R14: 0000000000000000 R15: ffff888032c40620 FS: 00007fc16cbfa700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a5df358048 CR3: 00000000169df000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 c1 e9 03 shr $0x3,%rcx 4: 80 3c 11 00 cmpb $0x0,(%rcx,%rdx,1) 8: 0f 85 31 02 00 00 jne 0x23f e: 48 8b 9b a0 05 00 00 mov 0x5a0(%rbx),%rbx 15: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 1c: fc ff df 1f: 48 8d 7b 68 lea 0x68(%rbx),%rdi 23: 48 89 f9 mov %rdi,%rcx 26: 48 c1 e9 03 shr $0x3,%rcx * 2a: 80 3c 11 00 cmpb $0x0,(%rcx,%rdx,1) <-- trapping instruction 2e: 0f 85 e5 01 00 00 jne 0x219 34: 4c 01 c0 add %r8,%rax 37: 48 83 7b 68 00 cmpq $0x0,0x68(%rbx) 3c: 74 03 je 0x41 3e: 4c rex.WR 3f: 89 .byte 0x89