syzbot


WARNING in gfs2_kill_sb (4)

Status: upstream: reported C repro on 2022/03/10 22:25
Reported-by: syzbot+86f76c84106d0e942d21@syzkaller.appspotmail.com
First crash: 988d, last: 643d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in gfs2_kill_sb (3) 2 1600d 1628d 0/1 auto-closed as invalid on 2020/11/03 23:21
linux-4.14 WARNING in gfs2_kill_sb (2) 1 1759d 1759d 0/1 auto-closed as invalid on 2020/05/29 00:35
linux-4.14 WARNING in gfs2_kill_sb 3 1968d 1984d 0/1 auto-closed as invalid on 2019/11/02 04:54
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2023/02/18 23:42 26m bisect fix linux-4.14.y OK (0) job log log
2023/01/19 14:53 26m bisect fix linux-4.14.y OK (0) job log log
2022/10/26 10:45 25m bisect fix linux-4.14.y OK (0) job log log
2022/08/06 04:47 25m bisect fix linux-4.14.y OK (0) job log log
2022/05/23 12:03 25m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
 should_failslab+0xd6/0x130 mm/failslab.c:32
 slab_pre_alloc_hook mm/slab.h:421 [inline]
 slab_alloc mm/slab.c:3376 [inline]
 __do_kmalloc mm/slab.c:3718 [inline]
 __kmalloc+0x2c1/0x400 mm/slab.c:3729
------------[ cut here ]------------
 kmalloc include/linux/slab.h:493 [inline]
 kzalloc include/linux/slab.h:661 [inline]
 __list_lru_init+0x67/0x710 mm/list_lru.c:539
 alloc_super fs/super.c:229 [inline]
 sget_userns+0x4e4/0xc10 fs/super.c:516
WARNING: CPU: 0 PID: 8031 at fs/super.c:1163 kill_block_super+0xbe/0xe0 fs/super.c:1163
Kernel panic - not syncing: panic_on_warn set ...

 sget+0xd1/0x110 fs/super.c:572
 gfs2_mount+0x10f/0x510 fs/gfs2/ops_fstype.c:1292
 mount_fs+0x92/0x2a0 fs/super.c:1237
 vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046
 vfs_kern_mount fs/namespace.c:1036 [inline]
 do_new_mount fs/namespace.c:2572 [inline]
 do_mount+0xe65/0x2a10 fs/namespace.c:2902
 SYSC_mount fs/namespace.c:3118 [inline]
 SyS_mount+0xa8/0x120 fs/namespace.c:3095
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7fc44b2320fa
RSP: 002b:00007ffe9a2e4e98 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fc44b2320fa
RDX: 0000000020000780 RSI: 00000000200007c0 RDI: 00007ffe9a2e4ea0
RBP: 00007ffe9a2e4ea0 R08: 00007ffe9a2e4ee0 R09: 6f6f6c2f7665642f
R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000005
R13: 0000000000000000 R14: 00007ffe9a2e4ee0 R15: 0000000000000000
CPU: 0 PID: 8031 Comm: syz-executor174 Not tainted 4.14.270-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x20/0x44 kernel/panic.c:547
 report_bug+0x208/0x250 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:kill_block_super+0xbe/0xe0 fs/super.c:1163
RSP: 0018:ffff8880b53bfa50 EFLAGS: 00010297
RAX: ffff8880b34fc500 RBX: 0000000000000000 RCX: 1ffff1101669f9b6
RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff8880b1dc0bb0
RBP: ffff8880b53b2dc0 R08: ffffffff8b9ac500 R09: 0000000000000001
R10: 0000000000000000 R11: ffff8880b34fc500 R12: ffff8880b1dc0700
R13: ffffffff89303db0 R14: ffffffff88f45040 R15: dffffc0000000000
 gfs2_kill_sb+0x144/0x1a0 fs/gfs2/ops_fstype.c:1398
 deactivate_locked_super+0x6c/0xd0 fs/super.c:319
 sget_userns+0x9c4/0xc10 fs/super.c:537
 sget+0xd1/0x110 fs/super.c:572
 gfs2_mount+0x10f/0x510 fs/gfs2/ops_fstype.c:1292
 mount_fs+0x92/0x2a0 fs/super.c:1237
 vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046
 vfs_kern_mount fs/namespace.c:1036 [inline]
 do_new_mount fs/namespace.c:2572 [inline]
 do_mount+0xe65/0x2a10 fs/namespace.c:2902
 SYSC_mount fs/namespace.c:3118 [inline]
 SyS_mount+0xa8/0x120 fs/namespace.c:3095
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7fc44b2320fa
RSP: 002b:00007ffe9a2e4e98 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fc44b2320fa
RDX: 0000000020000780 RSI: 00000000200007c0 RDI: 00007ffe9a2e4ea0
RBP: 00007ffe9a2e4ea0 R08: 00007ffe9a2e4ee0 R09: 6f6f6c2f7665642f
R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000005
R13: 0000000000000000 R14: 00007ffe9a2e4ee0 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/03/10 22:56 linux-4.14.y c9fcc1545c3b 9e8eaa75 .config console log report syz C ci2-linux-4-14 WARNING in gfs2_kill_sb
2022/09/16 12:34 linux-4.14.y 5df8b4735177 dd9a85ff .config console log report info [disk image] [vmlinux] ci2-linux-4-14 WARNING in gfs2_kill_sb
2022/08/27 19:29 linux-4.14.y e548869f356f 07177916 .config console log report info ci2-linux-4-14 WARNING in gfs2_kill_sb
2022/08/08 12:42 linux-4.14.y b641242202ed 88e3a122 .config console log report info ci2-linux-4-14 WARNING in gfs2_kill_sb
2022/07/07 04:47 linux-4.14.y ed2e96e11936 bff65f44 .config console log report info ci2-linux-4-14 WARNING in gfs2_kill_sb
2022/06/11 17:41 linux-4.14.y b8f3be299d51 0d5abf15 .config console log report info ci2-linux-4-14 WARNING in gfs2_kill_sb
2022/04/23 12:03 linux-4.14.y 15a1c6b6f516 131df97d .config console log report info ci2-linux-4-14 WARNING in gfs2_kill_sb
2022/03/30 07:40 linux-4.14.y af1af6ebca0e 6bdac766 .config console log report info ci2-linux-4-14 WARNING in gfs2_kill_sb
2022/03/22 04:34 linux-4.14.y eb045674aab3 e2d91b1d .config console log report info ci2-linux-4-14 WARNING in gfs2_kill_sb
2022/03/10 22:24 linux-4.14.y c9fcc1545c3b 9e8eaa75 .config console log report info ci2-linux-4-14 WARNING in gfs2_kill_sb
* Struck through repros no longer work on HEAD.