WARNING in journal_end

Status: upstream: reported C repro on 2022/12/26 09:51
Subsystems: reiserfs
[Documentation on labels]
First crash: 545d, last: 513d
Fix bisection: failed (error log, bisect log)
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in journal_end reiserfs C 2 495d 544d 0/1 upstream: reported C repro on 2022/12/26 21:28
upstream WARNING in journal_end reiserfs C error done 522 146d 571d 0/27 auto-obsoleted due to no activity on 2024/04/08 04:41
linux-5.15 WARNING in journal_end origin:lts-only C 21 4d01h 436d 0/3 upstream: reported C repro on 2023/04/14 09:59
linux-6.1 WARNING in journal_end origin:upstream C 44 6d06h 445d 0/3 upstream: reported C repro on 2023/04/05 07:47

Sample crash report:
REISERFS warning (device loop0): jdm-13090 reiserfs_new_inode: ACLs aren't enabled in the fs, but vfs thinks they are!
REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage.
REISERFS error (device loop0): vs-4080 _reiserfs_free_block: block 531: bit already cleared
REISERFS (device loop0): Remounting filesystem read-only
------------[ cut here ]------------
WARNING: CPU: 1 PID: 8097 at fs/reiserfs/journal.c:3405 journal_end.cold+0x11/0x1e fs/reiserfs/journal.c:3405
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 8097 Comm: syz-executor121 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:journal_end.cold+0x11/0x1e fs/reiserfs/journal.c:3405
Code: f0 fd ff e8 50 bf 6c f9 e8 9b 82 a2 f9 48 c7 c7 00 6f 79 88 e8 bb 98 20 00 e8 3a bf 6c f9 48 c7 c7 a0 bc 79 88 e8 99 f0 fd ff <0f> 0b 41 bd fb ff ff ff e9 c2 6f e1 f9 e8 1c bf 6c f9 48 c7 c7 e0
RSP: 0018:ffff8880b1537aa8 EFLAGS: 00010286
RAX: 0000000000000024 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed10162a6f47
RBP: ffff8880b1537b20 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880b1537b34
R13: 0000000000000000 R14: ffff88808ac377a8 R15: ffff8880b1537b20
 reiserfs_truncate_file+0x1bc/0x1030 fs/reiserfs/inode.c:2321
 reiserfs_file_release+0x982/0xd90 fs/reiserfs/file.c:115
 __fput+0x2ce/0x890 fs/file_table.c:278
 task_work_run+0x148/0x1c0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0xbf3/0x2be0 kernel/exit.c:870
 do_group_exit+0x125/0x310 kernel/exit.c:967
 __do_sys_exit_group kernel/exit.c:978 [inline]
 __se_sys_exit_group kernel/exit.c:976 [inline]
 __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:976
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
RIP: 0033:0x7f3e958c2419
Code: Bad RIP value.
RSP: 002b:00007ffd28351398 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007f3e95938330 RCX: 00007f3e958c2419
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3e95938330
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/26 09:51 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 WARNING in journal_end
2023/01/26 15:33 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in journal_end
2023/01/02 19:09 linux-4.19.y 3f8a27f9e27b ab32d508 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in journal_end
* Struck through repros no longer work on HEAD.