syzbot


INFO: task hung in switchdev_deferred_process_work (3)

Status: upstream: reported on 2026/05/20 16:07
Reported-by: syzbot+2c3695708adc7a629164@syzkaller.appspotmail.com
First crash: 4d14h, last: 4d14h
Similar bugs (13)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 INFO: task hung in switchdev_deferred_process_work (2) 1 10 4d23h 173d 0/2 upstream: reported on 2025/12/02 15:22
linux-6.1 INFO: task hung in switchdev_deferred_process_work (2) 1 1 244d 244d 0/3 auto-obsoleted due to no activity on 2025/12/31 08:30
upstream INFO: task hung in switchdev_deferred_process_work (2) net 1 C inconclusive 1226 684d 2127d 26/29 fixed on 2024/07/09 19:14
linux-6.6 INFO: task hung in switchdev_deferred_process_work 1 1 306d 306d 0/2 auto-obsoleted due to no activity on 2025/10/31 04:22
upstream INFO: task hung in switchdev_deferred_process_work net 1 35 2417d 2954d 0/29 closed as invalid on 2019/10/23 07:26
upstream INFO: task hung in switchdev_deferred_process_work (3) net 1 C inconclusive 633 6h08m 654d 0/29 upstream: reported C repro on 2024/08/08 21:14
linux-5.15 INFO: task hung in switchdev_deferred_process_work (4) 1 2 156d 165d 0/3 auto-obsoleted due to no activity on 2026/03/29 12:57
linux-5.15 INFO: task hung in switchdev_deferred_process_work 1 1 1139d 1139d 0/3 auto-obsoleted due to no activity on 2023/08/10 05:46
linux-4.19 INFO: task hung in switchdev_deferred_process_work 1 95 1190d 2269d 0/1 upstream: reported on 2020/03/08 04:06
linux-4.14 INFO: task hung in switchdev_deferred_process_work 1 1 1479d 1479d 0/1 auto-obsoleted due to no activity on 2022/09/03 16:45
linux-5.15 INFO: task hung in switchdev_deferred_process_work (2) 1 36 792d 864d 0/3 auto-obsoleted due to no activity on 2024/06/01 16:21
linux-5.15 INFO: task hung in switchdev_deferred_process_work (3) 1 8 577d 719d 0/3 auto-obsoleted due to no activity on 2025/02/02 03:46
linux-6.1 INFO: task hung in switchdev_deferred_process_work 1 8 683d 847d 0/3 auto-obsoleted due to no activity on 2024/10/18 09:59

Sample crash report:
INFO: task kworker/0:7:13015 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:7     state:D stack:24464 pid:13015 ppid:2      flags:0x00004000
Workqueue: events switchdev_deferred_process_work
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x11d1/0x40e0 kernel/sched/core.c:6562
 schedule+0xb9/0x180 kernel/sched/core.c:6638
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6697
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x562/0xaf0 kernel/locking/mutex.c:747
 switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:104
 process_one_work+0x8a2/0x1160 kernel/workqueue.c:2292
 worker_thread+0xaa2/0x1270 kernel/workqueue.c:2439
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
INFO: task syz.3.11986:13710 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.11986     state:D stack:26224 pid:13710 ppid:4076   flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x11d1/0x40e0 kernel/sched/core.c:6562
 schedule+0xb9/0x180 kernel/sched/core.c:6638
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6697
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x562/0xaf0 kernel/locking/mutex.c:747
 __netlink_dump_start+0x11f/0x6f0 net/netlink/af_netlink.c:2305
 netlink_dump_start include/linux/netlink.h:269 [inline]
 rtnetlink_rcv_msg+0xe63/0xfc0 net/core/rtnetlink.c:6113
 netlink_rcv_skb+0x1fb/0x450 net/netlink/af_netlink.c:2511
 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
 netlink_unicast+0x74d/0x8d0 net/netlink/af_netlink.c:1344
 netlink_sendmsg+0x8ad/0xbd0 net/netlink/af_netlink.c:1872
 sock_sendmsg_nosec net/socket.c:718 [inline]
 __sock_sendmsg net/socket.c:730 [inline]
 ____sys_sendmsg+0x5be/0x970 net/socket.c:2518
 ___sys_sendmsg+0x2a2/0x360 net/socket.c:2572
 __sys_sendmsg net/socket.c:2601 [inline]
 __do_sys_sendmsg net/socket.c:2610 [inline]
 __se_sys_sendmsg+0x1bb/0x2a0 net/socket.c:2608
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f3761f9ce59
RSP: 002b:00007f3762f3a028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f3762215fa0 RCX: 00007f3761f9ce59
RDX: 0000000000000000 RSI: 0000200000000080 RDI: 0000000000000003
RBP: 00007f3762032d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3762216038 R14: 00007f3762215fa0 R15: 00007ffc559d69b8
 </TASK>

Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
 #0: ffffffff8cb2e770 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517
