Hello,
syzbot found the following issue on:
HEAD commit: bf4ad6fa4e53 Linux 6.1.28
git tree: linux-6.1.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=17f3d296280000
kernel config:
https://syzkaller.appspot.com/x/.config?x=26fca33e75c97e43
dashboard link:
https://syzkaller.appspot.com/bug?extid=17a2a95e28075c63e42f
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/058ee41df9de/disk-bf4ad6fa.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/480706160d27/vmlinux-bf4ad6fa.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/e6a9f4f20a23/bzImage-bf4ad6fa.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+17a2a9...@syzkaller.appspotmail.com
REISERFS (device loop4): Remounting filesystem read-only
------------[ cut here ]------------
kernel BUG at fs/reiserfs/stree.c:1568!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 17805 Comm: syz-executor.4 Not tainted 6.1.28-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
RIP: 0010:maybe_indirect_to_direct fs/reiserfs/stree.c:1568 [inline]
RIP: 0010:reiserfs_cut_from_item+0x231e/0x2580 fs/reiserfs/stree.c:1694
Code: 44 89 e1 80 e1 07 38 c1 0f 8c 5c f5 ff ff be 04 00 00 00 4c 89 e7 e8 41 5b b4 ff 48 8b 54 24 28 e9 45 f5 ff ff e8 82 15 5e ff <0f> 0b e8 7b 15 5e ff 0f 0b e8 74 15 5e ff 0f 0b e8 6d 0e 56 08 e8
RSP: 0018:ffffc9000305f320 EFLAGS: 00010283
RAX: ffffffff822bba3e RBX: 0000000000000000 RCX: 0000000000040000
RDX: ffffc90006009000 RSI: 00000000000125aa RDI: 00000000000125ab
RBP: ffffc9000305f850 R08: ffffffff822b9d44 R09: ffffffff822b1f99
R10: 0000000000000002 R11: ffff8880126bbb80 R12: 0000000000000e00
R13: 1ffff110111ff1e4 R14: 0000000000001000 R15: ffff8880804f2678
FS: 00007f1135592700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2dd36000 CR3: 000000007566a000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
reiserfs_do_truncate+0xa12/0x15b0 fs/reiserfs/stree.c:1973
reiserfs_truncate_file+0x4d6/0x810 fs/reiserfs/inode.c:2310
reiserfs_setattr+0xc57/0x11c0 fs/reiserfs/inode.c:3395
notify_change+0xdcd/0x1080 fs/attr.c:482
do_truncate+0x21c/0x300 fs/open.c:65
do_sys_ftruncate+0x2e2/0x380 fs/open.c:193
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+0x63/0xcd
RIP: 0033:0x7f113488c169
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f1135592168 EFLAGS: 00000246 ORIG_RAX: 000000000000004d
RAX: ffffffffffffffda RBX: 00007f11349ac050 RCX: 00007f113488c169
RDX: 0000000000000000 RSI: 0000000000000e00 RDI: 0000000000000006
RBP: 00007f11348e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe7904d28f R14: 00007f1135592300 R15: 0000000000022000
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:maybe_indirect_to_direct fs/reiserfs/stree.c:1568 [inline]
RIP: 0010:reiserfs_cut_from_item+0x231e/0x2580 fs/reiserfs/stree.c:1694
Code: 44 89 e1 80 e1 07 38 c1 0f 8c 5c f5 ff ff be 04 00 00 00 4c 89 e7 e8 41 5b b4 ff 48 8b 54 24 28 e9 45 f5 ff ff e8 82 15 5e ff <0f> 0b e8 7b 15 5e ff 0f 0b e8 74 15 5e ff 0f 0b e8 6d 0e 56 08 e8
RSP: 0018:ffffc9000305f320 EFLAGS: 00010283
RAX: ffffffff822bba3e RBX: 0000000000000000 RCX: 0000000000040000
RDX: ffffc90006009000 RSI: 00000000000125aa RDI: 00000000000125ab
RBP: ffffc9000305f850 R08: ffffffff822b9d44 R09: ffffffff822b1f99
R10: 0000000000000002 R11: ffff8880126bbb80 R12: 0000000000000e00
R13: 1ffff110111ff1e4 R14: 0000000000001000 R15: ffff8880804f2678
FS: 00007f1135592700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5aa1abdd38 CR3: 000000007566a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 000000000000003b DR6: 00000000ffff0ff0 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.
If the bug is already fixed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want to change bug's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the bug is a duplicate of another bug, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup