syzbot


INFO: task hung in linkwatch_event

Status: auto-closed as invalid on 2019/03/05 13:11
First crash: 2368d, last: 2222d
Similar bugs (14)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-414 INFO: task hung in linkwatch_event C 7 1786d 2006d 0/1 public: reported C repro on 2019/04/10 16:14
linux-4.14 INFO: task hung in linkwatch_event (2) 1 807d 807d 0/1 auto-obsoleted due to no activity on 2022/11/19 11:58
linux-5.15 INFO: task hung in linkwatch_event 77 4d12h 269d 0/3 upstream: reported on 2024/01/11 11:32
upstream INFO: task hung in linkwatch_event (4) net C done 1240 18m 72d 0/28 upstream: reported C repro on 2024/07/27 06:21
upstream INFO: task hung in linkwatch_event net C 82 1815d 2426d 0/28 closed as dup on 2018/02/14 15:33
linux-4.14 INFO: task hung in linkwatch_event 5 1491d 1618d 0/1 auto-closed as invalid on 2021/01/05 01:42
linux-4.19 INFO: task hung in linkwatch_event (2) C error 217 582d 1670d 0/1 upstream: reported C repro on 2020/03/11 20:12
upstream INFO: task hung in linkwatch_event (2) net C done done 1033 896d 1621d 20/28 fixed on 2022/05/13 11:13
linux-4.19 INFO: task hung in linkwatch_event 3 1824d 1937d 0/1 auto-closed as invalid on 2020/02/07 01:11
upstream INFO: task hung in linkwatch_event (3) net 1634 89d 684d 26/28 fixed on 2024/07/09 19:14
linux-4.14 INFO: task hung in linkwatch_event (3) 2 642d 642d 0/1 upstream: reported on 2023/01/03 10:49
android-49 INFO: task hung in linkwatch_event 13 1986d 2002d 0/3 auto-closed as invalid on 2019/10/25 08:50
linux-6.1 INFO: task hung in linkwatch_event (2) 32 25d 139d 0/3 upstream: reported on 2024/05/20 16:52
linux-6.1 INFO: task hung in linkwatch_event 2 428d 544d 0/3 auto-obsoleted due to no activity on 2023/11/14 00:59

Sample crash report:
INFO: task kworker/1:1:21220 blocked for more than 140 seconds.
      Not tainted 4.4.154+ #96
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kworker/1:1     D ffff8801be7ffaf8 29344 21220      2 0x00000000
Workqueue: events linkwatch_event
 ffff8801be7ffaf8 0000000000000002 ffff8801b77367c8 ffffed0036ee6cf8
 ffff8801b7735f00 ffff8801db71f180 ffff8801db71f1a8 ffff8801db71e898
 ffff8801db71e880 ffff8801d93ddf00 ffff8801b7735f00 0000000000000000
Call Trace:
 [<ffffffff82683b5a>] schedule+0x7a/0x1b0 kernel/sched/core.c:3355
 [<ffffffff826842f3>] schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3388
 [<ffffffff82686017>] __mutex_lock_common kernel/locking/mutex.c:582 [inline]
 [<ffffffff82686017>] mutex_lock_nested+0x307/0x840 kernel/locking/mutex.c:621
 [<ffffffff821ee867>] rtnl_lock+0x17/0x20 net/core/rtnetlink.c:70
 [<ffffffff8220197e>] linkwatch_event+0xe/0x60 net/core/link_watch.c:236
 [<ffffffff8111e24f>] process_one_work+0x78f/0x1560 kernel/workqueue.c:2064
 [<ffffffff8111f0f9>] worker_thread+0xd9/0xfc0 kernel/workqueue.c:2196
 [<ffffffff8112ee98>] kthread+0x268/0x300 kernel/kthread.c:211
 [<ffffffff82690905>] ret_from_fork+0x55/0x80 arch/x86/entry/entry_64.S:510
3 locks held by kworker/1:1/21220:
 #0:  ("events"){.+.+.+}, at: [<ffffffff8111e132>] process_one_work+0x672/0x1560 kernel/workqueue.c:2057
 #1:  ((linkwatch_work).work){+.+...}, at: [<ffffffff8111e16a>] process_one_work+0x6aa/0x1560 kernel/workqueue.c:2061
 #2:  (rtnl_mutex){+.+.+.}, at: [<ffffffff821ee867>] rtnl_lock+0x17/0x20 net/core/rtnetlink.c:70
