REISERFS (device loop0): 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: 0 PID: 12113 Comm: syz-executor.0 Not tainted 5.12.0-rc4-next-20210326-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:d_really_is_negative include/linux/dcache.h:475 [inline] RIP: 0010:reiserfs_xattr_jcreate_nblocks fs/reiserfs/xattr.h:79 [inline] RIP: 0010:reiserfs_security_init+0x28f/0x530 fs/reiserfs/xattr_security.c:71 Code: 48 c1 e9 03 80 3c 11 00 0f 85 91 02 00 00 49 8b 87 a0 05 00 00 48 ba 00 00 00 00 00 fc ff df 48 8d 78 68 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 4d 02 00 00 48 83 78 68 00 0f 84 be 01 00 00 48 RSP: 0018:ffffc90001eef970 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 0000000000000036 RCX: 000000000000000d RDX: dffffc0000000000 RSI: 000000000000006c RDI: 0000000000000068 RBP: ffff888074940798 R08: 0000000000000000 R09: ffffc90001eefa18 R10: ffffffff82035730 R11: 0000000000000000 R12: 000000000000057d R13: ffff888028ee4000 R14: 0000000000000000 R15: ffff88806fb88000 FS: 00007f5b7a2f4700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000440 CR3: 000000002c8c8000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: reiserfs_mkdir+0x2d0/0x980 fs/reiserfs/namei.c:822 create_privroot fs/reiserfs/xattr.c:889 [inline] reiserfs_xattr_init+0x4de/0xb60 fs/reiserfs/xattr.c:1012 reiserfs_fill_super+0x2166/0x2e00 fs/reiserfs/super.c:2177 mount_bdev+0x34d/0x410 fs/super.c:1368 legacy_get_tree+0x105/0x220 fs/fs_context.c:592 vfs_get_tree+0x89/0x2f0 fs/super.c:1498 do_new_mount fs/namespace.c:2903 [inline] path_mount+0x132a/0x1fa0 fs/namespace.c:3233 do_mount fs/namespace.c:3246 [inline] __do_sys_mount fs/namespace.c:3454 [inline] __se_sys_mount fs/namespace.c:3431 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3431 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x46797a Code: 48 c7 c2 bc 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5b7a2f3fa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 000000000046797a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f5b7a2f4000 RBP: 00007f5b7a2f4040 R08: 00007f5b7a2f4040 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000 R13: 0000000020000100 R14: 00007f5b7a2f4000 R15: 0000000020011500 Modules linked in: ---[ end trace 052ad5262c214a37 ]--- RIP: 0010:d_really_is_negative include/linux/dcache.h:475 [inline] RIP: 0010:reiserfs_xattr_jcreate_nblocks fs/reiserfs/xattr.h:79 [inline] RIP: 0010:reiserfs_security_init+0x28f/0x530 fs/reiserfs/xattr_security.c:71 Code: 48 c1 e9 03 80 3c 11 00 0f 85 91 02 00 00 49 8b 87 a0 05 00 00 48 ba 00 00 00 00 00 fc ff df 48 8d 78 68 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 4d 02 00 00 48 83 78 68 00 0f 84 be 01 00 00 48 RSP: 0018:ffffc90001eef970 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 0000000000000036 RCX: 000000000000000d RDX: dffffc0000000000 RSI: 000000000000006c RDI: 0000000000000068 RBP: ffff888074940798 R08: 0000000000000000 R09: ffffc90001eefa18 R10: ffffffff82035730 R11: 0000000000000000 R12: 000000000000057d R13: ffff888028ee4000 R14: 0000000000000000 R15: ffff88806fb88000 FS: 00007f5b7a2f4700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c020000 CR3: 000000002c8c8000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400