REISERFS (device loop0): Using rupasov hash to sort names REISERFS panic (device loop0): vs-13065 update_stat_data: key [1 2 0x0 SD], found item *3.5*[1 2 0(0) DIR], item_len 80, item_location 3972, free_space(entry_count) 3 ------------[ cut here ]------------ kernel BUG at fs/reiserfs/prints.c:390! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 20189 Comm: syz-executor.0 Not tainted 6.3.0-rc3-next-20230321-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:__reiserfs_panic+0xf7/0x150 fs/reiserfs/prints.c:390 Code: 65 ff 4d 89 e8 4c 89 f1 4c 89 e2 48 8d b3 a8 06 00 00 49 c7 c1 a0 38 ed 91 48 c7 c7 40 b3 61 8a e8 7e 7d 49 ff e8 19 59 65 ff <0f> 0b 49 c7 c6 a0 b1 61 8a 4d 89 f4 eb c5 e8 06 59 65 ff 4d 85 e4 RSP: 0018:ffffc900059e76f0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff8880791f8000 RCX: ffffc9000bcd1000 RDX: 0000000000040000 RSI: ffffffff821d7757 RDI: 0000000000000005 RBP: ffffc900059e77c0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff8a614280 R13: ffffffff8a615120 R14: ffffffff8a61b1e0 R15: ffffc900059e78c8 FS: 00007fc8e8069700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020260000 CR3: 000000001cc16000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: update_stat_data fs/reiserfs/inode.c:1424 [inline] reiserfs_update_sd_size+0x690/0xb70 fs/reiserfs/inode.c:1497 reiserfs_update_sd fs/reiserfs/reiserfs.h:3099 [inline] reiserfs_mkdir+0x6cb/0x990 fs/reiserfs/namei.c:875 xattr_mkdir fs/reiserfs/xattr.c:77 [inline] create_privroot fs/reiserfs/xattr.c:890 [inline] reiserfs_xattr_init+0x57e/0xbc0 fs/reiserfs/xattr.c:1006 reiserfs_fill_super+0x2127/0x2ea0 fs/reiserfs/super.c:2175 mount_bdev+0x351/0x410 fs/super.c:1380 legacy_get_tree+0x109/0x220 fs/fs_context.c:610 vfs_get_tree+0x8d/0x350 fs/super.c:1510 do_new_mount fs/namespace.c:3039 [inline] path_mount+0x134b/0x1e40 fs/namespace.c:3369 do_mount fs/namespace.c:3382 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __x64_sys_mount+0x283/0x300 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc8e728d62a Code: 48 c7 c2 b8 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc8e8068f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00000000000010ef RCX: 00007fc8e728d62a RDX: 0000000020001100 RSI: 0000000020001140 RDI: 00007fc8e8068fe0 RBP: 00007fc8e8069020 R08: 00007fc8e8069020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020001100 R13: 0000000020001140 R14: 00007fc8e8068fe0 R15: 0000000020001180 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__reiserfs_panic+0xf7/0x150 fs/reiserfs/prints.c:390 Code: 65 ff 4d 89 e8 4c 89 f1 4c 89 e2 48 8d b3 a8 06 00 00 49 c7 c1 a0 38 ed 91 48 c7 c7 40 b3 61 8a e8 7e 7d 49 ff e8 19 59 65 ff <0f> 0b 49 c7 c6 a0 b1 61 8a 4d 89 f4 eb c5 e8 06 59 65 ff 4d 85 e4 RSP: 0018:ffffc900059e76f0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff8880791f8000 RCX: ffffc9000bcd1000 RDX: 0000000000040000 RSI: ffffffff821d7757 RDI: 0000000000000005 RBP: ffffc900059e77c0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff8a614280 R13: ffffffff8a615120 R14: ffffffff8a61b1e0 R15: ffffc900059e78c8 FS: 00007fc8e8069700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000202cc000 CR3: 000000001cc16000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400