syzbot


WARNING in call_timer_fn

Status: upstream: reported C repro on 2023/03/08 12:11
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+954b5c22c964bef843db@syzkaller.appspotmail.com
First crash: 624d, last: 7h22m
Bug presence (2)
Date Name Commit Repro Result
2024/02/06 linux-6.1.y (ToT) f1bb70486c9c C [report] BUG: scheduling while atomic in exit_to_user_mode_loop
2024/02/06 upstream (ToT) 99bd3cb0d12e C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in call_timer_fn bluetooth C unreliable 4779 4h40m 736d 0/28 upstream: reported C repro on 2022/11/16 15:25
linux-5.15 WARNING in call_timer_fn origin:lts-only syz unreliable 7 18d 274d 0/3 upstream: reported syz repro on 2024/02/21 03:34
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2024/02/10 05:05 5h27m fix candidate upstream OK (1) job log

Sample crash report:
------------[ cut here ]------------
timer: addrconf_rs_timer+0x0/0x610 net/ipv6/addrconf.c:6568 preempt leak: 00000103 -> 00000102
WARNING: CPU: 1 PID: 3549 at kernel/time/timer.c:1481 call_timer_fn+0x2f0/0x6b0 kernel/time/timer.c:1480
Modules linked in:
CPU: 1 PID: 3549 Comm: syz-executor369 Not tainted 6.1.76-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:call_timer_fn+0x2f0/0x6b0 kernel/time/timer.c:1480
Code: 11 00 c6 05 b8 f0 e5 0c 01 65 8b 0d c2 21 89 7e 81 e1 ff ff ff 7f 48 c7 c7 a0 d4 ed 8a 48 8b 74 24 10 44 89 fa e8 20 1b d9 ff <0f> 0b eb 05 e8 c7 1a 11 00 65 8b 0d 98 21 89 7e 89 ca 81 e2 00 00
RSP: 0018:ffffc900001e0b80 EFLAGS: 00010246
RAX: db9b514e7a87fc00 RBX: 0000000000000102 RCX: ffff88802890bb80
RDX: 0000000000000102 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900001e0c70 R08: ffffffff81526b4e R09: fffff5200003c0d1
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff9200003c174 R14: 0000000000000001 R15: 0000000000000103
FS:  0000555555645480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555555645788 CR3: 0000000075f9b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 expire_timers kernel/time/timer.c:1519 [inline]
 __run_timers+0x67c/0x890 kernel/time/timer.c:1790
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1803
 __do_softirq+0x2e9/0xa4c kernel/softirq.c:571
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x155/0x240 kernel/softirq.c:650
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:662
 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194
Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 b2 54 4d f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> 67 b0 c9 f6 65 8b 05 e8 f3 6d 75 85 c0 74 3f 48 c7 04 24 0e 36
RSP: 0018:ffffc90003b3fc40 EFLAGS: 00000206
RAX: db9b514e7a87fc00 RBX: 1ffff92000767f8c RCX: ffffffff91c88103
RDX: dffffc0000000000 RSI: ffffffff8aebebc0 RDI: 0000000000000001
RBP: ffffc90003b3fcd0 R08: dffffc0000000000 R09: fffffbfff1a310bd
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff92000767f88 R14: ffffc90003b3fc60 R15: 0000000000000246
 ____bpf_trace_printk kernel/trace/bpf_trace.c:394 [inline]
 bpf_trace_printk+0x1a3/0x200 kernel/trace/bpf_trace.c:376
 </TASK>
----------------
Code disassembly (best guess):
   0:	9c                   	pushf
   1:	8f 44 24 20          	pop    0x20(%rsp)
   5:	42 80 3c 23 00       	cmpb   $0x0,(%rbx,%r12,1)
   a:	74 08                	je     0x14
   c:	4c 89 f7             	mov    %r14,%rdi
   f:	e8 b2 54 4d f7       	call   0xf74d54c6
  14:	f6 44 24 21 02       	testb  $0x2,0x21(%rsp)
  19:	75 4e                	jne    0x69
  1b:	41 f7 c7 00 02 00 00 	test   $0x200,%r15d
  22:	74 01                	je     0x25
  24:	fb                   	sti
  25:	bf 01 00 00 00       	mov    $0x1,%edi
* 2a:	e8 67 b0 c9 f6       	call   0xf6c9b096 <-- trapping instruction
  2f:	65 8b 05 e8 f3 6d 75 	mov    %gs:0x756df3e8(%rip),%eax        # 0x756df41e
  36:	85 c0                	test   %eax,%eax
  38:	74 3f                	je     0x79
  3a:	48                   	rex.W
  3b:	c7                   	.byte 0xc7
  3c:	04 24                	add    $0x24,%al
  3e:	0e                   	(bad)
  3f:	36                   	ss

