syzbot


BUG: unable to handle kernel paging request in xlog_cil_push_work

Status: moderation: reported on 2025/01/08 21:57
Subsystems: xfs
[Documentation on labels]
Reported-by: syzbot+692770e039a014d3b919@syzkaller.appspotmail.com
First crash: 10d, last: 10d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KASAN: slab-out-of-bounds Write in xlog_cil_push_work xfs 3 220d 226d 0/28 auto-obsoleted due to no activity on 2024/09/06 14:39

Sample crash report:
Unable to handle kernel paging request at virtual address 001dafeb001fffe2
Mem abort info:
  ESR = 0x0000000096000004
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x04: level 0 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000
  CM = 0, WnR = 0, TnD = 0, TagAccess = 0
  GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[001dafeb001fffe2] address between user and kernel address ranges
Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 UID: 0 PID: 577 Comm: kworker/u8:6 Not tainted 6.13.0-rc3-syzkaller-g573067a5a685 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: xfs-cil/loop4 xlog_cil_push_work
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : xlog_cil_build_lv_chain fs/xfs/xfs_log_cil.c:1245 [inline]
pc : xlog_cil_push_work+0xb68/0x25d4 fs/xfs/xfs_log_cil.c:1381
lr : generic_test_bit include/asm-generic/bitops/generic-non-atomic.h:128 [inline]
lr : xlog_cil_build_lv_chain fs/xfs/xfs_log_cil.c:1238 [inline]
lr : xlog_cil_push_work+0xb1c/0x25d4 fs/xfs/xfs_log_cil.c:1381
sp : ffff80009cd57760
x29: ffff80009cd57aa0 x28: ffff0000ef199095 x27: 00f17f5800ffff00
x26: ffff0000cbe21cb0 x25: ffff80009cd57a50 x24: dfff800000000000
x23: ffff0000ef19906d x22: 1fffe0001de33212 x21: ffff0000ef19907d
x20: ffff0000ef199045 x19: dfff800000000000 x18: ffff80009cd572a0
x17: 00000000000205db x16: ffff8000803b3884 x15: 0000000000000001
x14: 1fffe000197a0f20 x13: 0000000000000000 x12: 0000000000000000
x11: 0000000000000001 x10: 0000000000ff0100 x9 : 0000000000000000
x8 : 001e2feb001fffe2 x7 : ffff800081f5dc20 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80008047d328
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 00f17f5800ffff10
Call trace:
 xlog_cil_build_lv_chain fs/xfs/xfs_log_cil.c:1245 [inline] (P)
 xlog_cil_push_work+0xb68/0x25d4 fs/xfs/xfs_log_cil.c:1381 (P)
 process_one_work+0x7a8/0x15cc kernel/workqueue.c:3229
 process_scheduled_works kernel/workqueue.c:3310 [inline]
 worker_thread+0x97c/0xeec kernel/workqueue.c:3391
 kthread+0x288/0x310 kernel/kthread.c:389
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862
Code: 91004360 d2d00013 d343fc08 f2fbfff3 (38f86908) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	91004360 	add	x0, x27, #0x10
   4:	d2d00013 	mov	x19, #0x800000000000        	// #140737488355328
   8:	d343fc08 	lsr	x8, x0, #3
   c:	f2fbfff3 	movk	x19, #0xdfff, lsl #48
* 10:	38f86908 	ldrsb	w8, [x8, x24] <-- trapping instruction

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/04 21:54 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 573067a5a685 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in xlog_cil_push_work
* Struck through repros no longer work on HEAD.