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 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: 8436 Comm: syz-executor159 Not tainted 5.11.0-rc6-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:473 [inline] RIP: 0010:reiserfs_xattr_jcreate_nblocks fs/reiserfs/xattr.h:78 [inline] RIP: 0010:reiserfs_security_init+0x24a/0x440 fs/reiserfs/xattr_security.c:70 Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 fe 52 b7 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 d8 52 b7 ff 4d 85 ed b8 a2 00 00 00 RSP: 0018:ffffc90000faf9c0 EFLAGS: 00010202 RAX: 000000000000000d RBX: 0000000000000068 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000280202 R08: ffffffff8203c885 R09: ffffffff8203c757 R10: 0000000000000002 R11: ffff88801d545340 R12: ffff888032248010 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 FS: 00000000009f9300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055da3ae6b5c0 CR3: 000000002113e000 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:889 [inline] reiserfs_xattr_init+0x344/0x730 fs/reiserfs/xattr.c:1011 reiserfs_fill_super+0x2aa1/0x3150 fs/reiserfs/super.c:2177 mount_bdev+0x26c/0x3a0 fs/super.c:1366 legacy_get_tree+0xea/0x180 fs/fs_context.c:592 vfs_get_tree+0x86/0x270 fs/super.c:1496 do_new_mount fs/namespace.c:2881 [inline] path_mount+0x17ad/0x2a00 fs/namespace.c:3211 do_mount fs/namespace.c:3224 [inline] __do_sys_mount fs/namespace.c:3432 [inline] __se_sys_mount+0x28c/0x320 fs/namespace.c:3409 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x445b4a Code: 48 c7 c2 c0 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 a8 00 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff6fa321d8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fff6fa32230 RCX: 0000000000445b4a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fff6fa321f0 RBP: 00007fff6fa321f0 R08: 00007fff6fa32230 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000286 R12: 00000000200002a8 R13: 0000000000000003 R14: 0000000000000004 R15: 0000000000000007 Modules linked in: ---[ end trace 871269fc42b76c5b ]--- 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+0x24a/0x440 fs/reiserfs/xattr_security.c:70 Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 fe 52 b7 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 d8 52 b7 ff 4d 85 ed b8 a2 00 00 00 RSP: 0018:ffffc90000faf9c0 EFLAGS: 00010202 RAX: 000000000000000d RBX: 0000000000000068 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000280202 R08: ffffffff8203c885 R09: ffffffff8203c757 R10: 0000000000000002 R11: ffff88801d545340 R12: ffff888032248010 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 FS: 00000000009f9300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdffa979028 CR3: 000000002113e000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400