syzbot


kernel BUG in reiserfs_update_sd_size

Status: auto-obsoleted due to no activity on 2024/04/22 14:33
Subsystems: reiserfs
[Documentation on labels]
Reported-by: syzbot+7d78ccda251bc1bdbaed@syzkaller.appspotmail.com
First crash: 727d, last: 335d
Cause bisection: failed (error log, bisect log)
  
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_update_sd_size 0 (2) 2024/02/21 11:19
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 kernel BUG in reiserfs_update_sd_size reiserfs C 1 651d 719d 0/1 upstream: reported C repro on 2022/12/26 01:36
linux-4.19 kernel BUG at fs/reiserfs/journal.c:LINE! reiserfs C error 139 658d 1545d 0/1 upstream: reported C repro on 2020/09/21 00:32
linux-5.15 kernel BUG in reiserfs_update_sd_size origin:upstream missing-backport C error 7 2d15h 613d 0/3 upstream: reported C repro on 2023/04/10 10:33
linux-6.1 kernel BUG in reiserfs_update_sd_size origin:upstream C 4 24d 544d 0/3 upstream: reported C repro on 2023/06/18 21:59
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/03/24 04:19 25m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/03/24 04:19 24m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/02/28 15:16 21m retest repro upstream OK log
2024/01/13 12:42 17m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/01/13 12:42 21m retest repro upstream OK log
2024/01/13 12:42 21m retest repro upstream OK log
2024/01/13 12:42 28m retest repro upstream OK log
2024/01/13 12:42 20m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/01/12 12:01 18m retest repro upstream OK log
2024/01/12 12:01 20m retest repro upstream OK log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2024/02/21 07:39 3h39m bisect fix upstream OK (1) job log
2023/02/28 04:42 46m bisect fix upstream OK (0) job log log

