REISERFS (device loop1): Using tea hash to sort names REISERFS panic (device loop1): 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: 7933 Comm: syz.1.1039 Not tainted 5.15.166-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:__reiserfs_panic+0x13a/0x140 fs/reiserfs/prints.c:390 Code: c7 c1 80 61 9b 8a 48 0f 44 c8 48 0f 44 d8 48 c7 c7 40 62 9b 8a 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 e0 cf 98 96 e8 a6 95 24 08 <0f> 0b 0f 1f 40 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 RSP: 0018:ffffc9000154f540 EFLAGS: 00010246 RAX: 00000000000000a6 RBX: ffffffff8a9b1700 RCX: 20fcab521f200d00 RDX: ffffc9000437b000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000154f630 R08: ffffffff816689dc R09: ffffed10172267a8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8a9b1720 R13: ffffc9000154f560 R14: ffffffff8c1c65a8 R15: ffff88802715e6a8 FS: 00007f59287b56c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe46ad4ba8 CR3: 000000007b6fa000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: update_stat_data fs/reiserfs/inode.c:1432 [inline] reiserfs_update_sd_size+0xfde/0x10b0 fs/reiserfs/inode.c:1505 reiserfs_update_sd fs/reiserfs/reiserfs.h:3099 [inline] reiserfs_mkdir+0x758/0x8f0 fs/reiserfs/namei.c:877 xattr_mkdir fs/reiserfs/xattr.c:76 [inline] create_privroot fs/reiserfs/xattr.c:889 [inline] reiserfs_xattr_init+0x348/0x730 fs/reiserfs/xattr.c:1012 reiserfs_fill_super+0x226a/0x2690 fs/reiserfs/super.c:2179 mount_bdev+0x2c9/0x3f0 fs/super.c:1398 legacy_get_tree+0xeb/0x180 fs/fs_context.c:611 vfs_get_tree+0x88/0x270 fs/super.c:1528 do_new_mount+0x2ba/0xb40 fs/namespace.c:3005 do_mount fs/namespace.c:3348 [inline] __do_sys_mount fs/namespace.c:3556 [inline] __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3533 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f592a33d69a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f59287b4e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f59287b4ef0 RCX: 00007f592a33d69a RDX: 0000000020001100 RSI: 0000000020001140 RDI: 00007f59287b4eb0 RBP: 0000000020001100 R08: 00007f59287b4ef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020001140 R13: 00007f59287b4eb0 R14: 00000000000010ef R15: 0000000020001180 Modules linked in: ---[ end trace 9e1adb2c236b68f8 ]--- RIP: 0010:__reiserfs_panic+0x13a/0x140 fs/reiserfs/prints.c:390 Code: c7 c1 80 61 9b 8a 48 0f 44 c8 48 0f 44 d8 48 c7 c7 40 62 9b 8a 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 e0 cf 98 96 e8 a6 95 24 08 <0f> 0b 0f 1f 40 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 RSP: 0018:ffffc9000154f540 EFLAGS: 00010246 RAX: 00000000000000a6 RBX: ffffffff8a9b1700 RCX: 20fcab521f200d00 RDX: ffffc9000437b000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000154f630 R08: ffffffff816689dc R09: ffffed10172267a8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8a9b1720 R13: ffffc9000154f560 R14: ffffffff8c1c65a8 R15: ffff88802715e6a8 FS: 00007f59287b56c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe46ad4ba8 CR3: 000000007b6fa000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400