WARNING in hrtimer_forward

Status: upstream: reported on 2026/04/20 20:42
Reported-by: syzbot+2cc3f015ac9e7d8540d0@syzkaller.appspotmail.com
First crash: 100d, last: 13d
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in hrtimer_forward kernel -1 syz, C done done 217 1649d 2133d 20/29 fixed on 2022/03/08 16:11
upstream WARNING in hrtimer_forward (4) kernel -1 3 310d 334d 0/29 auto-obsoleted due to no activity on 2025/12/31 17:28
linux-6.6 WARNING in hrtimer_forward origin:lts-only -1 syz, C error 2 116d 286d 0/2 upstream: reported C repro on 2025/10/16 17:07
upstream WARNING in hrtimer_forward (2) kernel -1 1 846d 842d 0/29 auto-obsoleted due to no activity on 2024/07/14 02:37
upstream WARNING in hrtimer_forward (3) kernel -1 3 630d 723d 28/29 fixed on 2024/12/16 09:50

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 27439 at kernel/time/hrtimer.c:1032 hrtimer_forward+0x1cb/0x280 kernel/time/hrtimer.c:1032
Modules linked in:
CPU: 0 PID: 27439 Comm: syz.4.7324 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
RIP: 0010:hrtimer_forward+0x1cb/0x280 kernel/time/hrtimer.c:1032
Code: df e8 a9 99 55 00 4c 89 33 48 8b 04 24 eb 07 e8 9b 7a 10 00 31 c0 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 85 7a 10 00 <0f> 0b eb e6 48 89 e8 31 d2 49 f7 f4 48 89 04 24 49 89 c7 4d 0f af
RSP: 0018:ffffc90000007c08 EFLAGS: 00010246
RAX: ffffffff8168781b RBX: ffff8880755170c0 RCX: ffff888026158000
RDX: 0000000000000100 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000001185115 R08: ffff8880b903b30b R09: 1ffff11017207661
R10: dffffc0000000000 R11: ffffed1017207662 R12: 0000000000000001
R13: 000000ddf2ba30e2 R14: 1ffff1100eaa2e1b R15: 00000000061a8000
FS:  00007fa69761e6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000040 CR3: 000000005c169000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 hrtimer_forward_now include/linux/hrtimer.h:508 [inline]
 mac80211_hwsim_beacon+0x149/0x180 drivers/net/wireless/mac80211_hwsim.c:1874
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x4ea/0xb60 kernel/time/hrtimer.c:1749
 hrtimer_run_softirq+0x176/0x240 kernel/time/hrtimer.c:1766
 handle_softirqs+0x336/0x830 kernel/softirq.c:576
 __do_softirq kernel/softirq.c:610 [inline]
 invoke_softirq kernel/softirq.c:450 [inline]
 __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
 sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:strlen+0x3d/0x60 lib/string.c:581
Code: 00 00 fc ff df 48 89 fb 49 89 c7 48 89 d8 48 c1 e8 03 42 0f b6 04 30 84 c0 75 11 48 ff c3 49 8d 47 01 42 80 7c 3f 01 00 75 de <eb> 19 89 d9 80 e1 07 38 c1 7c e6 49 89 fc 48 89 df e8 ed 26 b3 fd
RSP: 0018:ffffc9000313fad8 EFLAGS: 00000246
RAX: 000000000000000d RBX: ffffffff8a2c302e RCX: 000000008a2c3005
RDX: ffffffff87df05b5 RSI: ffffffff8c31ef20 RDI: ffffffff8a2c3020
RBP: ffffc9000313fbf0 R08: ffffffff8d8aeaef R09: 1ffffffff1b15d5d
R10: dffffc0000000000 R11: fffffbfff1b15d5e R12: 1ffff92000627f8c
R13: 1ffff92000627f68 R14: dffffc0000000000 R15: 000000000000000c
 trace_event_get_offsets_lock include/trace/events/lock.h:46 [inline]
 perf_trace_lock+0xbd/0x390 include/trace/events/lock.h:39
 trace_lock_release include/trace/events/lock.h:58 [inline]
 lock_release+0x84a/0x8a0 kernel/locking/lockdep.c:5634
 rcu_read_unlock include/linux/rcupdate.h:773 [inline]
 task_cls_classid include/net/cls_cgroup.h:35 [inline]
 sock_update_classid+0x289/0x360 include/net/cls_cgroup.h:44
 sk_alloc+0x213/0x310 net/core/sock.c:1943
 __netlink_create+0x6b/0x2d0 net/netlink/af_netlink.c:629
 netlink_create+0x3a7/0x510 net/netlink/af_netlink.c:692
 __sock_create+0x473/0x910 net/socket.c:1496
 sock_create net/socket.c:1552 [inline]
 __sys_socket+0xe2/0x170 net/socket.c:1594
 __do_sys_socket net/socket.c:1603 [inline]
 __se_sys_socket net/socket.c:1601 [inline]
 __x64_sys_socket+0x76/0x80 net/socket.c:1601
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fa6993c5e99
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa69761e028 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 00007fa69964dfa0 RCX: 00007fa6993c5e99
RDX: 0000000000000010 RSI: 0000000000000003 RDI: 0000000000000010
RBP: 00007fa69945beaf R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa69964e038 R14: 00007fa69964dfa0 R15: 00007ffec69623b8
 </TASK>
----------------
Code disassembly (best guess):
   0:	00 00                	add    %al,(%rax)
   2:	fc                   	cld
   3:	ff                   	lcall  (bad)
   4:	df 48 89             	fisttps -0x77(%rax)
   7:	fb                   	sti
   8:	49 89 c7             	mov    %rax,%r15
   b:	48 89 d8             	mov    %rbx,%rax
   e:	48 c1 e8 03          	shr    $0x3,%rax
  12:	42 0f b6 04 30       	movzbl (%rax,%r14,1),%eax
  17:	84 c0                	test   %al,%al
  19:	75 11                	jne    0x2c
  1b:	48 ff c3             	inc    %rbx
  1e:	49 8d 47 01          	lea    0x1(%r15),%rax
  22:	42 80 7c 3f 01 00    	cmpb   $0x0,0x1(%rdi,%r15,1)
  28:	75 de                	jne    0x8
* 2a:	eb 19                	jmp    0x45 <-- trapping instruction
  2c:	89 d9                	mov    %ebx,%ecx
  2e:	80 e1 07             	and    $0x7,%cl
  31:	38 c1                	cmp    %al,%cl
  33:	7c e6                	jl     0x1b
  35:	49 89 fc             	mov    %rdi,%r12
  38:	48 89 df             	mov    %rbx,%rdi
  3b:	e8 ed 26 b3 fd       	call   0xfdb3272d

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/17 04:21 linux-5.15.y c86c4726e7f0 7f27c57a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in hrtimer_forward
2026/07/03 01:04 linux-5.15.y eceeec79dbc6 2b70b115 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in hrtimer_forward
2026/04/20 20:41 linux-5.15.y b9d57c40a767 e65da4ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in hrtimer_forward
* Struck through repros no longer work on HEAD.