REISERFS (device loop4): journal params: device loop4, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 REISERFS (device loop4): checking transaction log (loop4) REISERFS (device loop4): Using r5 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: 1 PID: 6058 Comm: syz-executor.4 Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 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:ffffc9000198f968 EFLAGS: 00010212 RAX: 0000000000000036 RBX: 0000000000000000 RCX: 000000000000000d RDX: dffffc0000000000 RSI: 0000000000280202 RDI: 0000000000000068 RBP: ffff88802f703608 R08: 000000000000006c R09: ffffc9000198fa08 R10: ffffed1006e99035 R11: 0000000000000001 R12: ffff8880374c87a0 R13: ffff888030c8c000 R14: 0000000000000000 R15: ffff8880374c8620 FS: 00007fa18426f700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa184270000 CR3: 0000000015a96000 CR4: 0000000000350ee0 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:2881 [inline] path_mount+0x7f3/0x1b30 fs/namespace.c:3211 do_mount fs/namespace.c:3224 [inline] __do_sys_mount fs/namespace.c:3432 [inline] __se_sys_mount fs/namespace.c:3409 [inline] __x64_sys_mount+0x1f5/0x260 fs/namespace.c:3409 do_syscall_64+0x2d/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fa184efe69a 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:00007fa18426ef88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00000000000010ee RCX: 00007fa184efe69a RDX: 0000000020001100 RSI: 0000000020001140 RDI: 00007fa18426efe0 RBP: 00007fa18426f020 R08: 00007fa18426f020 R09: 0000000000010080 R10: 0000000000010080 R11: 0000000000000246 R12: 0000000020001100 R13: 0000000020001140 R14: 00007fa18426efe0 R15: 0000000020000340 Modules linked in: ---[ end trace 567f938d71c060dd ]--- 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:ffffc9000198f968 EFLAGS: 00010212 RAX: 0000000000000036 RBX: 0000000000000000 RCX: 000000000000000d RDX: dffffc0000000000 RSI: 0000000000280202 RDI: 0000000000000068 RBP: ffff88802f703608 R08: 000000000000006c R09: ffffc9000198fa08 R10: ffffed1006e99035 R11: 0000000000000001 R12: ffff8880374c87a0 R13: ffff888030c8c000 R14: 0000000000000000 R15: ffff8880374c8620 FS: 00007fa18426f700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ea7485b680 CR3: 0000000015a96000 CR4: 0000000000350ee0 ---------------- 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