syzbot


WARNING in call_timer_fn

Status: auto-obsoleted due to no activity on 2025/02/11 06:36
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+17cefe402edee470dda4@syzkaller.appspotmail.com
First crash: 368d, last: 112d
Bug presence (2)
Date Name Commit Repro Result
2024/02/21 linux-5.15.y (ToT) 6139f2a02fe0 C [report] BUG: sleeping function called from invalid context in exit_mmap
2024/02/21 upstream (ToT) 9fc1ccccfd8d 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 5919 48m 829d 0/28 upstream: reported C repro on 2022/11/16 15:25
linux-6.1 WARNING in call_timer_fn origin:lts-only C unreliable 108 1d22h 718d 0/3 upstream: reported C repro on 2023/03/08 12:11
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/10/24 18:14 15m retest repro linux-5.15.y OK log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2024/03/21 17:44 10h03m fix candidate upstream OK (1) job log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5107 at kernel/workqueue.c:1453 __queue_work+0xbaf/0xd00
Modules linked in:
CPU: 1 PID: 5107 Comm: syz-executor Not tainted 5.15.170-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__queue_work+0xbaf/0xd00 kernel/workqueue.c:1453
Code: 7c 24 10 e8 43 6d 77 00 e9 1c fd ff ff e8 79 a2 2d 00 89 ee 48 c7 c7 a0 18 7d 8c e8 ab 31 d8 02 e9 64 fc ff ff e8 61 a2 2d 00 <0f> 0b 48 83 c4 50 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 4b a2 2d 00
RSP: 0018:ffffc90000dd0b18 EFLAGS: 00010046
RAX: ffffffff8152d15f RBX: 00000000000b0012 RCX: ffff888028fc3b80
RDX: 0000000000000100 RSI: 0000000000000100 RDI: 0000000000000000
RBP: 0000000000010000 R08: ffffffff8153b495 R09: fffffbfff1bd2cce
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88807ddba800 R14: 0000000000000008 R15: 00000000ffffe801
FS:  0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0c2f4e8000 CR3: 0000000065c4b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 call_timer_fn+0x16d/0x560 kernel/time/timer.c:1451
 expire_timers kernel/time/timer.c:1491 [inline]
 __run_timers+0x6a8/0x890 kernel/time/timer.c:1767
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1780
 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558
 __do_softirq kernel/softirq.c:592 [inline]
 invoke_softirq kernel/softirq.c:432 [inline]
 __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653
 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:preempt_schedule_irq+0xf2/0x1c0 kernel/sched/core.c:6777
Code: 89 f5 49 c1 ed 03 eb 0d 48 f7 03 08 00 00 00 0f 84 97 00 00 00 bf 01 00 00 00 e8 99 fb 1a f7 e8 74 72 4a f7 fb bf 01 00 00 00 <e8> a9 b3 ff ff 43 80 7c 3d 00 00 74 08 4c 89 f7 e8 59 bf 8d f7 48
RSP: 0018:ffffc900035776a0 EFLAGS: 00000286
RAX: e2b6ff265f203f00 RBX: 1ffff920006aeedc RCX: ffffffff81632d78
RDX: dffffc0000000000 RSI: ffffffff8a8b2a80 RDI: 0000000000000001
RBP: ffffc90003577760 R08: dffffc0000000000 R09: fffffbfff20ec651
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920006aeed4
R13: 1ffff920006aeed8 R14: ffffc900035776c0 R15: dffffc0000000000
 irqentry_exit+0x53/0x80 kernel/entry/common.c:432
 asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:681
RIP: 0010:lock_acquire+0x252/0x4f0 kernel/locking/lockdep.c:5627
Code: 2b 00 74 08 4c 89 f7 e8 9c 7f 67 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25
RSP: 0018:ffffc90003577820 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff920006aef10 RCX: ffffffff96869f03
RDX: dffffc0000000000 RSI: ffffffff8a8b3d20 RDI: ffffffff8ad90480
RBP: ffffc90003577968 R08: dffffc0000000000 R09: fffffbfff2600594
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920006aef0c
R13: dffffc0000000000 R14: ffffc90003577880 R15: 0000000000000246
 flush_workqueue+0x170/0x1610 kernel/workqueue.c:2830
 drain_workqueue+0xc5/0x390 kernel/workqueue.c:2995
 hci_dev_do_close+0x420/0x1070 net/bluetooth/hci_core.c:1780
 hci_unregister_dev+0x2d7/0x580 net/bluetooth/hci_core.c:4040
 vhci_release+0x73/0xc0 drivers/bluetooth/hci_vhci.c:345
 __fput+0x3fe/0x8e0 fs/file_table.c:280
 task_work_run+0x129/0x1a0 kernel/task_work.c:188
 exit_task_work include/linux/task_work.h:33 [inline]
 do_exit+0x6a3/0x2480 kernel/exit.c:874
 do_group_exit+0x144/0x310 kernel/exit.c:996
 __do_sys_exit_group kernel/exit.c:1007 [inline]
 __se_sys_exit_group kernel/exit.c:1005 [inline]
 __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1005
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1e715b3719
Code: Unable to access opcode bytes at RIP 0x7f1e715b36ef.
RSP: 002b:00007ffe4e164d08 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007f1e7162623e RCX: 00007f1e715b3719
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 0000000000000016 R08: 00007ffe4e162aa6 R09: 00007ffe4e165fc0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe4e165fc0
R13: 00007f1e716261cc R14: 000055558c5394a8 R15: 00007ffe4e168170
 </TASK>
----------------
Code disassembly (best guess):
   0:	89 f5                	mov    %esi,%ebp
   2:	49 c1 ed 03          	shr    $0x3,%r13
   6:	eb 0d                	jmp    0x15
   8:	48 f7 03 08 00 00 00 	testq  $0x8,(%rbx)
   f:	0f 84 97 00 00 00    	je     0xac
  15:	bf 01 00 00 00       	mov    $0x1,%edi
  1a:	e8 99 fb 1a f7       	call   0xf71afbb8
  1f:	e8 74 72 4a f7       	call   0xf74a7298
  24:	fb                   	sti
  25:	bf 01 00 00 00       	mov    $0x1,%edi
* 2a:	e8 a9 b3 ff ff       	call   0xffffb3d8 <-- trapping instruction
  2f:	43 80 7c 3d 00 00    	cmpb   $0x0,0x0(%r13,%r15,1)
  35:	74 08                	je     0x3f
  37:	4c 89 f7             	mov    %r14,%rdi
  3a:	e8 59 bf 8d f7       	call   0xf78dbf98
  3f:	48                   	rex.W

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/03 06:35 linux-5.15.y 72244eab0dad f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in call_timer_fn
2024/10/10 06:03 linux-5.15.y 3a5928702e71 0278d004 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in call_timer_fn
2024/09/24 07:33 linux-5.15.y 3a5928702e71 89298aad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in call_timer_fn
2024/07/15 07:34 linux-5.15.y f45bea23c39c c605e6a2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in call_timer_fn
2024/07/02 14:33 linux-5.15.y 4878aadf2d15 07f0a0a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in call_timer_fn
2024/03/20 04:00 linux-5.15.y b95c01af2113 a485f239 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in call_timer_fn
2024/02/21 03:34 linux-5.15.y 6139f2a02fe0 3af7dd65 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING in call_timer_fn
* Struck through repros no longer work on HEAD.