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: 44d, last: 23d
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 254d 261d 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 001f7fe0001a8369
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
[001f7fe0001a8369] address between user and kernel address ranges
Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 UID: 0 PID: 45 Comm: kworker/u8:4 Not tainted 6.13.0-rc7-syzkaller-g1950a0af2d55 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: xfs-cil/loop1 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 : ffff800099107760
x29: ffff800099107aa0 x28: ffff0000db243091 x27: 00ffff0000d41b38
x26: ffff0000d476f8b0 x25: ffff800099107a50 x24: dfff800000000000
x23: ffff0000db243069 x22: 1fffe0001b648612 x21: ffff0000db243079
x20: ffff0000db243041 x19: dfff800000000000 x18: ffff800099107440
x17: 000000000001c698 x16: ffff8000803b4218 x15: 0000000000000001
x14: 1fffe0001f199320 x13: 0000000000000000 x12: 0000000000000000
x11: 0000000000000001 x10: 0000000000ff0100 x9 : 0000000000000000
x8 : 001fffe0001a8369 x7 : 0000000000000000 x6 : 0000000000000000
x5 : ffff8000935f3bf8 x4 : 0000000000000008 x3 : ffff80008047dcc8
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 00ffff0000d41b48
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:3236
 process_scheduled_works kernel/workqueue.c:3317 [inline]
 worker_thread+0x97c/0xeec kernel/workqueue.c:3398
 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 (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/25 13:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1950a0af2d55 9fbd772e .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
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.