Sample crash report:
REISERFS (device loop0): journal params: device loop0, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop0): checking transaction log (loop0)
REISERFS (device loop0): Using r5 hash to sort names
REISERFS panic (device loop0): vs-13065 update_stat_data: key [1 2 0x0 SD], found item *3.5*[1 2 0(0) DIR], item_len 80, item_location 3972, free_space(entry_count) 3
------------[ cut here ]------------
kernel BUG at fs/reiserfs/prints.c:390!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5056 Comm: syz-executor128 Not tainted 6.6.0-syzkaller-16201-gb57b17e88bf5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
RIP: 0010:__reiserfs_panic+0x13e/0x140 fs/reiserfs/prints.c:390
Code: c7 c1 e0 68 7c 8b 48 0f 44 c8 48 0f 44 d8 48 c7 c7 a0 69 7c 8b 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 80 73 6f 92 e8 72 bb e0 08 <0f> 0b f3 0f 1e fa 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4
RSP: 0018:ffffc90003a2f4e0 EFLAGS: 00010246
RAX: 00000000000000a6 RBX: ffffffff8b7c21a0 RCX: 92113cf80bb30000
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90003a2f5d0 R08: ffffffff8171771c R09: 1ffff92000745e3c
R10: dffffc0000000000 R11: fffff52000745e3d R12: ffffffff8b7c21c0
R13: ffffc90003a2f500 R14: ffffffff8d13cfbd R15: ffff88801cba2660
FS:  00005555565d5380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc6efcf000 CR3: 0000000028174000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 update_stat_data fs/reiserfs/inode.c:1418 [inline]
 reiserfs_update_sd_size+0xfd5/0x10b0 fs/reiserfs/inode.c:1491
 reiserfs_update_sd fs/reiserfs/reiserfs.h:3101 [inline]
 reiserfs_mkdir+0x75c/0x8f0 fs/reiserfs/namei.c:875
 xattr_mkdir fs/reiserfs/xattr.c:77 [inline]
 create_privroot fs/reiserfs/xattr.c:891 [inline]
 reiserfs_xattr_init+0x323/0x670 fs/reiserfs/xattr.c:1007
 reiserfs_fill_super+0x2207/0x2620 fs/reiserfs/super.c:2175
 mount_bdev+0x237/0x300 fs/super.c:1650
 legacy_get_tree+0xef/0x190 fs/fs_context.c:662
 vfs_get_tree+0x8c/0x280 fs/super.c:1771
 do_new_mount+0x28f/0xae0 fs/namespace.c:3337
 do_mount fs/namespace.c:3677 [inline]
 __do_sys_mount fs/namespace.c:3886 [inline]
 __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3863
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f7c589cc8ba
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007ffc6efce918 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffc6efce930 RCX: 00007f7c589cc8ba
RDX: 0000000020001100 RSI: 00000000200000c0 RDI: 00007ffc6efce930
RBP: 0000000000000004 R08: 00007ffc6efce970 R09: 00000000000010f1
R10: 0000000000800008 R11: 0000000000000286 R12: 0000000000800008
R13: 00007ffc6efce970 R14: 0000000000000003 R15: 0000000000400000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__reiserfs_panic+0x13e/0x140 fs/reiserfs/prints.c:390
Code: c7 c1 e0 68 7c 8b 48 0f 44 c8 48 0f 44 d8 48 c7 c7 a0 69 7c 8b 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 80 73 6f 92 e8 72 bb e0 08 <0f> 0b f3 0f 1e fa 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4
RSP: 0018:ffffc90003a2f4e0 EFLAGS: 00010246
RAX: 00000000000000a6 RBX: ffffffff8b7c21a0 RCX: 92113cf80bb30000
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90003a2f5d0 R08: ffffffff8171771c R09: 1ffff92000745e3c
R10: dffffc0000000000 R11: fffff52000745e3d R12: ffffffff8b7c21c0
R13: ffffc90003a2f500 R14: ffffffff8d13cfbd R15: ffff88801cba2660
FS:  00005555565d5380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc6efcf000 CR3: 0000000028174000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (32):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/13 02:19 upstream b57b17e88bf5 6d6dbf8a .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root kernel BUG in reiserfs_update_sd_size
2023/11/10 06:18 upstream 4bbdb725a36b 56230772 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in reiserfs_update_sd_size
2023/07/22 16:59 upstream d192f5382581 27cbe77f .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root kernel BUG in reiserfs_update_sd_size
2023/07/19 04:41 upstream 74f1456c4a5f 022df2bb .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root kernel BUG in reiserfs_update_sd_size
2023/06/18 23:03 upstream 8c1f0c38b310 f3921d4d .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in reiserfs_update_sd_size
2023/06/03 12:12 upstream 4ecd704a4c51 a4ae4f42 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root kernel BUG in reiserfs_update_sd_size
2022/12/17 23:37 upstream 77856d911a8c 05494336 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in reiserfs_update_sd_size
2023/11/06 18:59 linux-next e27090b1413f 78fae24e .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root kernel BUG in reiserfs_update_sd_size
2023/11/25 05:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 5b429f39 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 kernel BUG in reiserfs_update_sd_size
2023/06/18 23:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 177239177378 f3921d4d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 kernel BUG in reiserfs_update_sd_size
2023/12/29 00:21 upstream 505e701c0b2c fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root kernel BUG in reiserfs_update_sd_size
2023/11/27 20:39 upstream 2cc14f52aeb7 9fe51b7c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in reiserfs_update_sd_size
2023/11/27 20:23 upstream 2cc14f52aeb7 9fe51b7c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in reiserfs_update_sd_size
2023/12/29 11:46 upstream 8735c7c84d1b fb427a07 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in reiserfs_update_sd_size
2023/12/06 12:33 upstream bee0e7762ad2 95293603 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in reiserfs_update_sd_size
2023/12/01 14:14 upstream 994d5c58e50e f819d6f7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in reiserfs_update_sd_size
2023/10/04 08:48 upstream cbf3a2cb156a 65faba36 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in reiserfs_update_sd_size
2023/06/15 05:09 upstream b6dad5178cea 76decb82 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in reiserfs_update_sd_size
2023/06/08 04:21 upstream a27648c74210 058b3a5a .config console log report info ci2-upstream-fs kernel BUG in reiserfs_update_sd_size
2023/05/30 01:58 upstream 8b817fded42d cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in reiserfs_update_sd_size
2023/05/18 16:38 upstream 4d6d4c7f541d 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root kernel BUG in reiserfs_update_sd_size
2023/05/02 14:22 upstream 865fdb08197e 52d40fd2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in reiserfs_update_sd_size
2023/04/30 08:59 upstream 825a0714d2b3 62df2017 .config console log report info ci-qemu-upstream kernel BUG in reiserfs_update_sd_size
2023/04/17 09:46 upstream 6a8f57ae2eb0 c6ec7083 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root kernel BUG in reiserfs_update_sd_size
2023/01/26 08:50 upstream 7c46948a6e9c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in reiserfs_update_sd_size
2023/01/12 00:33 upstream 7dd4b804e080 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in reiserfs_update_sd_size
2022/12/20 03:00 upstream aeba12b26c79 c52b2efb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in reiserfs_update_sd_size
2022/12/18 23:31 upstream f9ff5644bcc0 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in reiserfs_update_sd_size
2023/05/27 01:15 upstream a92c9ab69f66 cf184559 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 kernel BUG in reiserfs_update_sd_size
2023/11/06 14:59 linux-next e27090b1413f 78fae24e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in reiserfs_update_sd_size
2023/10/14 10:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 249eb8f39efb 6388bc36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in reiserfs_update_sd_size
2023/03/21 23:08 linux-next f3594f0204b7 8b4eb097 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in reiserfs_update_sd_size
* Struck through repros no longer work on HEAD.