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: 19575 Comm: syz-executor.4 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+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:ffffc90001c1f968 EFLAGS: 00010212 RAX: 0000000000000000 RBX: 0000000000000036 RCX: 000000000000000d RDX: dffffc0000000000 RSI: 000000000000006c RDI: 0000000000000068 RBP: ffff8880768207a0 R08: 0000000000000000 R09: ffffc90001c1fa10 R10: ffffffff820176b0 R11: 0000000000000000 R12: 000000000000057d R13: ffff88805e83e000 R14: 0000000000000000 R15: ffff888064098000 FS: 00007fcd0ddc5700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001f9e888 CR3: 000000006f651000 CR4: 0000000000350ee0 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:1367 legacy_get_tree+0x105/0x220 fs/fs_context.c:592 vfs_get_tree+0x89/0x2f0 fs/super.c:1497 do_new_mount fs/namespace.c:2903 [inline] path_mount+0x132a/0x1f90 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:00007fcd0ddc4fa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 000000000046797a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fcd0ddc5000 RBP: 00007fcd0ddc5040 R08: 00007fcd0ddc5040 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000 R13: 0000000020000100 R14: 00007fcd0ddc5000 R15: 0000000020011200 Modules linked in: ---[ end trace d828838199a3636f ]--- 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:ffffc90001c1f968 EFLAGS: 00010212 RAX: 0000000000000000 RBX: 0000000000000036 RCX: 000000000000000d RDX: dffffc0000000000 RSI: 000000000000006c RDI: 0000000000000068 RBP: ffff8880768207a0 R08: 0000000000000000 R09: ffffc90001c1fa10 R10: ffffffff820176b0 R11: 0000000000000000 R12: 000000000000057d R13: ffff88805e83e000 R14: 0000000000000000 R15: ffff888064098000 FS: 00007fcd0ddc5700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000541538 CR3: 000000006f651000 CR4: 0000000000350ef0