syzbot


kernel BUG in reiserfs_cut_from_item

Status: upstream: reported C repro on 2023/06/09 13:59
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+f62df49d6b037e4d80c0@syzkaller.appspotmail.com
First crash: 256d, last: 30d
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2023/06/10 upstream (ToT) 64569520920a C [report] kernel BUG in reiserfs_cut_from_item
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in reiserfs_cut_from_item origin:upstream C 30 40d 280d 0/3 upstream: reported C repro on 2023/05/17 06:05
upstream kernel BUG in reiserfs_cut_from_item reiserfs C error done 57 44d 410d 0/26 upstream: reported C repro on 2023/01/06 19:16

Sample crash report:
REISERFS error (device loop0): vs-5150 search_by_key: invalid format found in block 532. Fsck?
REISERFS (device loop0): Remounting filesystem read-only
------------[ cut here ]------------
kernel BUG at fs/reiserfs/stree.c:1568!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4213 Comm: syz-executor629 Not tainted 5.15.147-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : maybe_indirect_to_direct fs/reiserfs/stree.c:1568 [inline]
pc : reiserfs_cut_from_item+0x1a74/0x1c84 fs/reiserfs/stree.c:1694
lr : maybe_indirect_to_direct fs/reiserfs/stree.c:1568 [inline]
lr : reiserfs_cut_from_item+0x1a74/0x1c84 fs/reiserfs/stree.c:1694
sp : ffff80001db17080
x29: ffff80001db175a0 x28: ffff80001db17780 x27: 0000000000000000
x26: ffff80001db17560 x25: ffff80001db176e0 x24: 0000000000000e5c
x23: dfff800000000000 x22: ffff0000cecde678 x21: 1fffe0001bda0ca8
x20: 0000000000000e5c x19: ffff0000cecde000 x18: 0000000000000000
x17: 0000000000000000 x16: ffff800008cd4244 x15: 00000000fffffffe
x14: ffff0000c2339b40 x13: 0000000000ff0100 x12: ffffffffffffffff
x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000c2339b40
x8 : ffff800008cdbce4 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff800008a6ba04
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000e5c
Call trace:
 maybe_indirect_to_direct fs/reiserfs/stree.c:1568 [inline]
 reiserfs_cut_from_item+0x1a74/0x1c84 fs/reiserfs/stree.c:1694
 reiserfs_do_truncate+0x89c/0x11c8 fs/reiserfs/stree.c:1973
 reiserfs_truncate_file+0x3ac/0x6f0 fs/reiserfs/inode.c:2318
 reiserfs_setattr+0x8e8/0xd94 fs/reiserfs/inode.c:3409
 notify_change+0xa34/0xcf8 fs/attr.c:505
 do_truncate+0x1c0/0x28c fs/open.c:65
 do_sys_ftruncate+0x288/0x31c fs/open.c:193
 __do_sys_ftruncate fs/open.c:204 [inline]
 __se_sys_ftruncate fs/open.c:202 [inline]
 __arm64_sys_ftruncate+0x60/0x74 fs/open.c:202
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: 52800081 97efbb18 17fffde7 97df96f3 (d4210000) 
---[ end trace 863c58cc37765996 ]---

Crashes (23):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/21 13:12 linux-5.15.y ddcaf4999061 9bd8dcda .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in reiserfs_cut_from_item
2023/06/10 09:52 linux-5.15.y 7349e40704a0 9018a337 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in reiserfs_cut_from_item
2023/08/15 17:02 linux-5.15.y 24c4de4069cb 39990d51 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in reiserfs_cut_from_item
2023/12/07 19:37 linux-5.15.y 9b91d36ba301 0a02ce36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in reiserfs_cut_from_item
2023/12/06 19:40 linux-5.15.y 9b91d36ba301 e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in reiserfs_cut_from_item
2023/12/06 03:08 linux-5.15.y 9b91d36ba301 858d62d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in reiserfs_cut_from_item
2023/10/27 15:28 linux-5.15.y 12952a23a5da 3c418d72 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in reiserfs_cut_from_item
2023/10/19 15:34 linux-5.15.y 02e21884dcf2 42e1d524 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in reiserfs_cut_from_item
2024/01/21 11:18 linux-5.15.y ddcaf4999061 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in reiserfs_cut_from_item
2024/01/11 09:05 linux-5.15.y 26c690eff0a5 00f3cc59 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in reiserfs_cut_from_item
2023/10/10 06:50 linux-5.15.y 1edcec18cfb7 c9be5398 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in reiserfs_cut_from_item
2023/09/29 15:49 linux-5.15.y b911329317b4 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in reiserfs_cut_from_item
2023/07/19 10:48 linux-5.15.y d54cfc420586 022df2bb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in reiserfs_cut_from_item
2023/06/26 20:39 linux-5.15.y f67653019430 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in reiserfs_cut_from_item
2023/06/21 23:28 linux-5.15.y f67653019430 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in reiserfs_cut_from_item
2023/06/16 11:03 linux-5.15.y 471e639e59d1 f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in reiserfs_cut_from_item
2023/06/15 18:37 linux-5.15.y 471e639e59d1 90d4044e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in reiserfs_cut_from_item
2023/06/15 04:25 linux-5.15.y 471e639e59d1 76decb82 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in reiserfs_cut_from_item
2023/06/09 13:58 linux-5.15.y 7349e40704a0 058b3a5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in reiserfs_cut_from_item
2023/08/26 21:17 linux-5.15.y 5ddfe5cc8716 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in reiserfs_cut_from_item
2023/07/05 05:58 linux-5.15.y 4af60700a60c 80298b6f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in reiserfs_cut_from_item
2023/06/20 00:46 linux-5.15.y 471e639e59d1 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in reiserfs_cut_from_item
2023/06/09 17:08 linux-5.15.y 7349e40704a0 9018a337 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in reiserfs_cut_from_item
* Struck through repros no longer work on HEAD.