syzbot


INFO: task hung in netdev_run_todo (2)

Status: auto-closed as invalid on 2020/12/20 04:57
Reported-by: syzbot+9b2340d343584561e2e0@syzkaller.appspotmail.com
First crash: 1384d, last: 1336d
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in netdev_run_todo (3) 15 529d 845d 0/1 auto-obsoleted due to no activity on 2023/03/07 08:19
upstream INFO: task hung in netdev_run_todo net 12 1703d 2258d 0/26 closed as invalid on 2019/10/23 07:29
android-44 INFO: task hung in netdev_run_todo 1 2198d 2198d 0/2 auto-closed as invalid on 2019/02/22 12:49
linux-4.19 INFO: task hung in netdev_run_todo 1 1662d 1662d 0/1 auto-closed as invalid on 2020/01/29 06:48
linux-5.15 INFO: task hung in netdev_run_todo 1 175d 175d 0/3 auto-obsoleted due to no activity on 2024/02/04 09:09
upstream INFO: task hung in netdev_run_todo (2) staging wireguard usb C error 241 66d 1223d 0/26 upstream: reported C repro on 2020/12/13 16:23
android-49 INFO: task hung in netdev_run_todo 1 2190d 2190d 0/3 auto-closed as invalid on 2019/02/22 14:57
linux-4.14 INFO: task hung in netdev_run_todo 1 523d 523d 0/1 auto-obsoleted due to no activity on 2023/03/13 17:45

Sample crash report:
Bluetooth: hci5: command 0x041b tx timeout
Bluetooth: hci5: command 0x040f tx timeout
Bluetooth: hci5: command 0x0419 tx timeout
IPVS: ftp: loaded support on port[0] = 21
Bluetooth: hci5: command 0x0406 tx timeout
INFO: task syz-executor.1:23274 blocked for more than 140 seconds.
      Not tainted 4.19.141-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.1  D24712 23274   6470 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619
 __mutex_lock_common kernel/locking/mutex.c:1002 [inline]
 __mutex_lock+0x647/0x1260 kernel/locking/mutex.c:1072
 netdev_run_todo+0x719/0xab0 net/core/dev.c:8991
 rtnl_unlock net/core/rtnetlink.c:117 [inline]
 rtnetlink_rcv_msg+0x460/0xb80 net/core/rtnetlink.c:4779
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2455
 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1344
 netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1909
 sock_sendmsg_nosec net/socket.c:622 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:632
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2115
 __sys_sendmsg net/socket.c:2153 [inline]
 __do_sys_sendmsg net/socket.c:2162 [inline]
 __se_sys_sendmsg net/socket.c:2160 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2160
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45d4d9
Code: 5d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f0a887b0c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000002cd80 RCX: 000000000045d4d9
RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000006
RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c
R13: 00007ffcd06466cf R14: 00007f0a887b19c0 R15: 000000000118cf4c
INFO: task syz-executor.5:23340 blocked for more than 140 seconds.
      Not tainted 4.19.141-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D26424 23340      1 0x80000004
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619
 __mutex_lock_common kernel/locking/mutex.c:1002 [inline]
 __mutex_lock+0x647/0x1260 kernel/locking/mutex.c:1072
 ip_tunnel_init_net+0x321/0x990 net/ipv4/ip_tunnel.c:1024
 ops_init+0xb3/0x410 net/core/net_namespace.c:129
 setup_net+0x2c2/0x720 net/core/net_namespace.c:315
 copy_net_ns+0x1f7/0x335 net/core/net_namespace.c:438
 create_new_namespaces+0x3f6/0x7b0 kernel/nsproxy.c:107
 unshare_nsproxy_namespaces+0xbd/0x1f0 kernel/nsproxy.c:206
 ksys_unshare+0x36c/0x9a0 kernel/fork.c:2530
 __do_sys_unshare kernel/fork.c:2598 [inline]
 __se_sys_unshare kernel/fork.c:2596 [inline]
 __x64_sys_unshare+0x2d/0x40 kernel/fork.c:2596
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45ffa7
Code: 00 00 00 b8 63 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 7d 89 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 10 01 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 5d 89 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffd646f5468 EFLAGS: 00000206 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 000000000118d9c8 RCX: 000000000045ffa7
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00000000000000f8 R08: 0000000000000000 R09: 0000000000000005
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000418d90
R13: 00007ffd646f56d8 R14: 0000000000000000 R15: 0000000000000000

Showing all locks held in the system:
1 lock held by khungtaskd/1089:
 #0: 000000008daefb96 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4440
3 locks held by kworker/1:1H/2315:
1 lock held by in:imklog/6141:
 #0: 000000001dcc08e4 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767
