syzbot


BUG: unable to handle kernel paging request in sb_end_write

Status: auto-obsoleted due to no activity on 2023/03/07 20:31
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+baa30b3f0af34d3b3832@syzkaller.appspotmail.com
First crash: 528d, last: 528d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] BUG: unable to handle kernel paging request in sb_end_write 0 (1) 2022/11/07 21:36
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/02/15 20:32 16m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log

Sample crash report:
loop0: detected capacity change from 0 to 79
Unable to handle kernel paging request at virtual address ffff8001f1dad000
Mem abort info:
  ESR = 0x0000000096000005
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x05: level 1 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000005
  CM = 0, WnR = 0
swapper pgtable: 4k pages, 48-bit VAs, pgdp=00000001c5630000
[ffff8001f1dad000] pgd=100000023ffff003, p4d=100000023ffff003, pud=0000000000000000
Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 3024 Comm: syz-executor176 Not tainted 6.1.0-rc4-syzkaller-31833-gf0c4d9fc9cc9 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __percpu_add_case_32 arch/arm64/include/asm/percpu.h:127 [inline]
pc : percpu_up_read include/linux/percpu-rwsem.h:106 [inline]
pc : __sb_end_write include/linux/fs.h:1821 [inline]
pc : sb_end_write+0xac/0x22c include/linux/fs.h:1853
lr : rcu_sync_is_idle include/linux/rcu_sync.h:36 [inline]
lr : percpu_up_read include/linux/percpu-rwsem.h:105 [inline]
lr : __sb_end_write include/linux/fs.h:1821 [inline]
lr : sb_end_write+0x84/0x22c include/linux/fs.h:1853
sp : ffff800012b9bc00
x29: ffff800012b9bc00 x28: ffff0000cb107888 x27: ffff80000d3182f0
x26: 00000000fffffffb x25: 0000000000000021 x24: 0000000000000001
x23: 0000000020000080 x22: 0000000020000180 x21: ffff0000c6540000
x20: 0000000000000000 x19: ffff0000c97e7000 x18: 00000000000000c0
x17: ffff80000dcec198 x16: ffff80000db2a158 x15: ffff0000c6540000
x14: 0000000000000000 x13: 00000000ffffffff x12: ffff0000c6540000
x11: ff808000085ff1b0 x10: 0000000000000000 x9 : 00000000ffffffff
x8 : ffff8001f1dad000 x7 : ffff8000095f3074 x6 : 0000000000000000
x5 : 0000000000000080 x4 : ffff0001feff2950 x3 : 0000000000002bb9
x2 : ffff0000c9558000 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 __sb_end_write include/linux/fs.h:1821 [inline]
 sb_end_write+0xac/0x22c include/linux/fs.h:1853
 mnt_drop_write+0x28/0x38 fs/namespace.c:471
 path_setxattr+0x36c/0x414 fs/xattr.c:638
 __do_sys_setxattr fs/xattr.c:652 [inline]
 __se_sys_setxattr fs/xattr.c:648 [inline]
 __arm64_sys_setxattr+0x2c/0x40 fs/xattr.c:648
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall arch/arm64/kernel/syscall.c:52 [inline]
 el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x150 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: f941fe68 d538d089 8b080128 12800009 (b829011f) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	f941fe68 	ldr	x8, [x19, #1016]
   4:	d538d089 	mrs	x9, tpidr_el1
   8:	8b080128 	add	x8, x9, x8
   c:	12800009 	mov	w9, #0xffffffff            	// #-1
* 10:	b829011f 	stadd	w9, [x8] <-- trapping instruction

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/07 20:31 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci f0c4d9fc9cc9 a779b11a .config console log report syz C [mounted in repro] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in sb_end_write
* Struck through repros no longer work on HEAD.