syzbot


kernel BUG in gfs2_withdraw

Status: upstream: reported C repro on 2024/12/01 20:36
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+b5670e57ae64c7037216@syzkaller.appspotmail.com
First crash: 20d, last: 7d09h
Bug presence (1)
Date Name Commit Repro Result
2024/12/02 upstream (ToT) e70140ba0d2b C [report] kernel BUG in gfs2_withdraw
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 kernel BUG in gfs2_withdraw origin:upstream C 15 9h42m 88d 0/3 upstream: reported C repro on 2024/09/24 07:11
upstream kernel BUG in gfs2_withdraw gfs2 C inconclusive 772 2h04m 110d 0/28 upstream: reported C repro on 2024/09/02 08:54

Sample crash report:
  bh = 2 (magic number)
  function = gfs2_meta_buffer, file = fs/gfs2/meta_io.c, line = 492
gfs2: fsid=}.0: about to withdraw this file system
------------[ cut here ]------------
kernel BUG at fs/gfs2/util.c:352!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4290 Comm: syz-executor431 Not tainted 6.1.119-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : gfs2_withdraw+0x1338/0x140c fs/gfs2/util.c:352
lr : gfs2_withdraw+0x1338/0x140c fs/gfs2/util.c:352
sp : ffff800021706c00
x29: ffff800021706d20 x28: ffff800021706c80 x27: ffff7000042e0d90
x26: dfff800000000000 x25: 1fffe0001b628057 x24: 000000000000076e
x23: 0000000000000000 x22: ffff0000db140340 x21: ffff0000db1400a8
x20: ffff0000db1402bc x19: ffff0000db140000 x18: 1fffe0003679c376
x17: 0000000000000000 x16: ffff800012325074 x15: 0000000000000000
x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff80000a49b37c
x8 : ffff0000d9e93780 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff800021706518 x4 : ffff800015b630e0 x3 : ffff800008585a08
x2 : 0000000000000001 x1 : 0000000000000004 x0 : 0000000000000000
Call trace:
 gfs2_withdraw+0x1338/0x140c fs/gfs2/util.c:352
 gfs2_meta_check_ii+0x80/0x9c fs/gfs2/util.c:511
 gfs2_metatype_check_i fs/gfs2/util.h:126 [inline]
 gfs2_meta_buffer+0x2c8/0x394 fs/gfs2/meta_io.c:492
 __fillup_metapath+0x144/0x2a0 fs/gfs2/bmap.c:330
 lookup_metapath fs/gfs2/bmap.c:357 [inline]
 __gfs2_iomap_get+0x514/0x1058 fs/gfs2/bmap.c:904
 gfs2_iomap_get fs/gfs2/bmap.c:1396 [inline]
 gfs2_block_map+0x254/0x7c0 fs/gfs2/bmap.c:1211
 gfs2_write_alloc_required+0x2dc/0x544 fs/gfs2/bmap.c:2320
 gfs2_jdesc_check+0x19c/0x264 fs/gfs2/super.c:114
 init_journal+0xb78/0x2054 fs/gfs2/ops_fstype.c:804
 init_inodes+0xe0/0x2d8 fs/gfs2/ops_fstype.c:889
 gfs2_fill_super+0x16fc/0x1ef8 fs/gfs2/ops_fstype.c:1246
 get_tree_bdev+0x360/0x54c fs/super.c:1366
 gfs2_get_tree+0x54/0x1b4 fs/gfs2/ops_fstype.c:1327
 vfs_get_tree+0x90/0x274 fs/super.c:1573
 do_new_mount+0x278/0x8fc fs/namespace.c:3056
 path_mount+0x590/0xe5c fs/namespace.c:3386
 do_mount fs/namespace.c:3399 [inline]
 __do_sys_mount fs/namespace.c:3607 [inline]
 __se_sys_mount fs/namespace.c:3584 [inline]
 __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3584
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
Code: f94013e0 97936455 17ffff55 97815d25 (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/01 22:43 linux-6.1.y e4d90d63d385 68914665 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_withdraw
2024/12/01 22:02 linux-6.1.y e4d90d63d385 68914665 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_withdraw
2024/12/01 21:21 linux-6.1.y e4d90d63d385 68914665 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_withdraw
2024/12/14 16:13 linux-6.1.y e4d90d63d385 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_withdraw
2024/12/08 16:20 linux-6.1.y e4d90d63d385 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_withdraw
2024/12/05 02:00 linux-6.1.y e4d90d63d385 b50eb251 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_withdraw
2024/12/01 20:36 linux-6.1.y e4d90d63d385 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_withdraw
* Struck through repros no longer work on HEAD.