syzbot


BUG: unable to handle kernel paging request in txBegin

Status: upstream: reported C repro on 2023/03/21 10:23
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+56a9533cc5dbe135edd8@syzkaller.appspotmail.com
First crash: 612d, last: 498d
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2024/10/30 upstream (ToT) c1e939a21eb1 C [report] INFO: trying to register non-static key in txEnd
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 BUG: unable to handle kernel paging request in txBegin origin:upstream C error 4 188d 612d 0/3 upstream: reported C repro on 2023/03/21 08:56
upstream KASAN: null-ptr-deref Read in txBegin jfs C error 30 509d 643d 23/28 fixed on 2023/10/12 12:48
linux-4.14 general protection fault in txBegin jfs 1 693d 693d 0/1 upstream: reported on 2022/12/30 21:46
Last patch testing requests (3)
Created Duration User Patch Repo Result
2024/10/01 17:17 10m retest repro linux-5.15.y report log
2024/10/01 17:17 1h12m retest repro linux-5.15.y OK log
2024/10/01 17:17 41m retest repro linux-5.15.y report log
Fix bisection attempts (10)
Created Duration User Patch Repo Result
2024/10/14 05:34 2m fix candidate upstream error job log
2024/09/08 04:27 1m fix candidate upstream error job log
2024/06/12 21:24 1m fix candidate upstream error job log
2024/03/25 23:42 1h40m fix candidate upstream error job log
2024/02/22 22:32 20m fix candidate upstream error job log
2024/01/09 17:59 24m fix candidate upstream error job log
2023/12/10 11:45 0m fix candidate upstream error job log
2023/10/11 17:04 0m fix candidate upstream error job log
2023/09/24 00:54 4m bisect fix linux-5.15.y error job log
2023/04/20 21:33 47m bisect fix linux-5.15.y OK (0) job log 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
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: 96000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 3967 Comm: syz-executor241 Not tainted 5.15.112-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 : arch_test_bit include/asm-generic/bitops/non-atomic.h:118 [inline]
pc : txBegin+0x138/0x5e0 fs/jfs/jfs_txnmgr.c:366
lr : txBegin+0x104/0x5e0 fs/jfs/jfs_txnmgr.c:357
sp : ffff80001a2b7620
x29: ffff80001a2b7640 x28: dfff800000000000 x27: dfff800000000000
x26: ffff800014e26888 x25: 0000000000000040 x24: 0000000000000000
x23: ffff800014e24220 x22: ffff0000c085be30 x21: 0000000000000150
x20: 0000000000000008 x19: 0000000000000000 x18: ffff80001a2b7300
x17: ff8080000a678378 x16: ffff80000830309c x15: 000000000000b947
x14: 00000000b6bcfed0 x13: ffffffffffffffff x12: 0000000000000000
x11: ff808000098d1c58 x10: 0000000000000000 x9 : ffff0000c8d83680
x8 : 1ffff000029c320c x7 : 0000000000000000 x6 : 0000000000000000
x5 : ffff80001754c340 x4 : 0000000000000008 x3 : ffff8000083031cc
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:303
 do_setxattr fs/xattr.c:588 [inline]
 setxattr+0x250/0x2b4 fs/xattr.c:611
 path_setxattr+0x17c/0x258 fs/xattr.c:630
 __do_sys_setxattr fs/xattr.c:646 [inline]
 __se_sys_setxattr fs/xattr.c:642 [inline]
 __arm64_sys_setxattr+0xbc/0xd8 fs/xattr.c:642
 __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:596
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: 9400012e aa1703e0 95993cdf 350002f8 (387c6a88) 
---[ end trace e8ac9e124ac83c8b ]---
----------------
Code disassembly (best guess):
   0:	9400012e 	bl	0x4b8
   4:	aa1703e0 	mov	x0, x23
   8:	95993cdf 	bl	0x664f384
   c:	350002f8 	cbnz	w24, 0x68
* 10:	387c6a88 	ldrb	w8, [x20, x28] <-- trapping instruction

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/18 18:19 linux-5.15.y 9d6bde853685 3bb7af1d .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 txBegin
2023/06/09 01:41 linux-5.15.y d7af3e5ba454 058b3a5a .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan KASAN: null-ptr-deref Read in txBegin
2023/03/21 10:23 linux-5.15.y 8020ae3c051d 7939252e .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 txBegin
* Struck through repros no longer work on HEAD.