syzbot


BUG: unable to handle kernel paging request in txBegin

Status: upstream: reported C repro on 2023/03/21 08:56
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+e936bc3905ea91c75365@syzkaller.appspotmail.com
First crash: 400d, last: 11d
Bug presence (1)
Date Name Commit Repro Result
2023/05/15 upstream (ToT) f1fcbaa18b28 C [report] BUG: unable to handle kernel paging request in txBegin
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 BUG: unable to handle kernel paging request in txBegin origin:upstream missing-backport C error 3 286d 400d 0/3 upstream: reported C repro on 2023/03/21 10:23
upstream KASAN: null-ptr-deref Read in txBegin jfs C error 30 296d 431d 23/26 fixed on 2023/10/12 12:48
linux-4.14 general protection fault in txBegin jfs 1 480d 480d 0/1 upstream: reported on 2022/12/30 21:46
Fix bisection attempts (10)
Created Duration User Patch Repo Result
2024/04/13 10:14 3h03m bisect fix linux-6.1.y job log (0) log
2024/03/11 09:58 1h48m bisect fix linux-6.1.y job log (0) log
2024/02/02 20:10 1h34m bisect fix linux-6.1.y job log (0) log
2023/12/30 19:36 1h49m bisect fix linux-6.1.y job log (0) log
2023/11/30 17:59 1h33m bisect fix linux-6.1.y job log (0) log
2023/10/30 08:51 1h15m bisect fix linux-6.1.y job log (0) log
2023/09/28 13:59 1h43m bisect fix linux-6.1.y job log (0) log
2023/07/28 12:51 2h30m bisect fix linux-6.1.y job log (0) log
2023/06/13 21:02 44m bisect fix linux-6.1.y job log (0) log
2023/04/22 06:24 1h04m bisect fix linux-6.1.y job log (0) log

Sample crash report:
WARNING: The mand mount option has been deprecated and
         and is ignored by this kernel. Remove the mand
         option from the mount to silence this warning.
=======================================================
Unable to handle kernel paging request at virtual address dfff800000000008
KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047]
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
[dfff800000000008] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4215 Comm: syz-executor207 Not tainted 6.1.28-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : generic_test_bit include/asm-generic/bitops/generic-non-atomic.h:128 [inline]
pc : txBegin+0x138/0x5e0 fs/jfs/jfs_txnmgr.c:366
lr : txBegin+0x104/0x5e0 fs/jfs/jfs_txnmgr.c:357
sp : ffff80001d957660
x29: ffff80001d957680 x28: dfff800000000000 x27: dfff800000000000
x26: ffff800015b30a08 x25: 0000000000000040 x24: 0000000000000000
x23: ffff800015b2e360 x22: ffff0000cd8eee30 x21: 0000000000000150
x20: 0000000000000008 x19: 0000000000000000 x18: ffff80001d957360
x17: ffff800008ad9574 x16: ffff80000831de80 x15: 000000000000b3dc
x14: 000000002e93d417 x13: dfff800000000000 x12: ffff700003b2aeb4
x11: ff808000099b9870 x10: 0000000000000000 x9 : ffff0000d63d8000
x8 : 1ffff00002b64638 x7 : 0000000000000000 x6 : 0000000000000000
x5 : ffff800018738ac8 x4 : 0000000000000008 x3 : ffff80000831dfb0
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 txBegin+0x138/0x5e0 fs/jfs/jfs_txnmgr.c:362
 __jfs_xattr_set+0xc8/0x190 fs/jfs/xattr.c:915
 jfs_xattr_set+0x58/0x70 fs/jfs/xattr.c:941
 __vfs_setxattr+0x388/0x3a4 fs/xattr.c:182
 __vfs_setxattr_noperm+0x110/0x528 fs/xattr.c:216
 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:277
 vfs_setxattr+0x1a8/0x344 fs/xattr.c:309
 do_setxattr fs/xattr.c:594 [inline]
 setxattr+0x230/0x294 fs/xattr.c:617
 path_setxattr+0x17c/0x258 fs/xattr.c:636
 __do_sys_setxattr fs/xattr.c:652 [inline]
 __se_sys_setxattr fs/xattr.c:648 [inline]
 __arm64_sys_setxattr+0xbc/0xd8 fs/xattr.c:648
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581
Code: 9400012e aa1703e0 9595737d 350002f8 (387c6a88) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	9400012e 	bl	0x4b8
   4:	aa1703e0 	mov	x0, x23
   8:	9595737d 	bl	0x655cdfc
   c:	350002f8 	cbnz	w24, 0x68
* 10:	387c6a88 	ldrb	w8, [x20, x28] <-- trapping instruction

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/14 07:10 linux-6.1.y bf4ad6fa4e53 2b9ba477 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in txBegin
2023/06/16 20:25 linux-6.1.y ca87e77a2ef8 f3921d4d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan KASAN: null-ptr-deref Read in txBegin
2023/05/14 19:19 linux-6.1.y bf4ad6fa4e53 2b9ba477 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan KASAN: null-ptr-deref Read in txBegin
2023/03/21 08:56 linux-6.1.y 7eaef76fbc46 7939252e .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in txBegin
* Struck through repros no longer work on HEAD.