syzbot


BUG: unable to handle kernel paging request in xfs_end_bio

Status: moderation: reported on 2025/02/26 21:15
Subsystems: xfs
[Documentation on labels]
Reported-by: syzbot+1f6d15cf4d544ccf12a3@syzkaller.appspotmail.com
First crash: 5d01h, last: 5d01h
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in xfs_end_bio xfs 1 251d 247d 0/28 auto-obsoleted due to no activity on 2024/09/19 08:01

Sample crash report:
Unable to handle kernel paging request at virtual address 001f7fe000366f8c
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
[001f7fe000366f8c] address between user and kernel address ranges
Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 UID: 0 PID: 24 Comm: ksoftirqd/1 Not tainted 6.14.0-rc3-syzkaller-ga1c24ab82279 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __lock_acquire+0xfc/0x7904 kernel/locking/lockdep.c:5091
lr : lock_acquire+0x23c/0x724 kernel/locking/lockdep.c:5851
sp : ffff800097e173e0
x29: ffff800097e176a0 x28: ffff800080363114 x27: 0000000000000000
x26: ffff0001b37b0540 x25: 0000000000000000 x24: 0000000000000001
x23: 0000000000000000 x22: 1ffff00011f780cb x21: 00ffff0001b37c67
x20: 0000000000000001 x19: 0000000000000000 x18: ffff800097e17640
x17: 0000000000021c9f x16: ffff8000832b5a70 x15: 0000000000000001
x14: 1fffe0001e3cb6a6 x13: dfff800000000000 x12: ffff700012fc2ea4
x11: ffff80008046bf58 x10: ffff80008fbc0658 x9 : 00000000000000f3
x8 : 001fffe000366f8c x7 : ffff800080363114 x6 : 0000000000000000
x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000
x2 : 0000000000000000 x1 : 0000000000000000 x0 : 00ffff0001b37c67
Call trace:
 __lock_acquire+0xfc/0x7904 kernel/locking/lockdep.c:5091 (P)
 lock_acquire+0x23c/0x724 kernel/locking/lockdep.c:5851
 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
 _raw_spin_lock+0x48/0x60 kernel/locking/spinlock.c:154
 __queue_work+0x8b0/0x1308
 queue_work_on+0xe0/0x1a0 kernel/workqueue.c:2390
 queue_work include/linux/workqueue.h:662 [inline]
 xfs_end_bio+0xd0/0x1ac fs/xfs/xfs_aops.c:188
 bio_endio+0x840/0x87c block/bio.c:1548
 blk_update_request+0x4ac/0xda0 block/blk-mq.c:983
 blk_mq_end_request+0x54/0x88 block/blk-mq.c:1145
 lo_complete_rq+0x188/0x2f4 drivers/block/loop.c:395
 blk_complete_reqs block/blk-mq.c:1220 [inline]
 blk_done_softirq+0x11c/0x168 block/blk-mq.c:1225
 handle_softirqs+0x320/0xd34 kernel/softirq.c:561
 run_ksoftirqd+0x70/0xc0 kernel/softirq.c:950
 smpboot_thread_fn+0x4b0/0x90c kernel/smpboot.c:164
 kthread+0x65c/0x7b0 kernel/kthread.c:464
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862
Code: 9007baa8 b9465908 340090a8 d343fea8 (386d6908) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	9007baa8 	adrp	x8, 0xf754000
   4:	b9465908 	ldr	w8, [x8, #1624]
   8:	340090a8 	cbz	w8, 0x121c
   c:	d343fea8 	lsr	x8, x21, #3
* 10:	386d6908 	ldrb	w8, [x8, x13] <-- trapping instruction

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