syzbot


kernel BUG in gfs2_glock_nq (2)

Status: upstream: reported C repro on 2022/05/26 14:43
Subsystems: gfs2
[Documentation on labels]
Reported-by: syzbot+8187784791754d60479b@syzkaller.appspotmail.com
First crash: 698d, last: 417d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 kernel BUG in gfs2_glock_nq 2 827d 871d 0/1 auto-closed as invalid on 2022/05/17 22:53
linux-4.19 kernel BUG in gfs2_glock_nq 1 1107d 1107d 0/1 auto-closed as invalid on 2021/08/11 04:31
linux-4.19 kernel BUG in gfs2_glock_nq (2) gfs2 C error 52 414d 953d 0/1 upstream: reported C repro on 2021/09/14 01:12
upstream kernel BUG in gfs2_glock_nq gfs2 2 882d 872d 0/26 auto-closed as invalid on 2022/03/23 19:53
linux-6.1 kernel BUG in gfs2_glock_nq origin:upstream C 42 3d04h 409d 0/3 upstream: reported C repro on 2023/03/12 01:31
upstream kernel BUG in gfs2_glock_nq (2) gfs2 C error 730 1h36m 579d 0/26 upstream: reported C repro on 2022/09/23 06:12
linux-5.15 kernel BUG in gfs2_glock_nq origin:upstream C error 32 2d15h 408d 0/3 upstream: reported C repro on 2023/03/12 21:28
linux-4.14 kernel BUG at fs/gfs2/glock.c:LINE! 3 1183d 1254d 0/1 auto-closed as invalid on 2021/05/27 07:56
linux-4.19 kernel BUG at fs/gfs2/glock.c:LINE! 2 1251d 1284d 0/1 auto-closed as invalid on 2021/03/20 05:06
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/02/02 21:18 1h14m bisect fix linux-4.14.y job log (0) log

Sample crash report:
gfs2: pid: 7985
gfs2: lock type: 8 req lock state : 1
gfs2: G:  s:EX n:8/1 f:qb t:EX d:EX/0 a:0 v:0 r:5 m:20
gfs2:  H: s:EX f:cH e:0 p:7985 [gfs2_quotad] gfs2_glock_nq_init fs/gfs2/glock.h:226 [inline]
gfs2:  H: s:EX f:cH e:0 p:7985 [gfs2_quotad] do_sync+0x3f0/0xba0 fs/gfs2/quota.c:893
------------[ cut here ]------------
kernel BUG at fs/gfs2/glock.c:1082!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 7985 Comm: gfs2_quotad Not tainted 4.14.302-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
task: ffff88809562e240 task.stack: ffff8880b2cc8000
RIP: 0010:add_to_queue fs/gfs2/glock.c:1082 [inline]
RIP: 0010:gfs2_glock_nq.cold+0x279/0x2d0 fs/gfs2/glock.c:1107
RSP: 0018:ffff8880b2ccfb68 EFLAGS: 00010296
RAX: ffffed1016599f4e RBX: ffff8880a94277e0 RCX: 1ffff11012ac5d68
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffff87c0e310
RBP: 0000000000001f31 R08: 0000000000000040 R09: 0000000000000003
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880b3fb9578
R13: ffff8880a94277e0 R14: 0000000000000001 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005633757e3160 CR3: 00000000a39dd000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 gfs2_glock_nq_init fs/gfs2/glock.h:228 [inline]
 do_sync+0x3f8/0xba0 fs/gfs2/quota.c:893
 gfs2_quota_sync+0x4f1/0x690 fs/gfs2/quota.c:1299
 quotad_check_timeo fs/gfs2/quota.c:1489 [inline]
 quotad_check_timeo fs/gfs2/quota.c:1483 [inline]
 gfs2_quotad+0x23f/0x810 fs/gfs2/quota.c:1554
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:406
Code: c1 ea 03 0f b6 04 02 84 c0 74 04 3c 03 7e 6c 8b 73 18 44 89 f2 48 c7 c7 e0 c0 c0 87 e8 bd 82 f9 ff 4c 89 ee 31 ff e8 79 d9 b0 fb <0f> 0b e8 22 65 75 fa 4c 8b 04 24 e9 ac fd ff ff 31 ed e9 14 fe 
RIP: add_to_queue fs/gfs2/glock.c:1082 [inline] RSP: ffff8880b2ccfb68
RIP: gfs2_glock_nq.cold+0x279/0x2d0 fs/gfs2/glock.c:1107 RSP: ffff8880b2ccfb68
---[ end trace a82dc9197b4e5c2b ]---

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/01 12:04 linux-4.14.y c4215ee4771b ab32d508 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 kernel BUG in gfs2_glock_nq
2022/12/25 10:47 linux-4.14.y c4215ee4771b 9da18ae8 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 kernel BUG in gfs2_glock_nq
2022/12/01 15:50 linux-4.14.y 179ef7fe8677 4c2a66e8 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 kernel BUG in gfs2_glock_nq
2023/03/03 12:52 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in gfs2_glock_nq
2022/12/14 05:21 linux-4.14.y 65afe34ac33d f6511626 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 kernel BUG in gfs2_glock_nq
2022/08/19 02:16 linux-4.14.y b641242202ed 26a13b38 .config console log report info ci2-linux-4-14 kernel BUG in gfs2_glock_nq
2022/05/26 14:43 linux-4.14.y 501eec4f9e13 3037caa9 .config console log report info ci2-linux-4-14 kernel BUG in gfs2_glock_nq
* Struck through repros no longer work on HEAD.