syzbot


BUG: unable to handle kernel paging request in do_xmote

Status: upstream: reported C repro on 2024/04/19 23:45
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+84d8457bab87b374f232@syzkaller.appspotmail.com
First crash: 13d, last: 11d
Bug presence (2)
Date Name Commit Repro Result
2024/04/20 linux-6.1.y (ToT) 6741e066ec76 C [report] BUG: unable to handle kernel paging request in do_xmote
2024/04/20 upstream (ToT) 13a2e429f644 C Didn't crash
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in do_xmote gfs2 C error unreliable 16 457d 580d 0/26 auto-obsoleted due to no activity on 2023/05/31 20:52

Sample crash report:
Unable to handle kernel paging request at virtual address dfff800000000097
KASAN: null-ptr-deref in range [0x00000000000004b8-0x00000000000004bf]
Mem abort info:
  ESR = 0x0000000096000006
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x06: level 2 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000006
  CM = 0, WnR = 0
[dfff800000000097] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 51 Comm: kworker/1:1H Not tainted 6.1.87-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: glock_workqueue glock_work_func
pstate: 80401005 (Nzcv daif +PAN -UAO -TCO -DIT +SSBS BTYPE=--)
pc : is_system_glock fs/gfs2/glock.c:725 [inline]
pc : do_xmote+0xb58/0x11d8 fs/gfs2/glock.c:835
lr : do_xmote+0xb24/0x11d8 fs/gfs2/glock.c:832
sp : ffff80001b387a40
x29: ffff80001b387a60 x28: dfff800000000000 x27: dfff800000000000
x26: ffff0000dd3745a8 x25: ffff0000dd374568 x24: 0000000000000013
x23: 00000000000004b8 x22: 0000000000000000 x21: 0000000000000000
x20: ffff0000d6528000 x19: ffff0000dd374548 x18: ffff80001de06ee0
x17: ffff8000188dd000 x16: ffff80000825f5e8 x15: 0000000000000000
x14: 1ffff00002b0a0b0 x13: dfff800000000000 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff80000a38eafc
x8 : 0000000000000097 x7 : ffff80000aa70568 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80000831e9d0
x2 : 0000000000000001 x1 : 0000000000004000 x0 : 0000000000000000
Call trace:
 is_system_glock fs/gfs2/glock.c:725 [inline]
 do_xmote+0xb58/0x11d8 fs/gfs2/glock.c:835
 run_queue+0x400/0x688 fs/gfs2/glock.c:914
 glock_work_func+0x270/0x440 fs/gfs2/glock.c:1084
 process_one_work+0x7ac/0x1404 kernel/workqueue.c:2292
 worker_thread+0x8e4/0xfec kernel/workqueue.c:2439
 kthread+0x250/0x2d8 kernel/kthread.c:376
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864
Code: d2d0001b f2fbfffb 9112e117 d343fee8 (387c6908) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	d2d0001b 	mov	x27, #0x800000000000        	// #140737488355328
   4:	f2fbfffb 	movk	x27, #0xdfff, lsl #48
   8:	9112e117 	add	x23, x8, #0x4b8
   c:	d343fee8 	lsr	x8, x23, #3
* 10:	387c6908 	ldrb	w8, [x8, x28] <-- trapping instruction

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/20 02:52 linux-6.1.y 6741e066ec76 af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in do_xmote
2024/04/21 23:52 linux-6.1.y 6741e066ec76 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in do_xmote
2024/04/19 23:45 linux-6.1.y 6741e066ec76 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in do_xmote
* Struck through repros no longer work on HEAD.