syzbot


BUG: unable to handle kernel paging request in ext4_put_io_end_defer

Status: moderation: reported on 2025/04/17 19:23
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+9dc18d7dc3be666dd798@syzkaller.appspotmail.com
First crash: 33d, last: 33d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in ext4_put_io_end_defer crypto C error 1 696d 692d 0/28 closed as invalid on 2023/06/30 07:41

Sample crash report:
Unable to handle kernel paging request at virtual address 001f7fe000182113
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
[001f7fe000182113] address between user and kernel address ranges
Internal error: Oops: 0000000096000004 [#1]  SMP
Modules linked in:
CPU: 0 UID: 0 PID: 15 Comm: ksoftirqd/0 Not tainted 6.15.0-rc1-syzkaller-g2fe2b96c3818 #0 PREEMPT 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : kasan_byte_accessible+0x10/0x20 mm/kasan/generic.c:199
lr : __kasan_check_byte+0x20/0x54 mm/kasan/common.c:556
sp : ffff800098277700
x29: ffff800098277700 x28: ffff80008ff41000 x27: ffff0000c19f3d00
x26: ffff80008b9b4854 x25: 0000000000000000 x24: 0000000000000001
x23: 0000000000000000 x22: 00ffff0000c10898 x21: 00ffff0000c10898
x20: 0000000000000000 x19: ffff80008b9b4854 x18: ffff0000edd70b1c
x17: ffff80008ff3e000 x16: ffff8000833376cc x15: 0000000000000001
x14: 1fffe00018211000 x13: 0000000000000000 x12: 0000000000000000
x11: 0000000000000102 x10: 0000000000000003 x9 : 001fffe000182113
x8 : dfff800000000000 x7 : ffff80008036cb68 x6 : ffff80008036cd04
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000
x2 : 0000000000000000 x1 : ffff80008b9b4854 x0 : 00ffff0000c10898
Call trace:
 kasan_mem_to_shadow include/linux/kasan.h:64 [inline] (P)
 kasan_byte_accessible+0x10/0x20 mm/kasan/generic.c:199 (P)
 kasan_check_byte include/linux/kasan.h:399 [inline]
 lock_acquire+0xb4/0x2e8 kernel/locking/lockdep.c:5840
 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
 _raw_spin_lock+0x48/0x60 kernel/locking/spinlock.c:154
 __queue_work+0x8d4/0x1324 kernel/workqueue.c:-1
 queue_work_on+0xe0/0x1a0 kernel/workqueue.c:2392
 queue_work include/linux/workqueue.h:662 [inline]
 ext4_add_complete_io fs/ext4/page-io.c:263 [inline]
 ext4_put_io_end_defer+0x234/0x394 fs/ext4/page-io.c:324
 ext4_end_bio+0x2e0/0x584 fs/ext4/page-io.c:385
 bio_endio+0x840/0x87c block/bio.c:1551
 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:371
 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:579
 run_ksoftirqd+0x70/0xc0 kernel/softirq.c:968
 smpboot_thread_fn+0x4d8/0x9cc kernel/smpboot.c:164
 kthread+0x674/0x7dc kernel/kthread.c:464
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862
Code: d503245f d2d00008 d343fc09 f2fbffe8 (38686928) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	d503245f 	bti	c
   4:	d2d00008 	mov	x8, #0x800000000000        	// #140737488355328
   8:	d343fc09 	lsr	x9, x0, #3
   c:	f2fbffe8 	movk	x8, #0xdfff, lsl #48
* 10:	38686928 	ldrb	w8, [x9, x8] <-- trapping instruction

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