syzbot


kernel BUG in qd_put (3)

Status: upstream: reported C repro on 2024/07/19 10:08
Subsystems: gfs2
[Documentation on labels]
Reported-by: syzbot+0423714c06c369318794@syzkaller.appspotmail.com
First crash: 54d, last: 53d
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [gfs2?] kernel BUG in qd_put (3) 0 (1) 2024/07/19 10:08
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in qd_put (2) gfs2 3 234d 231d 0/27 auto-obsoleted due to no activity on 2024/04/26 17:22
upstream kernel BUG in qd_put gfs2 2 367d 363d 0/27 auto-obsoleted due to no activity on 2023/12/15 08:52
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/07/30 08:19 1h26m retest repro linux-next error

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/gfs2/quota.c:333!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 0 UID: 0 PID: 5093 Comm: syz-executor256 Not tainted 6.10.0-rc7-next-20240712-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:qd_put+0x192/0x1a0 fs/gfs2/quota.c:333
Code: ef e8 62 f6 17 fe e9 f2 fe ff ff 89 e9 80 e1 07 80 c1 03 38 c1 7c 82 48 89 ef e8 39 f7 17 fe e9 75 ff ff ff e8 2f 70 b0 fd 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc900035dfc08 EFLAGS: 00010293
RAX: ffffffff83e35ac1 RBX: 00000000ffffff80 RCX: ffff88801a358000
RDX: 0000000000000000 RSI: 00000000ffffff80 RDI: 0000000000000000
RBP: ffff88807f3f25b0 R08: ffffffff83e359a1 R09: fffff520006bbf6c
R10: dffffc0000000000 R11: fffff520006bbf6c R12: ffff88807f3f2540
R13: ffff88802a2eb800 R14: ffff88807f3f2570 R15: 1ffff1100fe7e4b6
FS:  0000555576e86380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffed6b8af98 CR3: 000000007942a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 gfs2_quota_sync+0x41b/0x4a0 fs/gfs2/quota.c:1363
 gfs2_sync_fs+0x4d/0xc0 fs/gfs2/super.c:670
 sync_filesystem+0xed/0x230 fs/sync.c:56
 generic_shutdown_super+0x72/0x2d0 fs/super.c:621
 kill_block_super+0x44/0x90 fs/super.c:1685
 deactivate_locked_super+0xc4/0x130 fs/super.c:473
 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1372
 task_work_run+0x24f/0x310 kernel/task_work.c:222
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
 syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218
 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb2335fb597
Code: 08 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffed6b8b1f8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fb2335fb597
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffed6b8b2b0
RBP: 00007ffed6b8b2b0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000202 R12: 00007ffed6b8c320
R13: 0000555576e876c0 R14: 431bde82d7b634db R15: 00007ffed6b8c340
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:qd_put+0x192/0x1a0 fs/gfs2/quota.c:333
Code: ef e8 62 f6 17 fe e9 f2 fe ff ff 89 e9 80 e1 07 80 c1 03 38 c1 7c 82 48 89 ef e8 39 f7 17 fe e9 75 ff ff ff e8 2f 70 b0 fd 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc900035dfc08 EFLAGS: 00010293

RAX: ffffffff83e35ac1 RBX: 00000000ffffff80 RCX: ffff88801a358000
RDX: 0000000000000000 RSI: 00000000ffffff80 RDI: 0000000000000000
RBP: ffff88807f3f25b0 R08: ffffffff83e359a1 R09: fffff520006bbf6c
R10: dffffc0000000000 R11: fffff520006bbf6c R12: ffff88807f3f2540
R13: ffff88802a2eb800 R14: ffff88807f3f2570 R15: 1ffff1100fe7e4b6
FS:  0000555576e86380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffed6b8af98 CR3: 000000007942a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/16 03:47 linux-next 3fe121b62282 efee4ed2 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root kernel BUG in qd_put
2024/07/15 10:08 linux-next 3fe121b62282 c605e6a2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in qd_put
2024/07/15 10:06 linux-next 3fe121b62282 c605e6a2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in qd_put
* Struck through repros no longer work on HEAD.