Crashes (65):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/05 17:24 linux-6.1.y e5c3b988b827 e23e8c20 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2024/08/25 01:58 linux-6.1.y ee5e09825b81 d7d32352 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/08/18 07:25 linux-6.1.y 117ac406ba90 dbc93b08 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/11/21 08:59 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2024/11/18 16:06 linux-6.1.y b67dc5c9ade9 e7bb5d6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/11/17 20:45 linux-6.1.y b67dc5c9ade9 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/11/14 11:36 linux-6.1.y d7039b844a1c a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/11/12 04:53 linux-6.1.y d7039b844a1c 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/11/12 03:29 linux-6.1.y d7039b844a1c 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/11/11 15:55 linux-6.1.y d7039b844a1c 0c4b1325 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/11/11 14:19 linux-6.1.y d7039b844a1c 0c4b1325 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2024/11/08 06:11 linux-6.1.y 7c15117f9468 179b040e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/10/22 18:43 linux-6.1.y 7ec6f9fa3d97 a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2024/10/22 17:41 linux-6.1.y 7ec6f9fa3d97 a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2024/10/21 13:36 linux-6.1.y 54d90d17e8ce f1e4447c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/10/17 17:52 linux-6.1.y 54d90d17e8ce 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2024/10/11 22:45 linux-6.1.y aa4cd140bba5 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/10/08 13:06 linux-6.1.y aa4cd140bba5 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/10/03 04:54 linux-6.1.y aa4cd140bba5 a4c7fd36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2024/10/01 15:00 linux-6.1.y aa4cd140bba5 ea2b66a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2024/09/23 12:56 linux-6.1.y e526b12bf916 89298aad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/09/19 10:18 linux-6.1.y e526b12bf916 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/09/18 19:13 linux-6.1.y e526b12bf916 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2024/09/16 19:37 linux-6.1.y 5f55cad62cc9 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/09/15 03:15 linux-6.1.y 5f55cad62cc9 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/09/14 04:22 linux-6.1.y 5f55cad62cc9 b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/09/13 23:16 linux-6.1.y 5f55cad62cc9 b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/09/09 02:26 linux-6.1.y 5ca5b389fddf 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2024/09/05 15:30 linux-6.1.y 699506173494 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/09/05 08:58 linux-6.1.y 699506173494 dfbe2ed4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/09/02 23:40 linux-6.1.y 311d8503ef9f 8045124c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2024/08/30 14:04 linux-6.1.y 311d8503ef9f ee2602b8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2024/08/28 16:19 linux-6.1.y ee5e09825b81 ef3de9e8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2024/08/27 23:06 linux-6.1.y ee5e09825b81 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/08/25 21:16 linux-6.1.y ee5e09825b81 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/08/18 21:26 linux-6.1.y 117ac406ba90 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/08/08 11:00 linux-6.1.y 48d525b0e463 de12cf65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/08/08 04:54 linux-6.1.y 48d525b0e463 de12cf65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/08/06 17:20 linux-6.1.y 48d525b0e463 1ef9fe42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2024/08/05 11:41 linux-6.1.y 48d525b0e463 e35c337f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2024/08/03 19:48 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/07/19 22:20 linux-6.1.y 9b3f9a5b12dc 890ce4f3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/07/17 07:44 linux-6.1.y cac15753b8ce 215bec2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/07/10 17:47 linux-6.1.y 7753af06eebf 6f7fa383 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2024/07/08 13:20 linux-6.1.y 7753af06eebf cde64f7d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2024/06/15 03:15 linux-6.1.y ae9f2a70d69e f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2024/06/13 10:17 linux-6.1.y ae9f2a70d69e 2aa5052f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/06/11 22:35 linux-6.1.y 88690811da69 4d75f4f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/06/05 16:19 linux-6.1.y 88690811da69 5aa1a7c9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/05/20 04:21 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2024/05/14 04:53 linux-6.1.y 909ba1f1b414 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/05/07 02:55 linux-6.1.y 909ba1f1b414 fa7a5cf0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/05/05 00:58 linux-6.1.y 909ba1f1b414 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/05/01 17:04 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2024/04/22 20:33 linux-6.1.y 6741e066ec76 36c961ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2023/12/20 17:23 linux-6.1.y 4aa6747d9352 de21eb89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2023/11/22 18:59 linux-6.1.y 69e434a1cb21 03e12510 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2023/11/02 20:33 linux-6.1.y 4a61839152cc c4ac074c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2023/09/23 09:03 linux-6.1.y a356197db198 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2023/08/04 11:39 linux-6.1.y 52a953d0934b 74621247 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2023/05/23 23:24 linux-6.1.y fa74641fb6b9 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2023/05/18 01:34 linux-6.1.y fa74641fb6b9 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in call_timer_fn
2023/05/03 14:34 linux-6.1.y ca48fc16c493 b5918830 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2023/03/17 22:08 linux-6.1.y 7eaef76fbc46 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
2023/03/08 12:10 linux-6.1.y 42616e0f09fb d2b00170 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in call_timer_fn
* Struck through repros no longer work on HEAD.