syzbot


BUG: unable to handle kernel paging request in __xfs_free_extent

Status: upstream: reported C repro on 2023/05/28 08:56
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+ab7fe58a24a6451d7ca7@syzkaller.appspotmail.com
First crash: 566d, last: 12d
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2023/05/28 linux-5.15.y (ToT) 1fe619a7d252 C [report] BUG: unable to handle kernel paging request in __xfs_free_extent
2023/05/28 upstream (ToT) 7877cb91f108 C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in __xfs_free_extent xfs C error done 17 608d 727d 22/28 fixed on 2023/06/08 14:41
linux-6.1 general protection fault in __xfs_free_extent origin:lts-only C 21 43d 566d 0/3 upstream: reported C repro on 2023/05/28 08:42
Last patch testing requests (9)
Created Duration User Patch Repo Result
2024/10/19 03:57 10m retest repro linux-5.15.y report log
2024/10/19 03:57 11m retest repro linux-5.15.y report log
2024/10/19 03:57 16m retest repro linux-5.15.y report log
2024/10/19 03:57 12m retest repro linux-5.15.y report log
2024/10/04 10:49 14m retest repro linux-5.15.y report log
2024/10/04 10:49 11m retest repro linux-5.15.y report log
2024/10/04 10:49 11m retest repro linux-5.15.y report log
2024/10/04 10:49 12m retest repro linux-5.15.y report log
2024/10/04 10:49 9m retest repro linux-5.15.y report log
Fix bisection attempts (7)
Created Duration User Patch Repo Result
2024/10/15 08:16 0m fix candidate upstream error job log
2024/07/01 14:38 1m fix candidate upstream error job log
2024/05/16 23:55 1m fix candidate upstream error job log
2024/03/22 13:55 0m fix candidate upstream error job log
2024/01/02 11:25 2m fix candidate upstream error job log
2023/11/23 23:06 0m fix candidate upstream error job log
2023/09/24 05:17 6m bisect fix linux-5.15.y error job log

Sample crash report:
loop0: detected capacity change from 0 to 32768
XFS (loop0): Mounting V5 Filesystem
XFS (loop0): Ending clean mount
Unable to handle kernel paging request at virtual address dfff800000000001
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
[dfff800000000001] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4021 Comm: syz-executor171 Not tainted 5.15.173-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : xfs_free_extent_fix_freelist fs/xfs/libxfs/xfs_alloc.c:3304 [inline]
pc : __xfs_free_extent+0x180/0x500 fs/xfs/libxfs/xfs_alloc.c:3353
lr : xfs_free_extent_fix_freelist fs/xfs/libxfs/xfs_alloc.c:3301 [inline]
lr : __xfs_free_extent+0x12c/0x500 fs/xfs/libxfs/xfs_alloc.c:3353
sp : ffff80001d1a7220
x29: ffff80001d1a7380 x28: 000000000000000d x27: 0000000000000001
x26: dfff800000000000 x25: 0000000000000000 x24: ffff0000cb66e000
x23: ffff0000cb66e000 x22: ffff80001d1a7290 x21: ffff80001d1a7280
x20: 0000000000000008 x19: ffff700003a34e4c x18: ffff80001d1a6ea0
x17: 0000000000000000 x16: ffff800011b4c108 x15: ffff8000089c90d0
x14: 1ffff0000296c06c x13: dfff800000000000 x12: 0000000000000010
x11: 1ffff00003a34e52 x10: 0000000000000000 x9 : 0000000000000000
x8 : 0000000000000001 x7 : 0000000000000000 x6 : 000000000000003f
x5 : 0000000000000040 x4 : fffffffffffffff0 x3 : 0000000000000010
x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff80001d1a7288
Call trace:
 xfs_free_extent_fix_freelist fs/xfs/libxfs/xfs_alloc.c:3304 [inline]
 __xfs_free_extent+0x180/0x500 fs/xfs/libxfs/xfs_alloc.c:3353
 xfs_free_extent fs/xfs/libxfs/xfs_alloc.h:186 [inline]
 xfs_ag_extend_space+0x304/0x490 fs/xfs/libxfs/xfs_ag.c:931
 xfs_resizefs_init_new_ags+0x29c/0x328 fs/xfs/xfs_fsops.c:75
 xfs_growfs_data_private fs/xfs/xfs_fsops.c:148 [inline]
 xfs_growfs_data+0x7e8/0xe3c fs/xfs/xfs_fsops.c:295
 xfs_file_ioctl+0x1b98/0x297c fs/xfs/xfs_ioctl.c:2131
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl fs/ioctl.c:860 [inline]
 __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: 97bb03ca 91002334 f90037f7 d343fe88 (38fa6908) 
