syzbot


INFO: task hung in iterate_supers

Status: upstream: reported on 2025/06/20 00:37
Reported-by: syzbot+739c128b5557abb9f816@syzkaller.appspotmail.com
First crash: 70d, last: 11h35m
Similar bugs (13)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-12 INFO: task hung in iterate_supers origin:upstream 1 C 346 6h51m 69d 0/1 premoderation: reported C repro on 2025/06/21 16:44
android-414 INFO: task hung in iterate_supers 1 1 2495d 2333d 0/1 auto-closed as invalid on 2019/04/28 09:45
linux-4.14 INFO: task hung in iterate_supers 1 16 1703d 2318d 0/1 auto-closed as invalid on 2021/04/29 12:11
linux-4.19 INFO: task hung in iterate_supers (2) 1 1 1905d 1905d 0/1 auto-closed as invalid on 2020/10/09 12:15
upstream INFO: task hung in iterate_supers 9p 1 C error 5804 31d 2607d 0/29 upstream: reported C repro on 2018/07/10 10:30
linux-5.15 INFO: task hung in iterate_supers origin:lts-only 1 C 329 2d03h 905d 0/3 upstream: reported C repro on 2023/03/08 18:22
linux-6.1 INFO: task hung in iterate_supers origin:upstream 1 C 304 1d13h 902d 0/3 upstream: reported C repro on 2023/03/10 21:24
linux-4.14 INFO: task hung in iterate_supers (2) 1 1 917d 917d 0/1 upstream: reported on 2023/02/24 15:59
linux-4.19 INFO: task hung in iterate_supers 1 7 2037d 2225d 0/1 auto-closed as invalid on 2020/05/29 21:42
linux-4.19 INFO: task hung in iterate_supers (3) vfs reiserfs ntfs 1 syz 378 907d 1713d 0/1 upstream: reported syz repro on 2020/12/20 03:38
android-49 INFO: task hung in iterate_supers 1 19 2557d 2657d 0/3 auto-closed as invalid on 2019/02/25 14:49
android-414 INFO: task hung in iterate_supers (2) 1 1 2314d 2314d 0/1 auto-closed as invalid on 2019/10/25 08:49
upstream INFO: task can't die in iterate_supers (2) ceph fs 1 1 1537d 1533d 0/29 auto-closed as invalid on 2021/08/13 03:51

Sample crash report:
INFO: task syz.3.1633:11036 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.1633      state:D stack:28784 pid:11036 ppid:5788   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5380 [inline]
 __schedule+0x14d2/0x44d0 kernel/sched/core.c:6699
 schedule+0xbd/0x170 kernel/sched/core.c:6773
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6832
 rwsem_down_read_slowpath+0x4f8/0x840 kernel/locking/rwsem.c:1086
 __down_read_common kernel/locking/rwsem.c:1250 [inline]
 __down_read kernel/locking/rwsem.c:1263 [inline]
 down_read+0x98/0x2e0 kernel/locking/rwsem.c:1522
 __super_lock fs/super.c:58 [inline]
 super_lock+0x167/0x360 fs/super.c:117
 super_lock_shared fs/super.c:146 [inline]
 iterate_supers+0x80/0x170 fs/super.c:977
 ksys_sync+0x95/0x150 fs/sync.c:102
 __ia32_sys_sync+0xe/0x20 fs/sync.c:113
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f6461b8ebe9
RSP: 002b:00007f6462a2c038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2
RAX: ffffffffffffffda RBX: 00007f6461db5fa0 RCX: 00007f6461b8ebe9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f6461db5fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6461db6038 R14: 00007f6461db5fa0 R15: 00007ffec3188588
 </TASK>
INFO: task syz.3.1633:11037 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.1633      state:D stack:28760 pid:11037 ppid:5788   flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5380 [inline]
 __schedule+0x14d2/0x44d0 kernel/sched/core.c:6699
 schedule+0xbd/0x170 kernel/sched/core.c:6773
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6832
 rwsem_down_read_slowpath+0x4f8/0x840 kernel/locking/rwsem.c:1086
 __down_read_common kernel/locking/rwsem.c:1250 [inline]
 __down_read kernel/locking/rwsem.c:1263 [inline]
 down_read+0x98/0x2e0 kernel/locking/rwsem.c:1522
 __super_lock fs/super.c:58 [inline]
 super_lock+0x167/0x360 fs/super.c:117
 super_lock_shared fs/super.c:146 [inline]
 iterate_supers+0x80/0x170 fs/super.c:977
 ksys_sync+0x95/0x150 fs/sync.c:102
 __ia32_sys_sync+0xe/0x20 fs/sync.c:113
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f6461b8ebe9
RSP: 002b:00007f6462a0b038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2
RAX: ffffffffffffffda RBX: 00007f6461db6090 RCX: 00007f6461b8ebe9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f6461db6090 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6461db6128 R14: 00007f6461db6090 R15: 00007ffec3188588
 </TASK>

