syzbot


INFO: task hung in netdev_run_todo

Status: premoderation: reported on 2025/06/22 07:19
Reported-by: syzbot+1233d01ce7a389688b0c@syzkaller.appspotmail.com
First crash: 5d20h, last: 11h51m
Similar bugs (13)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in netdev_run_todo (3) 15 963d 1279d 0/1 auto-obsoleted due to no activity on 2023/03/07 08:19
upstream INFO: task hung in netdev_run_todo net 12 2137d 2692d 0/29 closed as invalid on 2019/10/23 07:29
linux-4.19 INFO: task hung in netdev_run_todo (2) 3 1770d 1818d 0/1 auto-closed as invalid on 2020/12/20 04:57
android-44 INFO: task hung in netdev_run_todo 1 2632d 2632d 0/2 auto-closed as invalid on 2019/02/22 12:49
upstream INFO: task hung in netdev_run_todo (4) wireguard 357 2h07m 261d 0/29 upstream: reported on 2024/10/09 19:06
linux-4.19 INFO: task hung in netdev_run_todo 1 2096d 2096d 0/1 auto-closed as invalid on 2020/01/29 06:48
upstream INFO: task hung in netdev_run_todo (3) net 24 374d 412d 0/29 auto-obsoleted due to no activity on 2024/08/07 04:24
linux-5.15 INFO: task hung in netdev_run_todo 1 609d 609d 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 500d 1657d 0/29 auto-obsoleted due to no activity on 2024/05/05 22:51
android-49 INFO: task hung in netdev_run_todo 1 2624d 2624d 0/3 auto-closed as invalid on 2019/02/22 14:57
linux-4.14 INFO: task hung in netdev_run_todo 1 957d 957d 0/1 auto-obsoleted due to no activity on 2023/03/13 17:45
linux-5.15 INFO: task hung in netdev_run_todo (2) 54 222d 403d 0/3 auto-obsoleted due to no activity on 2025/01/26 20:30
upstream INFO: task can't die in netdev_run_todo net syz error 2 1379d 1772d 0/29 auto-obsoleted due to no activity on 2023/04/16 04:59

Sample crash report:
INFO: task syz.6.1809:5878 blocked for more than 122 seconds.
      Not tainted 6.12.30-syzkaller-g111ee63e22d9 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.1809      state:D stack:0     pid:5878  tgid:5878  ppid:2194   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5924 [inline]
 __schedule+0x145b/0x1f10 kernel/sched/core.c:7750
 __schedule_loop kernel/sched/core.c:7831 [inline]
 schedule+0xc6/0x240 kernel/sched/core.c:7846
 schedule_timeout+0xb2/0x3a0 kernel/time/timer.c:2595
 do_wait_for_common kernel/sched/completion.c:95 [inline]
 __wait_for_common kernel/sched/completion.c:116 [inline]
 wait_for_common+0x359/0x630 kernel/sched/completion.c:127
 wait_for_completion+0x1c/0x40 kernel/sched/completion.c:148
 rcu_barrier+0x415/0x530 kernel/rcu/tree.c:4642
 netdev_run_todo+0x10e/0xcb0 net/core/dev.c:10864
 rtnl_unlock+0x12/0x20 net/core/rtnetlink.c:152
 tun_detach drivers/net/tun.c:704 [inline]
 tun_chr_close+0xc5/0x150 drivers/net/tun.c:3517
 __fput+0x1fe/0xa00 fs/file_table.c:431
 ____fput+0x20/0x30 fs/file_table.c:459
 task_work_run+0x1e0/0x250 kernel/task_work.c:240
 exit_task_work include/linux/task_work.h:43 [inline]
 do_exit+0x9b4/0x2630 kernel/exit.c:944
 do_group_exit+0x22a/0x300 kernel/exit.c:1094
 get_signal+0x139d/0x14f0 kernel/signal.c:2934
 arch_do_signal_or_restart+0x96/0x720 arch/x86/kernel/signal.c:337
 exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
 syscall_exit_to_user_mode+0x58/0xb0 kernel/entry/common.c:218
 do_syscall_64+0x64/0xf0 arch/x86/entry/common.c:89
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fe3c9fc11e5
RSP: 002b:00007fe3cae51f80 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6
RAX: fffffffffffffdfc RBX: 00007fe3ca1b5fa0 RCX: 00007fe3c9fc11e5
RDX: 00007fe3cae51fc0 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fe3ca010b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fe3ca1b5fa0 R15: 00007ffcb693fd38
 </TASK>
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 37 Comm: khungtaskd Not tainted 6.12.30-syzkaller-g111ee63e22d9 #0 349e0f6c9d5f7339ded262975e405e8258d762c4
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:94
 dump_stack_lvl+0x10c/0x190 lib/dump_stack.c:120
 dump_stack+0x19/0x20 lib/dump_stack.c:129
 nmi_cpu_backtrace+0x2bf/0x2d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x142/0x2c0 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:41
 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:229 [inline]
 watchdog+0xd8f/0xed0 kernel/hung_task.c:385
 kthread+0x2ca/0x370 kernel/kthread.c:389
 ret_from_fork+0x64/0xa0 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 20 Comm: rcuop/0 Not tainted 6.12.30-syzkaller-g111ee63e22d9 #0 349e0f6c9d5f7339ded262975e405e8258d762c4
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:ip6_multipath_l3_keys+0x6f/0x710 net/ipv6/route.c:2342
Code: 24 60 b3 8a b5 41 48 c7 44 24 68 94 a6 e5 86 48 c7 44 24 70 10 21 df 84 4c 8d 6c 24 60 49 c1 ed 03 41 c7 44 1d 00 f1 f1 f1 f1 <48> b8 f2 f2 f2 f2 f2 00 f3 f3 49 89 44 1d 09 66 41 c7 44 1d 11 f3
RSP: 0018:ffffc90000230380 EFLAGS: 00000a02
RAX: 66de0b1ff89ec700 RBX: dffffc0000000000 RCX: ffff888103664c00
RDX: 0000000000000000 RSI: ffffc90000230750 RDI: ffff88814185d140
RBP: ffffc900002304d0 R08: ffffc9000023079f R09: 0000000000000000
R10: ffffc90000230750 R11: fffff520000460f4 R12: ffff88814185d140
R13: 1ffff9200004607c R14: 0000000000000000 R15: 1ffff920000460a0
FS:  0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055901b5f7b90 CR3: 000000010b30c000 CR4: 00000000003526b0
DR0: 0000000000000000 DR1: 0000000000000007 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 rt6_multipath_hash+0x353/0x1390 net/ipv6/route.c:2515
 ip6_route_input+0x6e8/0x8d0 net/ipv6/route.c:2629
 ip6_rcv_finish_core net/ipv6/ip6_input.c:66 [inline]
 ip6_rcv_finish+0x15a/0x3c0 net/ipv6/ip6_input.c:77
 NF_HOOK include/linux/netfilter.h:317 [inline]
 ipv6_rcv+0xed/0x220 net/ipv6/ip6_input.c:309
 __netif_receive_skb_one_core net/core/dev.c:5757 [inline]
 __netif_receive_skb net/core/dev.c:5870 [inline]
 process_backlog+0x44b/0xae0 net/core/dev.c:6202
 __napi_poll+0xd3/0x610 net/core/dev.c:6853
 napi_poll net/core/dev.c:6922 [inline]
 net_rx_action+0x584/0xce0 net/core/dev.c:7044
 handle_softirqs+0x1ae/0x630 kernel/softirq.c:603
 __do_softirq+0xf/0x16 kernel/softirq.c:641
 do_softirq+0xa6/0x100 kernel/softirq.c:485
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x74/0x80 kernel/softirq.c:412
 local_bh_enable include/linux/bottom_half.h:33 [inline]
 rcu_do_batch+0x5c6/0xd20 kernel/rcu/tree.c:2586
 nocb_cb_wait kernel/rcu/tree_nocb.h:923 [inline]
 rcu_nocb_cb_kthread+0x4dc/0xac0 kernel/rcu/tree_nocb.h:957
 kthread+0x2ca/0x370 kernel/kthread.c:389
 ret_from_fork+0x64/0xa0 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