---[ end trace c9977214c128af7a ]---
----------------
Code disassembly (best guess):
   0:	97bb03ca 	bl	0xfffffffffeec0f28
   4:	91002334 	add	x20, x25, #0x8
   8:	f90037f7 	str	x23, [sp, #104]
   c:	d343fe88 	lsr	x8, x20, #3
* 10:	38fa6908 	ldrsb	w8, [x8, x26] <-- trapping instruction

Crashes (28):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/01 19:36 linux-5.15.y 0a51d2d4527b 68914665 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in __xfs_free_extent
2024/12/01 19:16 linux-5.15.y 0a51d2d4527b 68914665 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in __xfs_free_extent
2023/05/28 23:52 linux-5.15.y 1fe619a7d252 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in __xfs_free_extent
2023/05/28 11:45 linux-5.15.y 1fe619a7d252 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in __xfs_free_extent
2023/05/28 09:35 linux-5.15.y 1fe619a7d252 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in __xfs_free_extent
2023/05/28 09:14 linux-5.15.y 1fe619a7d252 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in __xfs_free_extent
2024/02/22 13:09 linux-5.15.y 6139f2a02fe0 345111b5 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan general protection fault in __xfs_free_extent
2023/06/23 05:31 linux-5.15.y f67653019430 79782afc .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan general protection fault in __xfs_free_extent
2023/06/23 01:05 linux-5.15.y f67653019430 79782afc .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan general protection fault in __xfs_free_extent
2023/06/23 00:34 linux-5.15.y f67653019430 79782afc .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan general protection fault in __xfs_free_extent
2023/06/23 00:20 linux-5.15.y f67653019430 79782afc .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan general protection fault in __xfs_free_extent
2023/07/15 10:31 linux-5.15.y d54cfc420586 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in __xfs_free_extent
2023/06/20 10:23 linux-5.15.y 471e639e59d1 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in __xfs_free_extent
2023/06/20 10:15 linux-5.15.y 471e639e59d1 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in __xfs_free_extent
2023/06/20 10:10 linux-5.15.y 471e639e59d1 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in __xfs_free_extent
2023/06/20 08:53 linux-5.15.y 471e639e59d1 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in __xfs_free_extent
2023/06/02 08:46 linux-5.15.y 0ab06468cbd1 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in __xfs_free_extent
2023/05/28 16:16 linux-5.15.y 1fe619a7d252 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in __xfs_free_extent
2023/05/28 08:56 linux-5.15.y 1fe619a7d252 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in __xfs_free_extent
2024/02/22 07:49 linux-5.15.y 6139f2a02fe0 345111b5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in __xfs_free_extent
2023/07/15 10:10 linux-5.15.y d54cfc420586 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in __xfs_free_extent
2023/06/20 10:35 linux-5.15.y 471e639e59d1 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in __xfs_free_extent
2023/06/20 10:17 linux-5.15.y 471e639e59d1 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in __xfs_free_extent
2023/06/20 10:13 linux-5.15.y 471e639e59d1 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in __xfs_free_extent
2023/06/20 10:09 linux-5.15.y 471e639e59d1 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in __xfs_free_extent
2023/05/30 04:55 linux-5.15.y 1fe619a7d252 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in __xfs_free_extent
2023/05/30 03:25 linux-5.15.y 1fe619a7d252 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in __xfs_free_extent
2023/05/28 15:55 linux-5.15.y 1fe619a7d252 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in __xfs_free_extent
* Struck through repros no longer work on HEAD.