Showing all locks held in the system:
3 locks held by kworker/1:0/23:
 #0: ffff8880b8f3c458 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558
 #1: ffff8880b8f289c0 (psi_seq){-.-.}-{0:0}, at: psi_sched_switch kernel/sched/stats.h:189 [inline]
 #1: ffff8880b8f289c0 (psi_seq){-.-.}-{0:0}, at: __schedule+0x20ee/0x44d0 kernel/sched/core.c:6694
 #2: ffffffff97166c40 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:979 [inline]
 #2: ffffffff97166c40 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0x13a/0x540 lib/debugobjects.c:1020
2 locks held by kworker/1:1/27:
 #0: ffff888017872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline]
 #0: ffff888017872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711
 #1: ffffc90000a2fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline]
 #1: ffffc90000a2fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711
1 lock held by khungtaskd/29:
 #0: ffffffff8cd2fbe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
 #0: ffffffff8cd2fbe0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
 #0: ffffffff8cd2fbe0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633
2 locks held by kworker/u4:9/1147:
3 locks held by kworker/u4:10/2930:
 #0: ffff888017871538 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline]
 #0: ffff888017871538 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711
 #1: ffffc9000c217d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline]
 #1: ffffc9000c217d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711
 #2: ffffffff8dfbc348 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:286
2 locks held by dhcpcd/5456:
 #0: ffff8880269f2688 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: netlink_dump+0xcc/0xde0 net/netlink/af_netlink.c:2200
 #1: ffffffff8dfbc348 (rtnl_mutex){+.+.}-{3:3}, at: netlink_dump+0x71f/0xde0 net/netlink/af_netlink.c:2263
2 locks held by getty/5547:
 #0: ffff8880312220a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc9000326e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x425/0x1380 drivers/tty/n_tty.c:2217
1 lock held by syz-executor/5789:
 #0: ffff8880259c40e0 (&type->s_umount_key#53){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
 #0: ffff8880259c40e0 (&type->s_umount_key#53){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
 #0: ffff8880259c40e0 (&type->s_umount_key#53){++++}-{3:3}, at: deactivate_super+0xa4/0xe0 fs/super.c:513
2 locks held by kworker/0:5/5900:
 #0: ffff888017870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline]
 #0: ffff888017870938 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711
 #1: ffffc90004b3fd00 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline]
 #1: ffffc90004b3fd00 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711
4 locks held by kworker/u4:17/7153:
 #0: ffff888017873938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline]
 #0: ffff888017873938 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711
 #1: ffffc90004e8fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline]
 #1: ffffc90004e8fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711
 #2: ffffffff8dfaf510 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x136/0xb90 net/core/net_namespace.c:606
 #3: ffff888030bd13e8 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_destruct+0x116/0x310 drivers/net/wireguard/device.c:250
1 lock held by syz.3.1633/11036:
 #0: ffff8880259c40e0 (&type->s_umount_key#53){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
 #0: ffff8880259c40e0 (&type->s_umount_key#53){++++}-{3:3}, at: super_lock+0x167/0x360 fs/super.c:117
1 lock held by syz.3.1633/11037:
 #0: ffff8880259c40e0 (&type->s_umount_key#53){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
 #0: ffff8880259c40e0 (&type->s_umount_key#53){++++}-{3:3}, at: super_lock+0x167/0x360 fs/super.c:117
4 locks held by syz-executor/12648:
 #0: ffff88807ac04e70 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:521 [inline]
 #0: ffff88807ac04e70 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x212/0x510 net/bluetooth/hci_core.c:2709
 #1: ffff88807ac040b8 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x4c9/0xfb0 net/bluetooth/hci_sync.c:5259
 #2: ffffffff8e129a48 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1982 [inline]
 #2: ffffffff8e129a48 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa1/0x220 net/bluetooth/hci_conn.c:2540
 #3: ffff888021149338 (&conn->lock#2){+.+.}-{3:3}, at: l2cap_conn_del+0x70/0x660 net/bluetooth/l2cap_core.c:1762
