syzbot


WARNING in gfs2_check_blk_type

Status: fixed on 2024/03/04 12:43
Subsystems: gfs2
[Documentation on labels]
Reported-by: syzbot+092b28923eb79e0f3c41@syzkaller.appspotmail.com
Fix commit: 6f861765464f fs: Block writes to mounted block devices
First crash: 531d, last: 127d
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 (11)
Title Replies (including bot) Last reply
[syzbot] WARNING in gfs2_check_blk_type 1 (3) 2024/02/29 08:42
[syzbot] Monthly gfs2 report (Jan 2024) 0 (1) 2024/01/09 18:20
[syzbot] Monthly gfs2 report (Dec 2023) 0 (1) 2023/12/07 09:56
[syzbot] Monthly gfs2 report (Nov 2023) 0 (1) 2023/11/06 23:07
[syzbot] Monthly gfs2 report (Oct 2023) 0 (1) 2023/10/05 13:58
[syzbot] Monthly gfs2 report (Sep 2023) 0 (1) 2023/09/04 08:33
[syzbot] Monthly gfs2 report (Aug 2023) 0 (1) 2023/08/02 11:18
[syzbot] Monthly gfs2 report (Jul 2023) 0 (1) 2023/07/03 09:03
[syzbot] Monthly gfs2 report (May 2023) 0 (1) 2023/05/31 08:44
[syzbot] Monthly gfs2 report (Apr 2023) 0 (1) 2023/04/30 08:01
[syzbot] Monthly cluster report 1 (2) 2023/03/30 10:09
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in gfs2_check_blk_type origin:upstream C error 69 22d 341d 0/3 upstream: reported C repro on 2023/06/19 08:48
upstream WARNING in gfs2_check_blk_type (2) gfs2 C inconclusive 13 10d 81d 0/26 upstream: reported C repro on 2024/03/05 11:03
linux-6.1 WARNING in gfs2_check_blk_type origin:upstream C 11 16h37m 341d 0/3 upstream: reported C repro on 2023/06/19 08:08
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/02/19 07:32 27m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/02/06 22:26 25m retest repro upstream OK log
2024/02/06 01:14 21m retest repro upstream OK log
2024/01/11 15:00 20m retest repro upstream OK log
2024/01/11 15:00 21m retest repro upstream OK log
2024/01/11 15:00 16m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/01/11 14:17 20m retest repro upstream OK log
2024/01/11 14:37 21m retest repro linux-next OK log
2024/01/11 14:17 20m retest repro upstream OK log
2024/01/11 14:17 16m retest repro upstream OK log

Sample crash report:
gfs2: fsid=syz:syz.0: first mount done, others may mount
------------[ cut here ]------------
WARNING: CPU: 1 PID: 6099 at fs/gfs2/rgrp.c:2630 gfs2_check_blk_type+0x378/0x57c
Modules linked in:
CPU: 1 PID: 6099 Comm: syz-executor119 Not tainted 6.7.0-rc6-syzkaller-gaafe7ad77b91 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : gfs2_check_blk_type+0x378/0x57c
lr : rgrp_contains_block fs/gfs2/rgrp.h:89 [inline]
lr : gfs2_rbm_from_block fs/gfs2/rgrp.c:279 [inline]
lr : gfs2_check_blk_type+0x2f4/0x57c fs/gfs2/rgrp.c:2629
sp : ffff8000970c7680
x29: ffff8000970c7740 x28: ffff0000d1b08000 x27: dfff800000000000
x26: ffff700012e18ed4 x25: ffff8000970c76c0 x24: 0000000000000013
x23: ffff0000d1b08034 x22: 00000000fffffff9 x21: 0000000000000012
x20: 1fffe0001a361006 x19: 1fffe0001a361005 x18: 1fffe0003682a5ce
x17: ffff80008e4ed000 x16: ffff8000802ef928 x15: 0000000000000001
x14: 1fffe0001bd903e8 x13: 0000000000000000 x12: ffff8000802efce8
x11: ffff80008db89461 x10: 0000000000ff0100 x9 : 0000000000000000
x8 : ffff0000d3ec1e00 x7 : ffff80008028df50 x6 : 0000000000000000
x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff800082462f0c
x2 : 000000000000000c x1 : 0000000000000012 x0 : 0000000000000013
Call trace:
 gfs2_check_blk_type+0x378/0x57c
 gfs2_inode_lookup+0x90c/0xa48 fs/gfs2/inode.c:178
 gfs2_lookup_by_inum+0x60/0xf8 fs/gfs2/inode.c:251
 gfs2_get_dentry fs/gfs2/export.c:139 [inline]
 gfs2_fh_to_dentry+0x128/0x1f4 fs/gfs2/export.c:162
 exportfs_decode_fh_raw+0x128/0x4ac fs/exportfs/expfs.c:444
 exportfs_decode_fh+0x50/0x80 fs/exportfs/expfs.c:584
 do_handle_to_path fs/fhandle.c:155 [inline]
 handle_to_path fs/fhandle.c:210 [inline]
 do_handle_open+0x534/0x718 fs/fhandle.c:226
 __do_sys_open_by_handle_at fs/fhandle.c:267 [inline]
 __se_sys_open_by_handle_at fs/fhandle.c:258 [inline]
 __arm64_sys_open_by_handle_at+0x80/0x94 fs/fhandle.c:258
 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155
 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678
 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595
