REISERFS (device loop5): Using tea 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: 29089 Comm: syz-executor.5 Not tainted 5.12.0-rc4-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+0x24a/0x440 fs/reiserfs/xattr_security.c:71 Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 2e d4 b6 ff 48 8b 1b 48 83 c3 68 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 08 d4 b6 ff 4d 85 ed b8 a2 00 00 00 RSP: 0018:ffffc90016b179c0 EFLAGS: 00010202 RAX: 000000000000000d RBX: 0000000000000068 RCX: dffffc0000000000 RDX: ffffc90013558000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000280202 R08: ffffffff82062a15 R09: ffffffff820628e7 R10: 0000000000000002 R11: ffff888078eb3880 R12: ffff88808ba38620 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 FS: 00007fcb47f45700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e690a54160 CR3: 0000000014080000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: reiserfs_mkdir+0x230/0x800 fs/reiserfs/namei.c:822 xattr_mkdir fs/reiserfs/xattr.c:76 [inline] create_privroot fs/reiserfs/xattr.c:889 [inline] reiserfs_xattr_init+0x34b/0x730 fs/reiserfs/xattr.c:1012 reiserfs_fill_super+0x2aac/0x3160 fs/reiserfs/super.c:2177 mount_bdev+0x26c/0x3a0 fs/super.c:1367 legacy_get_tree+0xea/0x180 fs/fs_context.c:592 vfs_get_tree+0x86/0x270 fs/super.c:1497 do_new_mount fs/namespace.c:2903 [inline] path_mount+0x188a/0x29a0 fs/namespace.c:3233 do_mount fs/namespace.c:3246 [inline] __do_sys_mount fs/namespace.c:3454 [inline] __se_sys_mount+0x28c/0x320 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:00007fcb47f44fa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 000000000046797a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fcb47f45000 RBP: 00007fcb47f45040 R08: 00007fcb47f45040 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000 R13: 0000000020000100 R14: 00007fcb47f45000 R15: 0000000020011500 Modules linked in: ---[ end trace 86b02c3e9527a650 ]--- 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+0x24a/0x440 fs/reiserfs/xattr_security.c:71 Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 2e d4 b6 ff 48 8b 1b 48 83 c3 68 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 08 d4 b6 ff 4d 85 ed b8 a2 00 00 00 RSP: 0018:ffffc90016b179c0 EFLAGS: 00010202 RAX: 000000000000000d RBX: 0000000000000068 RCX: dffffc0000000000 RDX: ffffc90013558000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000280202 R08: ffffffff82062a15 R09: ffffffff820628e7 R10: 0000000000000002 R11: ffff888078eb3880 R12: ffff88808ba38620 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 FS: 00007fcb47f45700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01abeb000 CR3: 0000000014080000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400