3 locks held by kworker/u4:5/6186:
5 locks held by kworker/u4:2/29530:
 #0: 00000000097aa072 ((wq_completion)"%s""netns"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2126
 #1: 00000000673386ed (net_cleanup_work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2130
 #2: 00000000360cd32d (pernet_ops_rwsem){++++}, at: cleanup_net+0xa8/0x8b0 net/core/net_namespace.c:520
 #3: 0000000027e2b5b6 (rtnl_mutex){+.+.}, at: ip6gre_exit_batch_net+0x82/0x6c0 net/ipv6/ip6_gre.c:1624
 #4: 0000000093327b2b (cpu_hotplug_lock.rw_sem){++++}, at: get_online_cpus include/linux/cpu.h:137 [inline]
 #4: 0000000093327b2b (cpu_hotplug_lock.rw_sem){++++}, at: flush_all_backlogs net/core/dev.c:5276 [inline]
 #4: 0000000093327b2b (cpu_hotplug_lock.rw_sem){++++}, at: rollback_registered_many+0x38d/0xde0 net/core/dev.c:8172
3 locks held by kworker/1:19/23246:
 #0: 00000000d34665c6 ((wq_completion)"%s"("ipv6_addrconf")){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2126
 #1: 00000000d38ddc20 ((addr_chk_work).work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2130
 #2: 0000000027e2b5b6 (rtnl_mutex){+.+.}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4475
1 lock held by syz-executor.1/23274:
 #0: 0000000027e2b5b6 (rtnl_mutex){+.+.}, at: netdev_run_todo+0x719/0xab0 net/core/dev.c:8991
2 locks held by syz-executor.5/23340:
 #0: 00000000360cd32d (pernet_ops_rwsem){++++}, at: copy_net_ns+0x1d8/0x335 net/core/net_namespace.c:434
 #1: 0000000027e2b5b6 (rtnl_mutex){+.+.}, at: ip_tunnel_init_net+0x321/0x990 net/ipv4/ip_tunnel.c:1024

=============================================

NMI backtrace for cpu 0
CPU: 0 PID: 1089 Comm: khungtaskd Not tainted 4.19.141-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2fe lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1a6/0x1eb lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline]
 watchdog+0x991/0xe60 kernel/hung_task.c:287
 kthread+0x30b/0x410 kernel/kthread.c:246
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 3696 Comm: systemd-journal Not tainted 4.19.141-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__debug_check_no_obj_freed lib/debugobjects.c:779 [inline]
RIP: 0010:debug_check_no_obj_freed+0x101/0x482 lib/debugobjects.c:817
Code: 00 00 49 bc 00 02 00 00 00 00 ad de 4c 89 c0 31 ed 48 c1 e8 03 42 80 3c 38 00 0f 85 dd 00 00 00 49 8d 78 18 83 c5 01 4d 8b 30 <48> 89 f8 48 c1 e8 03 42 80 3c 38 00 0f 85 65 02 00 00 4d 8b 48 18
RSP: 0018:ffff88809471fd78 EFLAGS: 00000002
RAX: 1ffff1101292afc7 RBX: 0000000000000000 RCX: ffffffff8152563b
RDX: 1ffffffff175eb83 RSI: 0000000000000004 RDI: ffff888094957e50
RBP: 0000000000000004 R08: ffff888094957e38 R09: ffff88809c9eeae8
R10: ffffffff8baf5c0b R11: 0000000000000000 R12: dead000000000200
R13: ffff8880535aa400 R14: ffff88804d997a80 R15: dffffc0000000000
FS:  00007f62cd65b8c0(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f62c92bc000 CR3: 000000009476b000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 kmem_cache_free+0xff/0x260 mm/slab.c:3764
 putname+0xe1/0x120 fs/namei.c:261
 do_sys_open+0x2ba/0x520 fs/open.c:1094
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f62ccbeb85d
Code: bb 20 00 00 75 10 b8 02 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 b8 02 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 67 f6 ff ff 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007ffd902c9850 EFLAGS: 00000293 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007ffd902c9b60 RCX: 00007f62ccbeb85d
RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 0000557fe5a92d40
RBP: 000000000000000d R08: 000000000000c0c1 R09: 00000000ffffffff
R10: 0000000000000069 R11: 0000000000000293 R12: 00000000ffffffff
R13: 0000557fe5a8f060 R14: 00007ffd902c9b20 R15: 0000557fe5a9c690

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/08/22 04:56 linux-4.19.y d18b78abc0c6 6436ce4b .config console log report ci2-linux-4-19
2020/08/20 17:37 linux-4.19.y a834132bd465 ed282a3a .config console log report ci2-linux-4-19
2020/07/05 15:00 linux-4.19.y 399849e4654e 22f87567 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.