syzbot


BUG: unable to handle kernel paging request in timerqueue_add

Status: moderation: reported on 2024/05/28 11:53
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+cc9aa592014fa0544990@syzkaller.appspotmail.com
First crash: 32d, last: 27d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in timerqueue_add (4) reiserfs C error done 4 237d 485d 0/27 auto-obsoleted due to no activity on 2024/03/05 08:46

Sample crash report:
Unable to handle kernel paging request at virtual address 007000007f8e7900
Mem abort info:
  ESR = 0x0000000096000004
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x04: level 0 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000
  CM = 0, WnR = 0, TnD = 0, TagAccess = 0
  GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[007000007f8e7900] address between user and kernel address ranges
Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 5101 Comm: modprobe Not tainted 6.10.0-rc1-syzkaller-00021-ge0cce98fe279 #0
Hardware name: linux,dummy-virt (DT)
pstate: 804000c9 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : rb_add_cached include/linux/rbtree.h:174 [inline]
pc : timerqueue_add+0x48/0xcc lib/timerqueue.c:40
lr : enqueue_hrtimer.constprop.0+0x44/0x60 kernel/time/hrtimer.c:1093
sp : ffff80008000be60
x29: ffff80008000be60 x28: 0000000000000000 x27: 0000000000000001
x26: 0000000000000001 x25: 00000000000000c0 x24: 0000006fd3880a20
x23: fff000007f8e7780 x22: fff000007f8e77e0 x21: fff000007f8e7780
x20: 0000000000000001 x19: fff000007f8e7ce8 x18: 0000000000000000
x17: fff07ffffd331000 x16: ffff800080008000 x15: 00004c4b40000000
x14: 00000000000001ae x13: 00000000000001ae x12: 0000000000000001
x11: 0000000000000009 x10: 0000000000000001 x9 : 0000000000000400
x8 : 0000006fd383cc80 x7 : 7fffffffffffffff x6 : 0000006fd383cc80
x5 : 0000006fd41c6300 x4 : ffff800083c33d40 x3 : ff7000007f8e78e8
x2 : ff7000007f8e78e8 x1 : fff000007f8e77e0 x0 : fff000007f8e7ce8
Call trace:
 rb_add_cached include/linux/rbtree.h:172 [inline]
 timerqueue_add+0x48/0xcc lib/timerqueue.c:40
 enqueue_hrtimer.constprop.0+0x44/0x60 kernel/time/hrtimer.c:1093
 __run_hrtimer kernel/time/hrtimer.c:1704 [inline]
 __hrtimer_run_queues+0x15c/0x1bc kernel/time/hrtimer.c:1751
 hrtimer_interrupt+0xe8/0x244 kernel/time/hrtimer.c:1813
 timer_handler drivers/clocksource/arm_arch_timer.c:674 [inline]
 arch_timer_handler_phys+0x2c/0x44 drivers/clocksource/arm_arch_timer.c:692
 handle_percpu_devid_irq+0x84/0x130 kernel/irq/chip.c:942
 generic_handle_irq_desc include/linux/irqdesc.h:173 [inline]
 handle_irq_desc kernel/irq/irqdesc.c:691 [inline]
 generic_handle_domain_irq+0x2c/0x44 kernel/irq/irqdesc.c:747
 gic_handle_irq+0x40/0xc4 drivers/irqchip/irq-gic.c:370
 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:889
 do_interrupt_handler+0x80/0x84 arch/arm64/kernel/entry-common.c:310
 __el1_irq arch/arm64/kernel/entry-common.c:536 [inline]
 el1_interrupt+0x34/0x64 arch/arm64/kernel/entry-common.c:551
 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:556
 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:594
 mntput_no_expire+0xa8/0x314 fs/namespace.c:1354
 mntput+0x24/0x3c fs/namespace.c:1363
 path_put fs/namei.c:562 [inline]
 put_link fs/namei.c:1027 [inline]
 walk_component+0x188/0x190 fs/namei.c:2009
 link_path_walk.part.0.constprop.0+0x238/0x394 fs/namei.c:2328
 link_path_walk fs/namei.c:2256 [inline]
 path_openat+0xa8/0xf18 fs/namei.c:3803
 do_filp_open+0x9c/0x14c fs/namei.c:3834
 do_sys_openat2+0xc0/0xf4 fs/open.c:1405
 do_sys_open fs/open.c:1420 [inline]
 __do_sys_openat fs/open.c:1436 [inline]
 __se_sys_openat fs/open.c:1431 [inline]
 __arm64_sys_openat+0x64/0xa4 fs/open.c:1431
 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline]
 invoke_syscall+0x48/0x118 arch/arm64/kernel/syscall.c:48
 el0_svc_common.constprop.0+0x40/0xe0 arch/arm64/kernel/syscall.c:133
 do_el0_svc+0x1c/0x28 arch/arm64/kernel/syscall.c:152
 el0_svc+0x34/0xf8 arch/arm64/kernel/entry-common.c:712
 el0t_64_sync_handler+0x100/0x12c arch/arm64/kernel/entry-common.c:730
 el0t_64_sync+0x19c/0x1a0 arch/arm64/kernel/entry.S:598
Code: f9400843 91004044 b4000123 aa0303e2 (f9400c43) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	f9400843 	ldr	x3, [x2, #16]
   4:	91004044 	add	x4, x2, #0x10
   8:	b4000123 	cbz	x3, 0x2c
   c:	aa0303e2 	mov	x2, x3
* 10:	f9400c43 	ldr	x3, [x2, #24] <-- trapping instruction

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/29 09:44 upstream e0cce98fe279 34889ee3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel paging request in timerqueue_add
2024/05/24 11:42 upstream 6d69b6c12fce 8f98448e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte BUG: unable to handle kernel paging request in timerqueue_add
* Struck through repros no longer work on HEAD.