net_ratelimit: 125581 callbacks suppressed
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:0e:21:50:b1:99:c3, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:0e:21:50:b1:99:c3, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:0e:21:50:b1:99:c3, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:0e:21:50:b1:99:c3, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:0e:21:50:b1:99:c3, vlan:0)
net_ratelimit: 134534 callbacks suppressed
bridge0: received packet on veth0_to_bridge with own address as source address (addr:0e:21:50:b1:99:c3, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:0e:21:50:b1:99:c3, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:0e:21:50:b1:99:c3, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:0e:21:50:b1:99:c3, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:0e:21:50:b1:99:c3, vlan:0)

Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/27 15:39 android16-6.12 111ee63e22d9 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in netdev_run_todo
2025/06/27 15:12 android16-6.12 111ee63e22d9 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in netdev_run_todo
2025/06/27 06:39 android16-6.12 111ee63e22d9 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in netdev_run_todo
2025/06/27 03:34 android16-6.12 111ee63e22d9 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in netdev_run_todo
2025/06/26 19:03 android16-6.12 1ccb219f8cda 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in netdev_run_todo
2025/06/26 17:06 android16-6.12 1ccb219f8cda 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in netdev_run_todo
2025/06/26 13:20 android16-6.12 1ccb219f8cda 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in netdev_run_todo
2025/06/26 06:56 android16-6.12 22d634eb24e3 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in netdev_run_todo
2025/06/26 03:21 android16-6.12 22d634eb24e3 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in netdev_run_todo
2025/06/25 20:45 android16-6.12 030e00a2d78c 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in netdev_run_todo
2025/06/25 18:47 android16-6.12 030e00a2d78c 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in netdev_run_todo
2025/06/25 11:27 android16-6.12 030e00a2d78c 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in netdev_run_todo
2025/06/24 14:21 android16-6.12 9d80e3254812 e2f27c35 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in netdev_run_todo
2025/06/24 11:53 android16-6.12 9d80e3254812 e2f27c35 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in netdev_run_todo
2025/06/23 14:25 android16-6.12 5bf4b91e3333 d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in netdev_run_todo
2025/06/23 13:49 android16-6.12 5bf4b91e3333 d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in netdev_run_todo
2025/06/23 13:22 android16-6.12 5bf4b91e3333 d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in netdev_run_todo
2025/06/23 12:54 android16-6.12 5bf4b91e3333 d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in netdev_run_todo
2025/06/22 13:21 android16-6.12 d9fd901baa98 d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in netdev_run_todo
2025/06/22 07:18 android16-6.12 d9fd901baa98 d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in netdev_run_todo
* Struck through repros no longer work on HEAD.