Sending NMI to all CPUs:
NMI backtrace for cpu 0
CPU: 0 PID: 20 Comm: khungtaskd Not tainted 4.4.154+ #96
task: ffff8801d9e92f80 task.stack: ffff8801d9a70000
RIP: 0010:[<ffffffff8109a2a6>]  [<ffffffff8109a2a6>] native_apic_mem_write arch/x86/include/asm/apic.h:93 [inline]
RIP: 0010:[<ffffffff8109a2a6>]  [<ffffffff8109a2a6>] __default_send_IPI_dest_field arch/x86/include/asm/ipi.h:119 [inline]
RIP: 0010:[<ffffffff8109a2a6>]  [<ffffffff8109a2a6>] _flat_send_IPI_mask arch/x86/kernel/apic/apic_flat_64.c:61 [inline]
RIP: 0010:[<ffffffff8109a2a6>]  [<ffffffff8109a2a6>] flat_send_IPI_mask+0xf6/0x1a0 arch/x86/kernel/apic/apic_flat_64.c:69
RSP: 0018:ffff8801d9a77cc8  EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000c00 RCX: 0000000000000000
RDX: 0000000000000c00 RSI: 0000000000000000 RDI: ffffffffff5fc300
RBP: ffff8801d9a77cf0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000246
R13: 0000000003000000 R14: ffffffff82e5f3a0 R15: 0000000000000002
FS:  0000000000000000(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000002607000 CR3: 00000000adf2a000 CR4: 00000000001606b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffffffff82e5f3a0 ffffffff831a3060 0000000000000007 fffffbfff06344ec
 0000000000000008 ffff8801d9a77d10 ffffffff81091931 ffffffff829209a0
 0000000000000003 ffff8801d9a77d68 ffffffff81a5fa92 ffffffff81391205
Call Trace:
 [<ffffffff81091931>] nmi_raise_cpu_backtrace+0x61/0x80 arch/x86/kernel/apic/hw_nmi.c:33
 [<ffffffff81a5fa92>] nmi_trigger_all_cpu_backtrace.cold.0+0x70/0xae lib/nmi_backtrace.c:85
 [<ffffffff810919d4>] arch_trigger_all_cpu_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 [<ffffffff8139abc7>] trigger_all_cpu_backtrace include/linux/nmi.h:44 [inline]
 [<ffffffff8139abc7>] check_hung_task kernel/hung_task.c:125 [inline]
 [<ffffffff8139abc7>] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline]
 [<ffffffff8139abc7>] watchdog.cold.0+0xd3/0xee kernel/hung_task.c:238
 [<ffffffff8112ee98>] kthread+0x268/0x300 kernel/kthread.c:211
 [<ffffffff82690905>] ret_from_fork+0x55/0x80 arch/x86/entry/entry_64.S:510
Code: 00 c3 5f ff 80 e6 10 75 e1 41 c1 e5 18 44 89 2c 25 10 c3 5f ff 44 89 fa 09 da 80 cf 04 41 83 ff 02 0f 44 d3 89 14 25 00 c3 5f ff <41> f7 c4 00 02 00 00 75 1a 4c 89 e7 57 9d 0f 1f 44 00 00 e8 12 
NMI backtrace for cpu 1
CPU: 1 PID: 19744 Comm: syz-executor5 Not tainted 4.4.154+ #96
task: ffff8801d93ddf00 task.stack: ffff8801b73b0000
RIP: 0010:[<ffffffff811f2d6c>]  [<ffffffff811f2d6c>] trace_hardirqs_on_caller+0x2c/0x590 kernel/locking/lockdep.c:2577
RSP: 0018:ffff8801b73b7ee8  EFLAGS: 00000046
RAX: 0000000000000000 RBX: 00000000009300a8 RCX: 0000000000000000
RDX: 0000000000000004 RSI: ffffffff810056cf RDI: ffffffff82fb71a0
RBP: ffff8801b73b7ef8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffff826906da
R13: 0000000000a3fb9f R14: 00007fddaf6339c0 R15: 0000000000000000
FS:  00007fddaf633700(0000) GS:ffff8801db700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000026053e0 CR3: 00000001b8d3b000 CR4: 00000000001606b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 00000000009300a8 00000000009300ac 00000000009300a0 ffffffff810022a7
 0000000000000246 0000000000000000 0000000000000000 0000000000000000
 0000000000000007 0000000000000000 0000000000000000 ffffffff810056cf
Call Trace:
 [<ffffffff810022a7>] trace_hardirqs_on_thunk+0x17/0x19
Code: b8 00 00 00 00 00 fc ff df 55 48 89 e5 41 54 49 89 fc 48 c7 c7 a0 71 fb 82 48 89 fa 53 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 <83> c0 03 38 d0 7c 08 84 d2 0f 85 c2 03 00 00 8b 1d 1f 44 dc 01 

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/09/06 13:11 https://android.googlesource.com/kernel/common android-4.4 b2cf10ee86d7 0bb7a7eb .config console log report ci-android-44-kasan-gce
2018/05/01 17:32 https://android.googlesource.com/kernel/common android-4.4 12ef385f51fe d5b114b4 .config console log report ci-android-44-kasan-gce-386
2018/04/15 01:12 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 7a67784c .config console log report ci-android-44-kasan-gce-386
2018/04/14 20:25 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 7a67784c .config console log report ci-android-44-kasan-gce-386
2018/04/14 19:01 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 7a67784c .config console log report ci-android-44-kasan-gce-386
2018/04/14 02:33 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 7a67784c .config console log report ci-android-44-kasan-gce-386
* Struck through repros no longer work on HEAD.