syzbot


kernel BUG in nilfs_btnode_create_block

Status: fixed on 2023/07/04 09:17
Subsystems: nilfs
[Documentation on labels]
Reported-by: syzbot+b0a35a5c1f7e846d3b09@syzkaller.appspotmail.com
Fix commit: 2f012f2baca1 nilfs2: fix incomplete buffer cleanup in nilfs_btnode_abort_change_key()
First crash: 511d, last: 304d
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] nilfs2: fix incomplete buffer cleanup in nilfs_btnode_abort_change_key() 1 (1) 2023/05/13 10:24
[syzbot] kernel BUG in nilfs_btnode_create_block 0 (2) 2022/10/29 12:31
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in nilfs_btnode_create_block origin:upstream C error 1 273d 303d 0/3 auto-obsoleted due to no activity on 2023/09/27 08:52
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/02/23 12:32 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/nilfs2/btnode.c:59!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 6000 Comm: segctord Not tainted 6.4.0-rc2-syzkaller-gf1fcbaa18b28 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : nilfs_btnode_create_block+0x3b0/0x49c fs/nilfs2/btnode.c:58
lr : nilfs_btnode_create_block+0x3b0/0x49c fs/nilfs2/btnode.c:58
sp : ffff80001e767070
x29: ffff80001e767070 x28: 0000000000001333 x27: ffff0000d0f19ef0
x26: ffff0000e20e8910 x25: 1fffe0001c424257 x24: dfff800000000000
x23: 000000000000000a x22: 0000000000020011 x21: ffff0000df66bb00
x20: 0000000000001333 x19: ffff0000e21212b8 x18: ffff0000df668008
x17: ffff800015ead000 x16: ffff80000830e4f0 x15: 0000000000000000
x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000001
x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000
x8 : 00000000ffffffff x7 : ffff8000087907f8 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800008b59a64
x2 : 0000000000000001 x1 : 0000000000000004 x0 : 0000000000000001
Call trace:
 nilfs_btnode_create_block+0x3b0/0x49c fs/nilfs2/btnode.c:58
 nilfs_btnode_prepare_change_key+0x304/0x3d8 fs/nilfs2/btnode.c:219
 nilfs_btree_prepare_update_v+0x2c0/0x378 fs/nilfs2/btree.c:1928
 nilfs_btree_prepare_propagate_v fs/nilfs2/btree.c:1995 [inline]
 nilfs_btree_propagate_v fs/nilfs2/btree.c:2040 [inline]
 nilfs_btree_propagate+0x850/0xe90 fs/nilfs2/btree.c:2097
 nilfs_bmap_propagate+0x7c/0x130 fs/nilfs2/bmap.c:345
 nilfs_collect_file_data+0x54/0xe8 fs/nilfs2/segment.c:587
 nilfs_segctor_apply_buffers+0x170/0x31c fs/nilfs2/segment.c:1039
 nilfs_segctor_scan_file+0x644/0xcdc fs/nilfs2/segment.c:1088
 nilfs_segctor_collect_blocks fs/nilfs2/segment.c:1197 [inline]
 nilfs_segctor_collect fs/nilfs2/segment.c:1524 [inline]
 nilfs_segctor_do_construct+0x16ec/0x6424 fs/nilfs2/segment.c:2070
 nilfs_segctor_construct+0x110/0x768 fs/nilfs2/segment.c:2404
 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2512 [inline]
 nilfs_segctor_thread+0x3d4/0xd74 fs/nilfs2/segment.c:2595
 kthread+0x288/0x310 kernel/kthread.c:379
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870
Code: 14000002 979cb905 aa1303e0 9400003c (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/19 16:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci f1fcbaa18b28 3bb7af1d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 kernel BUG in nilfs_btnode_create_block
2022/10/29 12:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 899d812a .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci-upstream-gce-arm64 kernel BUG in nilfs_btnode_create_block
2023/04/28 09:57 upstream 33afd4b76393 70a605de .config console log report info ci-qemu-upstream-386 kernel BUG in nilfs_btnode_create_block
2023/05/19 16:37 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci f1fcbaa18b28 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in nilfs_btnode_create_block
2022/11/15 11:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9e4ce762f0e7 97de9cfc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in nilfs_btnode_create_block
2022/11/02 02:22 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 edac4fd1 .config console log report info [disk image] [vmlinux] ci-upstream-gce-arm64 kernel BUG in nilfs_btnode_create_block
2022/10/29 12:13 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 899d812a .config console log report info [disk image] [vmlinux] ci-upstream-gce-arm64 kernel BUG in nilfs_btnode_create_block
2022/10/24 09:45 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 23bf86af .config console log report info [disk image] [vmlinux] ci-upstream-gce-arm64 kernel BUG in nilfs_btnode_create_block
* Struck through repros no longer work on HEAD.