syzbot


general protection fault in do_xmote

Status: auto-obsoleted due to no activity on 2023/05/31 20:52
Subsystems: gfs2
[Documentation on labels]
Reported-by: syzbot+ececff266234ba40fe13@syzkaller.appspotmail.com
First crash: 819d, last: 694d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: fixed by (bisect log) [merge commit]:
commit b7ee88128242b3460b0016a7e42207c9799f73b7
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Wed Feb 22 22:00:53 2023 +0000

  Merge tag 'gfs2-v6.2-rc5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2

  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] general protection fault in do_xmote 0 (2) 2022/12/13 11:42
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 BUG: unable to handle kernel paging request in do_xmote origin:lts-only C 2 43d 45d 0/3 upstream: reported C repro on 2024/11/11 09:16
upstream KASAN: slab-use-after-free Read in do_xmote gfs2 1 202d 198d 0/28 auto-obsoleted due to no activity on 2024/09/04 18:24
linux-6.1 BUG: unable to handle kernel paging request in do_xmote origin:lts-only C inconclusive 3 248d 250d 0/3 upstream: reported C repro on 2024/04/19 23:45
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/05/11 20:52 24m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2023/03/03 02:53 7h16m bisect fix upstream OK (1) job log
2023/01/30 23:19 1h45m bisect fix upstream OK (0) job log log

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000097: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x00000000000004b8-0x00000000000004bf]
CPU: 1 PID: 1273 Comm: kworker/1:1H Not tainted 6.1.0-syzkaller-03225-g764822972d64 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: glock_workqueue glock_work_func
RIP: 0010:is_system_glock fs/gfs2/glock.c:725 [inline]
RIP: 0010:do_xmote+0xdde/0x13d0 fs/gfs2/glock.c:835
Code: 00 48 03 5d 00 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 91 e1 27 fe bd b8 04 00 00 48 03 2b 48 89 e8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 ef e8 73 e1 27 fe 4c 8b 64 24 08 4c 39
RSP: 0018:ffffc900061a7b70 EFLAGS: 00010202
RAX: 0000000000000097 RBX: ffff888021dd8718 RCX: ffff888021c93a80
RDX: 0000000000000000 RSI: 0000000000004000 RDI: 0000000000000000
RBP: 00000000000004b8 R08: ffffffff83b7d986 R09: ffffed10043bb016
R10: ffffed10043bb016 R11: 1ffff110043bb015 R12: ffff888075bf0548
R13: 0000000000000818 R14: dffffc0000000000 R15: ffff888021dd8000
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020002080 CR3: 000000007a61b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 glock_work_func+0x2c2/0x450 fs/gfs2/glock.c:1082
 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289
 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
 kthread+0x266/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:is_system_glock fs/gfs2/glock.c:725 [inline]
RIP: 0010:do_xmote+0xdde/0x13d0 fs/gfs2/glock.c:835
Code: 00 48 03 5d 00 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 91 e1 27 fe bd b8 04 00 00 48 03 2b 48 89 e8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 ef e8 73 e1 27 fe 4c 8b 64 24 08 4c 39
RSP: 0018:ffffc900061a7b70 EFLAGS: 00010202
RAX: 0000000000000097 RBX: ffff888021dd8718 RCX: ffff888021c93a80
RDX: 0000000000000000 RSI: 0000000000004000 RDI: 0000000000000000
RBP: 00000000000004b8 R08: ffffffff83b7d986 R09: ffffed10043bb016
R10: ffffed10043bb016 R11: 1ffff110043bb015 R12: ffff888075bf0548
R13: 0000000000000818 R14: dffffc0000000000 R15: ffff888021dd8000
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020002080 CR3: 000000007e6e4000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	00 48 03             	add    %cl,0x3(%rax)
   3:	5d                   	pop    %rbp
   4:	00 48 89             	add    %cl,-0x77(%rax)
   7:	d8 48 c1             	fmuls  -0x3f(%rax)
   a:	e8 03 42 80 3c       	callq  0x3c804212
   f:	30 00                	xor    %al,(%rax)
  11:	74 08                	je     0x1b
  13:	48 89 df             	mov    %rbx,%rdi
  16:	e8 91 e1 27 fe       	callq  0xfe27e1ac
  1b:	bd b8 04 00 00       	mov    $0x4b8,%ebp
  20:	48 03 2b             	add    (%rbx),%rbp
  23:	48 89 e8             	mov    %rbp,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 30 00       	cmpb   $0x0,(%rax,%r14,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	48 89 ef             	mov    %rbp,%rdi
  34:	e8 73 e1 27 fe       	callq  0xfe27e1ac
  39:	4c 8b 64 24 08       	mov    0x8(%rsp),%r12
  3e:	4c                   	rex.WR
  3f:	39                   	.byte 0x39

Crashes (16):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/13 11:41 upstream 764822972d64 67be1ae7 .config strace log report syz C [mounted in repro] ci2-upstream-fs general protection fault in do_xmote
2022/12/13 12:16 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 67be1ae7 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 BUG: unable to handle kernel NULL pointer dereference in do_xmote
2023/01/31 20:51 upstream 22b8077d0fce b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in do_xmote
2022/12/13 10:57 upstream 764822972d64 67be1ae7 .config console log report info ci2-upstream-fs general protection fault in do_xmote
2022/12/09 13:21 upstream f3e8416619ce 1034e5fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in do_xmote
2022/11/01 06:50 upstream b229b6ca5abb a1d8560a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in do_xmote
2022/10/19 19:41 upstream 493ffd6605b2 b31320fc .config console log report info [disk image] [vmlinux] ci2-upstream-fs general protection fault in do_xmote
2022/10/02 21:54 upstream a962b54e162c feb56351 .config console log report info [disk image] [vmlinux] ci2-upstream-fs general protection fault in do_xmote
2022/10/02 08:31 upstream b357fd1c2afc feb56351 .config console log report info [disk image] [vmlinux] ci2-upstream-fs general protection fault in do_xmote
2022/09/29 10:20 upstream c3e0e1e23c70 a41a2080 .config console log report info ci-qemu-upstream general protection fault in do_xmote
2022/11/03 02:18 upstream 200204f56f3b b7c72847 .config console log report info ci-qemu-upstream-386 general protection fault in do_xmote
2022/11/01 13:08 upstream 200204f56f3b a1d8560a .config console log report info ci-qemu-upstream-386 general protection fault in do_xmote
2022/11/01 00:25 upstream 200204f56f3b 43f72c2d .config console log report info ci-qemu-upstream-386 general protection fault in do_xmote
2022/10/28 08:56 upstream 200204f56f3b 8168b69e .config console log report info ci-qemu-upstream-386 general protection fault in do_xmote
2022/10/26 02:29 upstream 4dc12f37a8e9 1984aebd .config console log report info ci-qemu-upstream-386 general protection fault in do_xmote
2022/09/29 10:27 upstream c3e0e1e23c70 a41a2080 .config console log report info ci-qemu-upstream-386 general protection fault in do_xmote
* Struck through repros no longer work on HEAD.