syzbot


BUG: unable to handle kernel paging request in txBegin

Status: upstream: reported C repro on 2023/03/21 08:56
Reported-by: syzbot+e936bc3905ea91c75365@syzkaller.appspotmail.com
First crash: 811d, last: 386d
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2025/05/29 linux-6.1.y (ToT) da3c5173c55f C Failed due to an error; will retry later
2025/05/14 upstream (ToT) 1a80a098c606 C Didn't crash
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 missing-backport origin:upstream C error 3 697d 811d 0/3 auto-obsoleted due to no activity on 2025/05/02 23:07
upstream KASAN: null-ptr-deref Read in txBegin jfs C error 30 707d 841d 23/28 fixed on 2023/10/12 12:48
linux-4.14 general protection fault in txBegin jfs 1 891d 891d 0/1 upstream: reported on 2022/12/30 21:46
Fix bisection attempts (12)
Created Duration User Patch Repo Result
2024/06/26 22:53 14m bisect fix linux-6.1.y error job log
2024/05/18 23:36 1h34m bisect fix linux-6.1.y OK (0) job log log
2024/04/13 10:14 3h03m bisect fix linux-6.1.y OK (0) job log log
2024/03/11 09:58 1h48m bisect fix linux-6.1.y OK (0) job log log
2024/02/02 20:10 1h34m bisect fix linux-6.1.y OK (0) job log log
2023/12/30 19:36 1h49m bisect fix linux-6.1.y OK (0) job log log
2023/11/30 17:59 1h33m bisect fix linux-6.1.y OK (0) job log log
2023/10/30 08:51 1h15m bisect fix linux-6.1.y OK (0) job log log
2023/09/28 13:59 1h43m bisect fix linux-6.1.y OK (0) job log log
2023/07/28 12:51 2h30m bisect fix linux-6.1.y OK (0) job log log
2023/06/13 21:02 44m bisect fix linux-6.1.y OK (0) job log log
2023/04/22 06:24 1h04m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
loop0: detected capacity change from 0 to 32768
find_entry called with index = 0
read_mapping_page failed!
ERROR: (device loop0): txAbort: 
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: 0 PID: 4336 Comm: syz-executor.0 Not tainted 6.1.20-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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 : ffff80001df17860
x29: ffff80001df17880 x28: dfff800000000000 x27: ffff80001df17940
x26: 1ffff00002b98e40 x25: 0000000000000040 x24: 0000000000000000
x23: ffff800015cd23a0 x22: ffff0000c211f830 x21: 0000000000000150
x20: 0000000000000008 x19: 0000000000000000 x18: 1ffff00003be2ec0
x17: ffff80001572d000 x16: ffff8000083239f4 x15: 0000000000000000
x14: 1ffff00002ae60b0 x13: dfff800000000000 x12: ffff700003be2ef4
x11: ff80800009a0c42c x10: 0000000000000000 x9 : ffff0000d3d13680
x8 : 1ffff00002b98e40 x7 : ffff800009a0c400 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008323b24
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 txBegin+0x138/0x5e0 fs/jfs/jfs_txnmgr.c:362
 jfs_link+0x1ac/0x560 fs/jfs/namei.c:802
 vfs_link+0x598/0x74c fs/namei.c:4529
 do_linkat+0x2f4/0x898 fs/namei.c:4600
 __do_sys_linkat fs/namei.c:4628 [inline]
 __se_sys_linkat fs/namei.c:4625 [inline]
 __arm64_sys_linkat+0xe4/0x100 fs/namei.c:4625
 __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 95947120 350002f8 (387c6a88) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	9400012e 	bl	0x4b8
   4:	aa1703e0 	mov	x0, x23
   8:	95947120 	bl	0x651c488
   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/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
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
* Struck through repros no longer work on HEAD.