syzbot
WARNING in journal_end
Status:
upstream: reported C repro on 2025/08/30 04:29
Bug presence:
origin:lts-only
[Documentation on labels]
Reported-by: syzbot+2a97593e3c765d1e0d4f@syzkaller.appspotmail.com
First crash: 330d, last: 40d
▶
▼
Fix bisection attempts (4)
Sample crash report:
REISERFS error (device loop0): vs-5150 search_by_key: invalid format found in block 533. Fsck?
REISERFS (device loop0): Remounting filesystem read-only
REISERFS error (device loop0): vs-13050 reiserfs_update_sd_size: i/o failure occurred trying to update [2 4 0x0 SD] stat data
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5925 at fs/reiserfs/journal.c:3400 journal_end+0x1f1/0x2b0 fs/reiserfs/journal.c:3400
Modules linked in:
CPU: 1 PID: 5925 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:journal_end+0x1f1/0x2b0 fs/reiserfs/journal.c:3400
Code: 38 00 00 00 48 89 de e8 ad 5f b5 ff 43 0f b6 04 27 84 c0 0f 85 a7 00 00 00 48 8b 04 24 c7 00 00 00 00 00 eb 30 e8 bf 1c 5d ff <0f> 0b b8 fb ff ff ff eb 24 e8 b1 1c 5d ff 48 89 df 31 f6 48 83 c4
RSP: 0018:ffffc90003317ad8 EFLAGS: 00010293
RAX: ffffffff822a0ed1 RBX: ffffc90003317b80 RCX: ffff88801abe5a00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffc90003317bb7 R09: 0000000000000000
R10: ffffc90003317b80 R11: fffff52000662f77 R12: ffffc90003317b94
R13: 1ffff1100357cd8d R14: ffff88801abe6c68 R15: 1ffff92000662f72
FS: 000055556addf500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000076ecf000 CR4: 00000000003506e0
Call Trace:
<TASK>
reiserfs_truncate_file+0x48b/0x7d0 fs/reiserfs/inode.c:2307
reiserfs_file_release+0x946/0xad0 fs/reiserfs/file.c:109
__fput+0x234/0x970 fs/file_table.c:384
task_work_run+0x1d4/0x260 kernel/task_work.c:245
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fac32d9ce59
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdf3623ed8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007ffdf3623fc0 RCX: 00007fac32d9ce59
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 0000000000015ebc R08: 0000000000000001 R09: 0000000000000000
R10: 0000001b33c20000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fac33015fac R14: 00007fac33015fa8 R15: 00007fac33015fa0
</TASK>
* Struck through repros no longer work on HEAD.