REISERFS (device loop0): journal params: device loop0, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 REISERFS (device loop0): checking transaction log (loop0) REISERFS (device loop0): Using rupasov hash to sort names REISERFS (device loop0): using 3.5.x disk format 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: 6853 Comm: syz-executor783 Not tainted 5.9.0-rc7-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:472 [inline] RIP: 0010:reiserfs_xattr_jcreate_nblocks fs/reiserfs/xattr.h:78 [inline] RIP: 0010:reiserfs_security_init+0x248/0x400 fs/reiserfs/xattr_security.c:70 Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 c0 20 b9 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 9a 20 b9 ff 4d 85 ed b8 a2 00 00 00 RSP: 0018:ffffc900010379e0 EFLAGS: 00010202 RAX: 000000000000000d RBX: 0000000000000068 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81fbc184 R09: ffffffff81fbc057 R10: 0000000000000002 R11: ffff8880978f2040 R12: ffff8880852a5050 R13: 0000000000000000 R14: 0000000000280202 R15: 0000000000000001 FS: 00000000025a0880(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f129df45ab4 CR3: 000000009a56a000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: reiserfs_mkdir+0x229/0x800 fs/reiserfs/namei.c:821 xattr_mkdir fs/reiserfs/xattr.c:76 [inline] create_privroot fs/reiserfs/xattr.c:882 [inline] reiserfs_xattr_init+0x346/0x750 fs/reiserfs/xattr.c:1004 reiserfs_fill_super+0x2b96/0x3240 fs/reiserfs/super.c:2177 mount_bdev+0x24f/0x360 fs/super.c:1417 legacy_get_tree+0xea/0x180 fs/fs_context.c:592 vfs_get_tree+0x88/0x270 fs/super.c:1547 do_new_mount fs/namespace.c:2875 [inline] path_mount+0x179d/0x29e0 fs/namespace.c:3192 do_mount fs/namespace.c:3205 [inline] __do_sys_mount fs/namespace.c:3413 [inline] __se_sys_mount+0x126/0x180 fs/namespace.c:3390 do_syscall_64+0x31/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x446efa Code: b8 08 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 fd ad fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 da ad fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007ffdc52e3248 EFLAGS: 00000297 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffdc52e32a0 RCX: 0000000000446efa RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffdc52e3260 RBP: 00007ffdc52e3260 R08: 00007ffdc52e32a0 R09: 00007ffd00000015 R10: 0000000000000000 R11: 0000000000000297 R12: 0000000000000003 R13: 0000000000000004 R14: 0000000000000003 R15: 0000000000000003 Modules linked in: ---[ end trace 844080690f98cf2b ]--- RIP: 0010:d_really_is_negative include/linux/dcache.h:472 [inline] RIP: 0010:reiserfs_xattr_jcreate_nblocks fs/reiserfs/xattr.h:78 [inline] RIP: 0010:reiserfs_security_init+0x248/0x400 fs/reiserfs/xattr_security.c:70 Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 c0 20 b9 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 9a 20 b9 ff 4d 85 ed b8 a2 00 00 00 RSP: 0018:ffffc900010379e0 EFLAGS: 00010202 RAX: 000000000000000d RBX: 0000000000000068 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81fbc184 R09: ffffffff81fbc057 R10: 0000000000000002 R11: ffff8880978f2040 R12: ffff8880852a5050 R13: 0000000000000000 R14: 0000000000280202 R15: 0000000000000001 FS: 00000000025a0880(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fade6ddc000 CR3: 000000009a56a000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400