1 lock held by rcu_tasks_trace/13:
 #0: ffffffff8cb2ef90 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517
3 locks held by kworker/0:1/14:
 #0: ffff88814d051938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7b0/0x1160 kernel/workqueue.c:2267
 #1: ffffc90000137d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7b0/0x1160 kernel/workqueue.c:2267
 #2: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x15/0x30 net/ipv6/addrconf.c:4672
1 lock held by khungtaskd/27:
 #0: ffffffff8cb2dde0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
 #0: ffffffff8cb2dde0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline]
 #0: ffffffff8cb2dde0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6513
2 locks held by getty/4023:
 #0: ffff888030072098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
 #1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x429/0x1390 drivers/tty/n_tty.c:2198
3 locks held by kworker/1:2/11681:
 #0: ffff888017471938 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x7b0/0x1160 kernel/workqueue.c:2267
 #1: ffffc900047afd00 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x7b0/0x1160 kernel/workqueue.c:2267
 #2: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x8e/0xda0 net/wireless/reg.c:2499
3 locks held by kworker/0:7/13015:
 #0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7b0/0x1160 kernel/workqueue.c:2267
 #1: ffffc90003f57d00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7b0/0x1160 kernel/workqueue.c:2267
 #2: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:104
3 locks held by kworker/1:13/14662:
 #0: ffff88814d051938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7b0/0x1160 kernel/workqueue.c:2267
 #1: ffffc900036efd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7b0/0x1160 kernel/workqueue.c:2267
 #2: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xca/0x14f0 net/ipv6/addrconf.c:4131
4 locks held by kworker/u4:10/24415:
 #0: ffff888017616938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7b0/0x1160 kernel/workqueue.c:2267
 #1: ffffc90003647d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7b0/0x1160 kernel/workqueue.c:2267
 #2: ffffffff8dd3b850 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x148/0xba0 net/core/net_namespace.c:594
 #3: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xee/0xa80 net/core/dev.c:11535
3 locks held by kworker/u4:2/29831:
 #0: ffff888017479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7b0/0x1160 kernel/workqueue.c:2267
 #1: ffffc9000cd6fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7b0/0x1160 kernel/workqueue.c:2267
 #2: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:263
1 lock held by syz-executor/13480:
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x824/0xfc0 net/core/rtnetlink.c:6154
1 lock held by syz.1.11984/13706:
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x5e7/0xe80 net/core/dev_ioctl.c:596
1 lock held by syz.3.11986/13710:
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: __netlink_dump_start+0x11f/0x6f0 net/netlink/af_netlink.c:2305
1 lock held by syz.2.11988/13717:
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x824/0xfc0 net/core/rtnetlink.c:6154
2 locks held by syz.0.11989/13719:
 #0: ffffffff8dd3b850 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x32e/0x5b0 net/core/net_namespace.c:504
 #1: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: register_nexthop_notifier+0x84/0x240 net/ipv4/nexthop.c:3619
