Hello,
syzbot found the following issue on:
HEAD commit: d86dfc4d95cd Linux 5.15.106
git tree: linux-5.15.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=134ae903c80000
kernel config:
https://syzkaller.appspot.com/x/.config?x=dca379fe384dda80
dashboard link:
https://syzkaller.appspot.com/bug?extid=1d8952dadd354ddd7793
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/2c159eb4fcae/disk-d86dfc4d.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/5f50187f87c7/vmlinux-d86dfc4d.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/f787f3f09c09/bzImage-d86dfc4d.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+1d8952...@syzkaller.appspotmail.com
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: 1 PID: 10265 Comm: syz-executor.0 Not tainted 5.15.106-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
RIP: 0010:__reiserfs_panic+0x13a/0x140 fs/reiserfs/prints.c:390
Code: c7 c1 80 17 9b 8a 48 0f 44 c8 48 0f 44 d8 48 c7 c7 40 18 9b 8a 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 a0 43 4d 91 e8 af 1f 09 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:ffffc90005eb7680 EFLAGS: 00010246
RAX: 00000000000000a6 RBX: ffffffff8a9acd00 RCX: 0fa966dee0a52f00
RDX: ffffc90002f61000 RSI: 000000000000ce56 RDI: 000000000000ce57
RBP: ffffc90005eb7770 R08: ffffffff816612ec R09: ffffed10173667a0
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8a9acd20
R13: ffffc90005eb76a0 R14: ffffffff8c159188 R15: ffff88803bb5e6a8
FS: 00007f4e99436700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c037cad000 CR3: 000000005f444000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
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_remount+0x12b8/0x18e0 fs/reiserfs/super.c:1588
reconfigure_super+0x3c5/0x7c0 fs/super.c:916
do_remount fs/namespace.c:2656 [inline]
path_mount+0xceb/0x10a0 fs/namespace.c:3316
do_mount fs/namespace.c:3337 [inline]
__do_sys_mount fs/namespace.c:3545 [inline]
__se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3522
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f4e9aec569a
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:00007f4e99435f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4e9aec569a
RDX: 00000000200000c0 RSI: 0000000020000100 RDI: 0000000000000000
RBP: 00007f4e99436020 R08: 00007f4e99436020 R09: 0000000001a484bc
R10: 0000000001a484bc R11: 0000000000000202 R12: 00000000200000c0
R13: 0000000020000100 R14: 00007f4e99435fe0 R15: 0000000020000e80
</TASK>
Modules linked in:
---[ end trace eacfd73b373cd728 ]---
RIP: 0010:__reiserfs_panic+0x13a/0x140 fs/reiserfs/prints.c:390
Code: c7 c1 80 17 9b 8a 48 0f 44 c8 48 0f 44 d8 48 c7 c7 40 18 9b 8a 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 a0 43 4d 91 e8 af 1f 09 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:ffffc90005eb7680 EFLAGS: 00010246
RAX: 00000000000000a6 RBX: ffffffff8a9acd00 RCX: 0fa966dee0a52f00
RDX: ffffc90002f61000 RSI: 000000000000ce56 RDI: 000000000000ce57
RBP: ffffc90005eb7770 R08: ffffffff816612ec R09: ffffed10173667a0
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8a9acd20
R13: ffffc90005eb76a0 R14: ffffffff8c159188 R15: ffff88803bb5e6a8
FS: 00007f4e99436700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555555912888 CR3: 000000005f444000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
---
This report is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.