syzbot


kernel BUG in gfs2_withdraw

Status: upstream: reported C repro on 2024/09/24 07:11
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+d4c528fa1b9a940707cd@syzkaller.appspotmail.com
First crash: 28d, last: 14d
Bug presence (1)
Date Name Commit Repro Result
2024/09/25 upstream (ToT) 684a64bf32b6 C [report] kernel BUG in gfs2_withdraw
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in gfs2_withdraw gfs2 C inconclusive 199 37m 50d 0/28 upstream: reported C repro on 2024/09/02 08:54

Sample crash report:
  bh = 8330 (magic number)
  function = gfs2_meta_buffer, file = fs/gfs2/meta_io.c, line = 493
gfs2: fsid=syz:syz.0: about to withdraw this file system
------------[ cut here ]------------
kernel BUG at fs/gfs2/util.c:341!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4030 Comm: syz-executor193 Not tainted 5.15.167-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : gfs2_withdraw+0x1214/0x12a4 fs/gfs2/util.c:341
lr : gfs2_withdraw+0x1214/0x12a4 fs/gfs2/util.c:341
sp : ffff80001f956b80
x29: ffff80001f956ca0 x28: ffff700003f2ad80 x27: dfff800000000000
x26: 1fffe0001b5c4857 x25: ffff80001f956c00 x24: ffff800012010fe0
x23: 0000000000000716 x22: ffff0000dae24340 x21: ffff0000dae240a8
x20: ffff0000dae242bc x19: ffff0000dae24000 x18: 0000000000000001
x17: 0000000000000000 x16: ffff800008336530 x15: 00000000ffffffff
x14: ffff0000d64651c0 x13: 0000000000000001 x12: 0000000000000001
x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000d64651c0
x8 : ffff80000a312728 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80001f9562f8 x4 : ffff800014b9fae0 x3 : ffff80000833667c
x2 : 0000000000000001 x1 : 0000000000000004 x0 : 0000000000000000
Call trace:
 gfs2_withdraw+0x1214/0x12a4 fs/gfs2/util.c:341
 gfs2_meta_check_ii+0x80/0x9c fs/gfs2/util.c:498
 gfs2_metatype_check_i fs/gfs2/util.h:126 [inline]
 gfs2_meta_buffer+0x2c8/0x394 fs/gfs2/meta_io.c:493
 gfs2_meta_inode_buffer fs/gfs2/meta_io.h:70 [inline]
 gfs2_inode_refresh+0xc4/0xdf4 fs/gfs2/glops.c:481
 inode_go_lock+0xfc/0x390 fs/gfs2/glops.c:510
 do_promote+0x680/0xa80 fs/gfs2/glock.c:507
 finish_xmote+0x478/0xbb4 fs/gfs2/glock.c:678
 do_xmote+0x6e4/0x1054 fs/gfs2/glock.c:824
 run_queue+0x3f8/0x6bc fs/gfs2/glock.c:872
 gfs2_glock_nq+0xa60/0x144c fs/gfs2/glock.c:1534
 gfs2_glock_nq_init fs/gfs2/glock.h:246 [inline]
 gfs2_lookupi+0x368/0x538 fs/gfs2/inode.c:321
 gfs2_lookup_simple+0xe4/0x174 fs/gfs2/inode.c:273
 init_journal+0x194/0x1f6c fs/gfs2/ops_fstype.c:748
 init_inodes+0xe0/0x2d8 fs/gfs2/ops_fstype.c:891
 gfs2_fill_super+0x1640/0x2010 fs/gfs2/ops_fstype.c:1249
 get_tree_bdev+0x360/0x54c fs/super.c:1323
 gfs2_get_tree+0x54/0x1b4 fs/gfs2/ops_fstype.c:1332
 vfs_get_tree+0x90/0x274 fs/super.c:1528
 do_new_mount+0x278/0x8fc fs/namespace.c:3005
 path_mount+0x594/0x101c fs/namespace.c:3335
 do_mount fs/namespace.c:3348 [inline]
 __do_sys_mount fs/namespace.c:3556 [inline]
 __se_sys_mount fs/namespace.c:3533 [inline]
 __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3533
 __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: f9401fe0 97970ed1 17ffff43 9786cde5 (d4210000) 
---[ end trace 825a017de549361b ]---

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/24 12:25 linux-5.15.y 3a5928702e71 89298aad .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_withdraw
2024/09/24 11:01 linux-5.15.y 3a5928702e71 89298aad .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_withdraw
2024/09/24 09:55 linux-5.15.y 3a5928702e71 89298aad .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_withdraw
2024/09/24 08:24 linux-5.15.y 3a5928702e71 89298aad .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_withdraw
2024/10/08 18:26 linux-5.15.y 3a5928702e71 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_withdraw
2024/09/24 07:10 linux-5.15.y 3a5928702e71 89298aad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_withdraw
* Struck through repros no longer work on HEAD.