syzbot


kernel BUG at kernel/time/timer.c:LINE!

Status: upstream: reported C repro on 2019/12/08 18:43
Reported-by: syzbot+bda828feeef0b6e68e3c@syzkaller.appspotmail.com
First crash: 1845d, last: 1459d
Fix bisection the fix commit could be any of (bisect log):
  a844dc4c5442 Linux 4.14.158
  56dfe6252c68 Linux 4.14.188
  
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG at kernel/time/timer.c:LINE! netfilter C 18 2497d 2509d 4/28 fixed on 2018/02/26 20:04
upstream kernel BUG at kernel/time/timer.c:LINE! (3) net 1 2121d 2121d 11/28 fixed on 2019/03/28 12:00
upstream kernel BUG at kernel/time/timer.c:LINE! (4) media usb syz 1 1910d 1907d 15/28 fixed on 2019/12/13 00:31
upstream kernel BUG at kernel/time/timer.c:LINE! (2) hams C 5 2184d 2186d 11/28 fixed on 2019/01/15 20:25
Last patch testing requests (4)
Created Duration User Patch Repo Result
2023/02/06 06:32 9m retest repro linux-4.14.y report log
2023/02/06 05:32 10m retest repro linux-4.14.y report log
2022/09/15 16:29 10m retest repro linux-4.14.y report log
2022/09/15 15:29 10m retest repro linux-4.14.y report log
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2020/07/15 08:58 32m bisect fix linux-4.14.y OK (2) job log
2020/05/25 21:45 24m bisect fix linux-4.14.y OK (0) job log log
2020/04/25 21:21 23m bisect fix linux-4.14.y OK (0) job log log
2020/02/26 16:39 34m bisect fix linux-4.14.y OK (0) job log log
2020/01/27 16:11 28m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
sp0: Synchronizing with TNC
sp1: Synchronizing with TNC
sp0: Found TNC
sp1: Found TNC
------------[ cut here ]------------
kernel BUG at kernel/time/timer.c:1089!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 320 Comm: kworker/u4:3 Not tainted 4.14.158-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound flush_to_ldisc
task: ffff8880a900a380 task.stack: ffff8880a9010000
RIP: 0010:add_timer kernel/time/timer.c:1089 [inline]
RIP: 0010:add_timer+0x689/0xae0 kernel/time/timer.c:1087
RSP: 0018:ffff8880a9017b38 EFLAGS: 00010297
RAX: ffff8880a900a380 RBX: ffff8880a9017ba8 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff8880a900ac78 RDI: ffff88807408ef08
RBP: ffff8880a9017bd0 R08: ffff8880a900a380 R09: ffff8880a900ac98
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88807408ef00
R13: dffffc0000000000 R14: ffff88808e1d6af1 R15: ffff88807408ef00
FS:  0000000000000000(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007faa858c29de CR3: 0000000089d73000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 decode_prio_command drivers/net/hamradio/6pack.c:934 [inline]
 sixpack_decode drivers/net/hamradio/6pack.c:1003 [inline]
 sixpack_receive_buf drivers/net/hamradio/6pack.c:458 [inline]
 sixpack_receive_buf+0xc9a/0x1170 drivers/net/hamradio/6pack.c:435
 tty_ldisc_receive_buf+0x14d/0x1a0 drivers/tty/tty_buffer.c:459
 tty_port_default_receive_buf+0x73/0xa0 drivers/tty/tty_port.c:37
 receive_buf drivers/tty/tty_buffer.c:475 [inline]
 flush_to_ldisc+0x1ec/0x400 drivers/tty/tty_buffer.c:527
 process_one_work+0x863/0x1600 kernel/workqueue.c:2114
 worker_thread+0x5d9/0x1050 kernel/workqueue.c:2248
 kthread+0x319/0x430 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Code: 84 8a 00 00 00 e8 c8 10 0d 00 65 ff 0d 61 af b1 7e 0f 85 3c fd ff ff e8 b6 10 0d 00 e8 05 04 b0 ff e9 2d fd ff ff e8 a7 10 0d 00 <0f> 0b e8 a0 10 0d 00 49 c7 c5 80 4a 02 00 e8 14 b3 ba 01 48 ba 
RIP: add_timer kernel/time/timer.c:1089 [inline] RSP: ffff8880a9017b38
RIP: add_timer+0x689/0xae0 kernel/time/timer.c:1087 RSP: ffff8880a9017b38
kobject: 'sp0' (ffff8880a46205b0): kobject_add_internal: parent: 'net', set: 'devices'
kobject: 'sp0' (ffff8880a46205b0): kobject_uevent_env
kobject: 'sp0' (ffff8880a46205b0): fill_kobj_path: path = '/devices/virtual/net/sp0'
kobject: 'queues' (ffff8880a09ddc48): kobject_add_internal: parent: 'sp0', set: '<NULL>'
kobject: 'queues' (ffff8880a09ddc48): kobject_uevent_env
kobject: 'queues' (ffff8880a09ddc48): kobject_uevent_env: filter function caused the event to drop!
kobject: 'rx-0' (ffff88809fea1190): kobject_add_internal: parent: 'queues', set: 'queues'
kobject: 'rx-0' (ffff88809fea1190): kobject_uevent_env
kobject: 'rx-0' (ffff88809fea1190): fill_kobj_path: path = '/devices/virtual/net/sp0/queues/rx-0'
kobject: 'tx-0' (ffff88809ff89d58): kobject_add_internal: parent: 'queues', set: 'queues'
kobject: 'tx-0' (ffff88809ff89d58): kobject_uevent_env
kobject: 'tx-0' (ffff88809ff89d58): fill_kobj_path: path = '/devices/virtual/net/sp0/queues/tx-0'
kobject: 'sp2' (ffff888095ca9270): kobject_add_internal: parent: 'net', set: 'devices'
sp0: Synchronizing with TNC
kobject: 'sp2' (ffff888095ca9270): kobject_uevent_env
---[ end trace 5228ba54d8f8ea05 ]---
6pack: protocol violation

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/09 15:23 linux-4.14.y a844dc4c5442 b31eda3d .config console log report syz C ci2-linux-4-14
2019/12/08 19:11 linux-4.14.y a844dc4c5442 1508f453 .config console log report syz ci2-linux-4-14
2020/12/28 17:57 linux-4.14.y 3f2ecb86cb90 8259d56c .config console log report info ci2-linux-4-14
2020/11/10 16:25 linux-4.14.y e98f3c4269fd cca87986 .config console log report info ci2-linux-4-14
2020/06/15 08:58 linux-4.14.y b850307b279c 8e3ab941 .config console log report ci2-linux-4-14
2020/03/26 20:06 linux-4.14.y 01364dad1d45 6d25c5a0 .config console log report ci2-linux-4-14
2019/12/28 16:11 linux-4.14.y e1f7d50ae3a3 af6b8ef8 .config console log report ci2-linux-4-14
2019/12/27 11:45 linux-4.14.y e1f7d50ae3a3 be5c2c81 .config console log report ci2-linux-4-14
2019/12/27 08:47 linux-4.14.y e1f7d50ae3a3 be5c2c81 .config console log report ci2-linux-4-14
2019/12/09 14:18 linux-4.14.y a844dc4c5442 b31eda3d .config console log report ci2-linux-4-14
2019/12/09 13:06 linux-4.14.y a844dc4c5442 1508f453 .config console log report ci2-linux-4-14
2019/12/08 18:42 linux-4.14.y a844dc4c5442 1508f453 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.