1 lock held by syz-executor/13731:
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x824/0xfc0 net/core/rtnetlink.c:6154
1 lock held by syz-executor/13734:
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x824/0xfc0 net/core/rtnetlink.c:6154
1 lock held by syz-executor/13737:
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x824/0xfc0 net/core/rtnetlink.c:6154
1 lock held by syz-executor/13739:
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x824/0xfc0 net/core/rtnetlink.c:6154
1 lock held by syz-executor/13744:
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x824/0xfc0 net/core/rtnetlink.c:6154
1 lock held by syz-executor/13758:
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x824/0xfc0 net/core/rtnetlink.c:6154
1 lock held by syz-executor/13759:
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x824/0xfc0 net/core/rtnetlink.c:6154
1 lock held by syz-executor/13765:
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x824/0xfc0 net/core/rtnetlink.c:6154
1 lock held by syz-executor/13767:
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x824/0xfc0 net/core/rtnetlink.c:6154
1 lock held by syz-executor/13770:
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x824/0xfc0 net/core/rtnetlink.c:6154
1 lock held by syz-executor/13785:
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x824/0xfc0 net/core/rtnetlink.c:6154
1 lock held by syz-executor/13787:
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x824/0xfc0 net/core/rtnetlink.c:6154
1 lock held by syz-executor/13789:
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x824/0xfc0 net/core/rtnetlink.c:6154
1 lock held by syz-executor/13795:
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
 #0: ffffffff8dd48728 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x824/0xfc0 net/core/rtnetlink.c:6154

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

NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106
 nmi_cpu_backtrace+0x3e6/0x460 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x1d4/0x450 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
 watchdog+0xeee/0xf30 kernel/hung_task.c:377
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4497 Comm: kworker/u4:7 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
Workqueue: bat_events batadv_nc_worker
RIP: 0010:hlock_class kernel/locking/lockdep.c:-1 [inline]
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4723 [inline]
RIP: 0010:__lock_acquire+0x559/0x7d10 kernel/locking/lockdep.c:4999
Code: 00 49 8d bd 40 a2 af 90 be 08 00 00 00 e8 bf 3b 6f 00 48 0f a3 1d 77 49 4b 0f 73 1f 48 8d 04 5b c1 e0 06 48 8d 98 00 21 48 90 <48> ba 00 00 00 00 00 fc ff df 4c 8b 7c 24 18 eb 35 48 c7 c0 40 11
RSP: 0018:ffffc9000483f780 EFLAGS: 00000002
RAX: 0000000000051e40 RBX: ffffffff904d3f40 RCX: ffffffff816458c1
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90afa318
RBP: ffffc9000483f9d0 R08: ffffffff90afa31f R09: 1ffffffff215f463
R10: dffffc0000000000 R11: fffffbfff215f464 R12: ffff88802a318000
R13: 00000000000000d8 R14: 0000000000000000 R15: 00000000000006d3
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d581468f70 CR3: 000000000c88e000 CR4: 00000000003506f0
DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <TASK>
 lock_acquire+0x1bb/0x4a0 kernel/locking/lockdep.c:5662
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline]
 _raw_spin_lock_bh+0x32/0x50 kernel/locking/spinlock.c:178
 spin_lock_bh include/linux/spinlock.h:356 [inline]
 batadv_nc_purge_paths+0xe7/0x3b0 net/batman-adv/network-coding.c:442
 batadv_nc_worker+0x365/0x600 net/batman-adv/network-coding.c:722
 process_one_work+0x8a2/0x1160 kernel/workqueue.c:2292
 worker_thread+0xaa2/0x1270 kernel/workqueue.c:2439
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/05/20 16:06 linux-6.1.y c27210688955 62fb93a2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: task hung in switchdev_deferred_process_work
* Struck through repros no longer work on HEAD.