REISERFS (device loop5): Using tea hash to sort names REISERFS panic (device loop5): 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: 1 PID: 17350 Comm: syz-executor.5 Not tainted 6.3.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0010:__reiserfs_panic+0xf7/0x150 fs/reiserfs/prints.c:390 Code: 67 ff 4d 89 e8 4c 89 f1 4c 89 e2 48 8d b3 a8 06 00 00 49 c7 c1 e0 67 ea 91 48 c7 c7 00 5e 61 8a e8 de d9 4b ff e8 f9 de 67 ff <0f> 0b 49 c7 c6 60 5c 61 8a 4d 89 f4 eb c5 e8 e6 de 67 ff 4d 85 e4 RSP: 0018:ffffc900044576f0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff88807829e000 RCX: ffffc90005129000 RDX: 0000000000040000 RSI: ffffffff821a2d17 RDI: 0000000000000005 RBP: ffffc900044577c0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff8a60ee40 R13: ffffffff8a60fce0 R14: ffffffff8a615ca0 R15: ffffc900044578c8 FS: 00007f697710e700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c006453000 CR3: 000000007cf38000 CR4: 00000000003526e0 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:877 xattr_mkdir fs/reiserfs/xattr.c:76 [inline] create_privroot fs/reiserfs/xattr.c:882 [inline] reiserfs_xattr_init+0x57e/0xc30 fs/reiserfs/xattr.c:1005 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:3042 [inline] path_mount+0x1342/0x1e40 fs/namespace.c:3372 do_mount fs/namespace.c:3385 [inline] __do_sys_mount fs/namespace.c:3594 [inline] __se_sys_mount fs/namespace.c:3571 [inline] __x64_sys_mount+0x283/0x300 fs/namespace.c:3571 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:0x7f697648d69a 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:00007f697710df88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00000000000010ef RCX: 00007f697648d69a RDX: 0000000020001100 RSI: 0000000020001140 RDI: 00007f697710dfe0 RBP: 00007f697710e020 R08: 00007f697710e020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020001100 R13: 0000000020001140 R14: 00007f697710dfe0 R15: 0000000020001180 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__reiserfs_panic+0xf7/0x150 fs/reiserfs/prints.c:390 Code: 67 ff 4d 89 e8 4c 89 f1 4c 89 e2 48 8d b3 a8 06 00 00 49 c7 c1 e0 67 ea 91 48 c7 c7 00 5e 61 8a e8 de d9 4b ff e8 f9 de 67 ff <0f> 0b 49 c7 c6 60 5c 61 8a 4d 89 f4 eb c5 e8 e6 de 67 ff 4d 85 e4 RSP: 0018:ffffc900044576f0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff88807829e000 RCX: ffffc90005129000 RDX: 0000000000040000 RSI: ffffffff821a2d17 RDI: 0000000000000005 RBP: ffffc900044577c0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff8a60ee40 R13: ffffffff8a60fce0 R14: ffffffff8a615ca0 R15: ffffc900044578c8 FS: 00007f697710e700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f022000 CR3: 000000007cf38000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400