3 locks held by syz.4.2246/12851:
 #0: ffff88807c9e0e70 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:521 [inline]
 #0: ffff88807c9e0e70 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x212/0x510 net/bluetooth/hci_core.c:2709
 #1: ffff88807c9e00b8 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x4c9/0xfb0 net/bluetooth/hci_sync.c:5259
 #2: ffffffff8cd35bb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline]
 #2: ffffffff8cd35bb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x360/0x830 kernel/rcu/tree_exp.h:1004
3 locks held by syz-executor/12907:
 #0: ffff88802c184e70 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:521 [inline]
 #0: ffff88802c184e70 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x212/0x510 net/bluetooth/hci_core.c:2709
 #1: ffff88802c1840b8 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x4c9/0xfb0 net/bluetooth/hci_sync.c:5259
 #2: ffffffff8e129a48 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1982 [inline]
 #2: ffffffff8e129a48 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa1/0x220 net/bluetooth/hci_conn.c:2540
2 locks held by syz.5.2344/13181:
 #0: ffffffff8dfbc348 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline]
 #0: ffffffff8dfbc348 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x41/0x1c0 drivers/net/tun.c:3511
 #1: ffffffff8cd35bb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline]
 #1: ffffffff8cd35bb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x360/0x830 kernel/rcu/tree_exp.h:1004

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

NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
 <TASK>
 dump_stack_lvl+0x16c/0x230 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x39b/0x3d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x17a/0x2f0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
 watchdog+0xf41/0xf80 kernel/hung_task.c:379
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 1147 Comm: kworker/u4:9 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Workqueue: events_unbound cfg80211_wiphy_work
RIP: 0010:ieee80211_inform_bss+0x522/0x1060 net/mac80211/scan.c:122
Code: 00 00 74 08 4c 89 e7 e8 fc 8a fb f7 49 8b 34 24 48 89 df 4c 89 fa e8 9d 8d fb f7 eb 08 e8 a6 44 a4 f7 45 31 ff 48 8b 44 24 20 <4c> 8d 60 68 4d 89 e5 49 c1 ed 03 48 b8 00 00 00 00 00 fc ff df 41
RSP: 0018:ffffc90004d1f280 EFLAGS: 00000246
RAX: ffff88805fdb9800 RBX: ffff88807620fcd2 RCX: ffffffff89e14af3
RDX: 0000000000000008 RSI: ffff8880309bf6a7 RDI: ffff88807620fcd2
RBP: ffffc90004d1f3b0 R08: 2418120c968b8482 R09: 2418120c968b8482
R10: dffffc0000000000 R11: ffffed100ec41f9c R12: ffff88805fdb9838
R13: 1ffff1100bfb7307 R14: ffff88805fdb9a12 R15: 0000000000000008
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffffd CR3: 000000000cb30000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 rdev_inform_bss+0x106/0x410 net/wireless/rdev-ops.h:418
 cfg80211_inform_single_bss_frame_data net/wireless/scan.c:2985 [inline]
 cfg80211_inform_bss_frame_data+0xb33/0x12b0 net/wireless/scan.c:3012
 ieee80211_bss_info_update+0x70b/0x930 net/mac80211/scan.c:211
 ieee80211_rx_bss_info net/mac80211/ibss.c:1124 [inline]
 ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1613 [inline]
 ieee80211_ibss_rx_queued_mgmt+0x17c9/0x2ac0 net/mac80211/ibss.c:1642
 ieee80211_iface_process_skb net/mac80211/iface.c:1643 [inline]
 ieee80211_iface_work+0x717/0xc70 net/mac80211/iface.c:1697
 cfg80211_wiphy_work+0x225/0x260 net/wireless/core.c:437
 process_one_work kernel/workqueue.c:2634 [inline]
 process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711
 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/29 08:31 linux-6.6.y cc1a1c5b404a d401b9d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in iterate_supers
2025/08/29 08:26 linux-6.6.y cc1a1c5b404a d401b9d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in iterate_supers
2025/08/24 20:47 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in iterate_supers
2025/08/11 23:11 linux-6.6.y 3a8ababb8b6a c06e8995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in iterate_supers
2025/08/10 02:06 linux-6.6.y 3a8ababb8b6a 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in iterate_supers
2025/07/28 13:31 linux-6.6.y dbcb8d8e4163 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in iterate_supers
2025/07/12 09:46 linux-6.6.y 59a2de10b81a 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in iterate_supers
2025/07/09 01:03 linux-6.6.y a5df3a702b2c 4d9fdfa4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in iterate_supers
2025/06/20 00:37 linux-6.6.y 6282921b6825 ed3e87f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in iterate_supers
* Struck through repros no longer work on HEAD.