irq event stamp: 92282
hardirqs last  enabled at (92281): [<ffff80008028dff0>] raw_spin_rq_unlock_irq kernel/sched/sched.h:1361 [inline]
hardirqs last  enabled at (92281): [<ffff80008028dff0>] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5130
hardirqs last disabled at (92282): [<ffff80008a826c2c>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:436
softirqs last  enabled at (92022): [<ffff80008003144c>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (92020): [<ffff800080031418>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---

Crashes (67):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/25 21:38 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci aafe7ad77b91 fb427a07 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in gfs2_check_blk_type
2023/12/25 11:52 upstream 861deac3b092 fb427a07 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/11/13 05:49 upstream b57b17e88bf5 6d6dbf8a .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root WARNING in gfs2_check_blk_type
2023/07/19 15:49 upstream ccff6d117d8d 022df2bb .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in gfs2_check_blk_type
2023/07/12 23:22 upstream 3f01e9fed845 979d5fe2 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root WARNING in gfs2_check_blk_type
2023/06/19 10:24 upstream 45a3e24f65e9 f3921d4d .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/05/23 22:33 upstream ae8373a5add4 4bce1a3e .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root WARNING in gfs2_check_blk_type
2022/12/12 00:22 upstream 4cee37b3a4e6 67be1ae7 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/08/31 02:42 linux-next 56585460cc2e 84803932 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in gfs2_check_blk_type
2023/06/19 08:50 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 WARNING in gfs2_check_blk_type
2024/01/16 00:22 upstream 052d534373b7 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in gfs2_check_blk_type
2023/12/27 22:06 upstream fbafc3e621c3 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/12/19 05:56 upstream 2cf4f94d8e86 924661f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/08/08 23:03 upstream 14f9643dc90a 9552ae77 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/07/16 16:26 upstream 831fe284d827 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in gfs2_check_blk_type
2023/07/14 12:42 upstream 4b810bf037e5 d624500f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/06/29 18:20 upstream b19edac5992d 134ddc02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/06/23 14:00 upstream 8a28a0b6f1a1 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/06/19 05:55 upstream 8c1f0c38b310 f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/06/14 08:02 upstream 15adb51c04cc d2ee9228 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/06/13 18:56 upstream fb054096aea0 749afb64 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/06/10 15:18 upstream 64569520920a 49519f06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/06/08 01:13 upstream a27648c74210 058b3a5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/06/07 14:48 upstream a4d7d7011219 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/05/24 09:07 upstream 27e462c8fad4 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/05/23 16:58 upstream ae8373a5add4 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/05/20 00:54 upstream cbd6ac3837cd 96689200 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/05/12 10:49 upstream 105131df9c3b adb9a3cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/04/24 10:38 upstream 457391b03803 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/04/19 04:50 upstream af67688dca57 d931e9f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/04/11 14:51 upstream 0d3eb744aed4 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/04/05 06:17 upstream 76f598ba7d8e 831373d3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/04/03 04:49 upstream 6ab608fe852b f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/03/31 20:06 upstream 62bad54b26db f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/03/14 21:41 upstream 4979bf866825 0d5c4377 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/03/06 04:44 upstream f915322fe014 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/02/28 03:30 upstream 982818426a0f 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/02/20 16:03 upstream c9c3395d5e3d bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/02/09 08:06 upstream 0983f6bf2bfc 14a312c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/01/30 12:18 upstream 6d796c50f84c b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/01/28 05:25 upstream 83abd4d4c4be 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/01/24 11:57 upstream 7bf70dbb1882 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/01/23 15:15 upstream 2475bf0250de 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/01/22 16:26 upstream 2241ab53cbb5 cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/01/16 07:45 upstream 5dc4c995db9e a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in gfs2_check_blk_type
2023/01/15 13:17 upstream 7c6984405241 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/01/10 04:05 upstream 1fe4fd6f5cad 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2023/01/02 03:04 upstream e4cf7c25bae5 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2022/12/26 18:44 upstream 1b929c02afd3 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2022/12/22 11:12 upstream b6bb9676f216 4067838e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2022/12/12 00:06 upstream 4cee37b3a4e6 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2024/01/19 20:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 0802e17d9aca 21772ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in gfs2_check_blk_type
2023/12/28 13:05 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci aafe7ad77b91 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in gfs2_check_blk_type
2023/08/01 04:40 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2642b8a18760 2a0d0f29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in gfs2_check_blk_type
2023/05/06 10:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 90c93c40 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in gfs2_check_blk_type
2023/03/31 20:12 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 59caa87f9dfb f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in gfs2_check_blk_type
2023/03/28 06:41 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e8d018dd0257 47f3aaf1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in gfs2_check_blk_type
2023/03/14 21:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe15c26ee26e 0d5c4377 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in gfs2_check_blk_type
2023/02/20 18:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2d3827b3f393 4f5f5209 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in gfs2_check_blk_type
* Struck through repros no longer work on HEAD.