syzbot


kernel BUG in reiserfs_rename

Status: auto-obsoleted due to no activity on 2024/04/28 17:48
Subsystems: reiserfs
[Documentation on labels]
Reported-by: syzbot+d843d85655e23f0f643b@syzkaller.appspotmail.com
First crash: 301d, last: 122d
Cause bisection: introduced by (bisect log) [no-op commit]:
commit b003b3b77d65133a0011ae3b7b255347438c12f6
Author: Palmer Dabbelt <palmer@rivosinc.com>
Date: Wed Nov 30 02:35:14 2022 +0000

  RISC-V: Align the shadow stack

Crash: kernel BUG in do_journal_end (log)
Repro: C syz .config
  
Fix bisection: fixed by (bisect log) :
commit 6f861765464f43a71462d52026fbddfc858239a5
Author: Jan Kara <jack@suse.cz>
Date: Wed Nov 1 17:43:10 2023 +0000

  fs: Block writes to mounted block devices

  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [reiserfs?] kernel BUG in reiserfs_rename 0 (2) 2024/02/28 06:09
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in reiserfs_rename origin:upstream C 1 1d09h 234d 0/3 upstream: reported C repro on 2023/09/29 12:23
linux-5.15 kernel BUG in reiserfs_rename origin:upstream C error 1 119d 119d 0/3 upstream: reported C repro on 2024/01/22 10:19
Last patch testing requests (5)
Created Duration User Patch Repo Result
2024/04/01 20:57 33m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/01/19 17:21 26m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2023/12/24 07:55 17m retest repro upstream report log
2023/11/10 12:50 30m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2023/09/01 01:11 17m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/reiserfs/prints.c:390!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5149 Comm: syz-executor192 Not tainted 6.7.0-rc4-syzkaller-00009-gbee0e7762ad2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
RIP: 0010:__reiserfs_panic+0x140/0x150 fs/reiserfs/prints.c:390
Code: c1 a0 69 7c 8b 48 0f 44 c8 48 0f 44 d8 48 c7 c7 60 6a 7c 8b 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 80 83 6f 92 e8 11 98 de 08 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 55 48
RSP: 0018:ffffc900042073c0 EFLAGS: 00010246
RAX: 000000000000005a RBX: ffffffff8b7c1a00 RCX: 8ee166ea03248a00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc900042074b0 R08: ffffffff8171379c R09: 1ffff92000840e18
R10: dffffc0000000000 R11: fffff52000840e19 R12: ffffffff8b7c1a20
R13: ffffc900042073e0 R14: ffffffff8d13eecf R15: ffff8880265c2660
FS:  00007fa973e766c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa973f08160 CR3: 000000001c758000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 reiserfs_rename+0x1e00/0x2110 fs/reiserfs/namei.c:1425
 vfs_rename+0xaba/0xde0 fs/namei.c:4844
 do_renameat2+0xd5a/0x1390 fs/namei.c:4996
 __do_sys_rename fs/namei.c:5042 [inline]
 __se_sys_rename fs/namei.c:5040 [inline]
 __x64_sys_rename+0x86/0x90 fs/namei.c:5040
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x45/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fa973edb249
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 18 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa973e76168 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007fa973f636b8 RCX: 00007fa973edb249
RDX: 00007fa973eb47d6 RSI: 0000000020000040 RDI: 00000000200001c0
RBP: 00007fa973f636b0 R08: 00007ffc7c12d107 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa973f636bc
R13: 000000000000006e R14: 00007ffc7c12d020 R15: 00007ffc7c12d108
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__reiserfs_panic+0x140/0x150 fs/reiserfs/prints.c:390
Code: c1 a0 69 7c 8b 48 0f 44 c8 48 0f 44 d8 48 c7 c7 60 6a 7c 8b 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 80 83 6f 92 e8 11 98 de 08 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 55 48
RSP: 0018:ffffc900042073c0 EFLAGS: 00010246
RAX: 000000000000005a RBX: ffffffff8b7c1a00 RCX: 8ee166ea03248a00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc900042074b0 R08: ffffffff8171379c R09: 1ffff92000840e18
R10: dffffc0000000000 R11: fffff52000840e19 R12: ffffffff8b7c1a20
R13: ffffc900042073e0 R14: ffffffff8d13eecf R15: ffff8880265c2660
FS:  00007fa973e766c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa973f636a0 CR3: 000000001c758000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/06 09:59 upstream bee0e7762ad2 858d62d1 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in reiserfs_rename
2023/07/25 05:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 9a0ddda3 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 kernel BUG in reiserfs_rename
2023/12/10 07:49 upstream b10a3ccaf6e3 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in reiserfs_rename
2023/12/07 07:53 upstream bee0e7762ad2 e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in reiserfs_rename
2023/12/06 08:35 upstream bee0e7762ad2 858d62d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in reiserfs_rename
2023/07/24 23:25 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 9a0ddda3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in reiserfs_rename
* Struck through repros no longer work on HEAD.