REISERFS (device loop3): Using tea hash to sort names REISERFS panic (device loop3): 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: 3 PID: 29975 Comm: syz-executor.3 Not tainted 6.3.0-syzkaller-11733-g825a0714d2b3 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 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 60 f2 ef 91 48 c7 c7 80 b6 61 8a e8 2e 6b 49 ff e8 29 8d 65 ff <0f> 0b 49 c7 c6 e0 b4 61 8a 4d 89 f4 eb c5 e8 16 8d 65 ff 4d 85 e4 RSP: 0018:ffffc900031df6f0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff888060b10000 RCX: ffffc90020aca000 RDX: 0000000000040000 RSI: ffffffff821df237 RDI: 0000000000000005 RBP: ffffc900031df7c0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff8a6145c0 R13: ffffffff8a615460 R14: ffffffff8a61b520 R15: ffffc900031df8c8 FS: 00007f2b0a605700(0000) GS:ffff88802c900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd6d59d7b0 CR3: 000000004a174000 CR4: 0000000000350ee0 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+0x2129/0x2eb0 fs/reiserfs/super.c:2175 mount_bdev+0x357/0x420 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:0x7f2b0988d69a 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:00007f2b0a604f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000000ffde RCX: 00007f2b0988d69a RDX: 0000000020010000 RSI: 0000000020010040 RDI: 00007f2b0a604fe0 RBP: 00007f2b0a605020 R08: 00007f2b0a605020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020010000 R13: 0000000020010040 R14: 00007f2b0a604fe0 R15: 0000000020010080 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 60 f2 ef 91 48 c7 c7 80 b6 61 8a e8 2e 6b 49 ff e8 29 8d 65 ff <0f> 0b 49 c7 c6 e0 b4 61 8a 4d 89 f4 eb c5 e8 16 8d 65 ff 4d 85 e4 RSP: 0018:ffffc900031df6f0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff888060b10000 RCX: ffffc90020aca000 RDX: 0000000000040000 RSI: ffffffff821df237 RDI: 0000000000000005 RBP: ffffc900031df7c0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff8a6145c0 R13: ffffffff8a615460 R14: ffffffff8a61b520 R15: ffffc900031df8c8 FS: 00007f2b0a605700(0000) GS:ffff88802c800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000202fe000 CR3: 000000004a174000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400