syzbot


BUG: unable to handle kernel paging request in hrtimer_try_to_cancel

Status: closed as invalid on 2025/04/21 15:52
Subsystems: kernel
[Documentation on labels]
First crash: 76d, last: 76d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 general protection fault in hrtimer_try_to_cancel origin:upstream missing-backport C done 42 339d 566d 0/2 auto-obsoleted due to no activity on 2024/10/10 20:58
android-6-1 general protection fault in hrtimer_try_to_cancel origin:upstream missing-backport C done done 25 370d 566d 0/2 auto-obsoleted due to no activity on 2024/09/09 16:25
linux-6.1 general protection fault in hrtimer_try_to_cancel 1 578d 578d 0/3 auto-obsoleted due to no activity on 2024/02/14 17:05
linux-6.1 general protection fault in hrtimer_try_to_cancel (2) 1 458d 458d 0/3 auto-obsoleted due to no activity on 2024/06/13 18:46
upstream general protection fault in hrtimer_try_to_cancel kernel syz error error 3 1428d 1483d 0/28 closed as invalid on 2021/10/06 01:09
android-54 general protection fault in hrtimer_try_to_cancel C 1 1471d 1471d 0/2 auto-obsoleted due to no activity on 2024/08/27 14:01

Sample crash report:
geneve2: entered promiscuous mode
geneve2: entered allmulticast mode
Unable to handle kernel paging request at virtual address ffff0001b3790051
KASAN: maybe wild-memory-access in range [0xfffc000d9bc80288-0xfffc000d9bc8028f]
Mem abort info:
  ESR = 0x0000000096000021
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x21: alignment fault
Data abort info:
  ISV = 0, ISS = 0x00000021, ISS2 = 0x00000000
  CM = 0, WnR = 0, TnD = 0, TagAccess = 0
  GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
swapper pgtable: 4k pages, 48-bit VAs, pgdp=00000001a50a9000
[ffff0001b3790051] pgd=0000000000000000, p4d=180000023ffff403, pud=180000023ee92403, pmd=180000023ecf6403, pte=00680001f3790707
Internal error: Oops: 0000000096000021 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 UID: 0 PID: 7526 Comm: syz.1.169 Not tainted 6.14.0-rc7-syzkaller-ga2392f333575 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __seqprop_raw_spinlock_sequence include/linux/seqlock.h:226 [inline]
pc : hrtimer_active kernel/time/hrtimer.c:1727 [inline]
pc : hrtimer_try_to_cancel+0x74/0x3a4 kernel/time/hrtimer.c:1373
lr : __seqprop_raw_spinlock_sequence include/linux/seqlock.h:226 [inline]
lr : hrtimer_active kernel/time/hrtimer.c:1727 [inline]
lr : hrtimer_try_to_cancel+0x74/0x3a4 kernel/time/hrtimer.c:1373
sp : ffff8000a54d68e0
x29: ffff8000a54d68e0 x28: ffff0001b3790041 x27: 1fffffbff7ee0d8c
x26: 1fffffbff7ee0d8b x25: dfff800000000000 x24: dfff800000000000
x23: 1fffffbff7ee0d63 x22: ffff0001b3790051 x21: fffffdffbf706c60
x20: fffffdffbf706c28 x19: fffffdffbf706c58 x18: 1ffff00014a9acba
x17: 0000000000000000 x16: ffff80008058abcc x15: 0000000000000001
x14: 1fffe000366f200a x13: 0000000000000000 x12: 0000000000000000
x11: ffff6000366f200b x10: 1fffe000366f200a x9 : dfff800000000000
x8 : 0000000000000001 x7 : ffff8000898f7128 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80008058a6e0
x2 : 0000000000000000 x1 : 0000000000000004 x0 : 0000000000000001
Call trace:
 __seqprop_raw_spinlock_sequence include/linux/seqlock.h:226 [inline] (P)
 hrtimer_active kernel/time/hrtimer.c:1727 [inline] (P)
 hrtimer_try_to_cancel+0x74/0x3a4 kernel/time/hrtimer.c:1373 (P)
 hrtimer_cancel+0x20/0x6c kernel/time/hrtimer.c:1502
 napi_disable_locked+0x250/0x578 net/core/dev.c:7076
 napi_disable+0x54/0x84 net/core/dev.c:7098
 gro_cells_destroy+0x118/0x38c net/core/gro_cells.c:116
 geneve_uninit+0x28/0x38 drivers/net/geneve.c:357
 unregister_netdevice_many_notify+0x150c/0x1c7c net/core/dev.c:11909
 unregister_netdevice_many+0x28/0x38 net/core/dev.c:11951
 rtnl_newlink_create+0x5bc/0x8e4 net/core/rtnetlink.c:3824
 __rtnl_newlink net/core/rtnetlink.c:3907 [inline]
 rtnl_newlink+0x13e8/0x1844 net/core/rtnetlink.c:4022
 rtnetlink_rcv_msg+0x670/0xa9c net/core/rtnetlink.c:6912
 netlink_rcv_skb+0x234/0x408 net/netlink/af_netlink.c:2533
 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6939
 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline]
 netlink_unicast+0x668/0x8a4 net/netlink/af_netlink.c:1338
 netlink_sendmsg+0x7b4/0xa9c net/netlink/af_netlink.c:1882
 sock_sendmsg_nosec net/socket.c:718 [inline]
 __sock_sendmsg net/socket.c:733 [inline]
 ____sys_sendmsg+0x570/0x87c net/socket.c:2573
 ___sys_sendmsg net/socket.c:2627 [inline]
 __sys_sendmsg+0x238/0x304 net/socket.c:2659
 __do_sys_sendmsg net/socket.c:2664 [inline]
 __se_sys_sendmsg net/socket.c:2662 [inline]
 __arm64_sys_sendmsg+0x80/0x94 net/socket.c:2662
 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151
 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744
 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600
Code: 52800081 91004396 aa1603e0 9419b721 (88dffed7) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	52800081 	mov	w1, #0x4                   	// #4
   4:	91004396 	add	x22, x28, #0x10
   8:	aa1603e0 	mov	x0, x22
   c:	9419b721 	bl	0x66dc90
* 10:	88dffed7 	ldar	w23, [x22] <-- trapping instruction

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/22 16:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a2392f333575 c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in hrtimer_try_to_cancel
* Struck through repros no longer work on HEAD.