syzbot


INFO: task hung in deactivate_super (2)

Status: upstream: reported on 2023/03/30 01:56
Subsystems: jfs
[Documentation on labels]
Reported-by: syzbot+aa7397130ec6a8c2e2d9@syzkaller.appspotmail.com
First crash: 397d, last: 6d04h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [jfs?] INFO: task hung in deactivate_super (2) 0 (1) 2023/03/30 01:56
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 INFO: task hung in deactivate_super 3 1969d 1986d 0/3 auto-closed as invalid on 2019/02/22 12:34
linux-6.1 INFO: task hung in deactivate_super 4 107d 156d 0/3 auto-obsoleted due to no activity on 2023/11/26 12:17
linux-4.14 INFO: task hung in deactivate_super 1 1679d 1679d 0/1 auto-closed as invalid on 2019/10/25 08:42
upstream INFO: task hung in deactivate_super exfat 36 1790d 1893d 0/25 closed as dup on 2018/10/27 13:17
linux-5.15 INFO: task hung in deactivate_super 4 104d 192d 0/3 auto-obsoleted due to no activity on 2023/11/29 20:11
linux-4.19 INFO: task hung in deactivate_super 4 281d 382d 0/1 upstream: reported on 2022/11/16 10:48

Sample crash report:
INFO: task syz-executor.4:5096 blocked for more than 143 seconds.
      Not tainted 6.7.0-rc3-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:19472 pid:5096  tgid:5096  ppid:1      flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5376 [inline]
 __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688
 __schedule_loop kernel/sched/core.c:6763 [inline]
 schedule+0x149/0x260 kernel/sched/core.c:6778
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835
 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178
 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306
 __super_lock fs/super.c:56 [inline]
 __super_lock_excl fs/super.c:71 [inline]
 deactivate_super+0xad/0xf0 fs/super.c:516
 cleanup_mnt+0x426/0x4c0 fs/namespace.c:1256
 task_work_run+0x24a/0x300 kernel/task_work.c:180
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:171
 exit_to_user_mode_prepare+0xb1/0x150 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
 syscall_exit_to_user_mode+0x69/0x2a0 kernel/entry/common.c:296
 do_syscall_64+0x52/0x110 arch/x86/entry/common.c:88
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f895287de17
RSP: 002b:00007ffc2ed21618 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f895287de17
RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffc2ed216d0
RBP: 00007ffc2ed216d0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffc2ed22790
R13: 00007f89528c73b9 R14: 00000000000c8b65 R15: 0000000000000003
 </TASK>
INFO: task syz-executor.2:19240 blocked for more than 143 seconds.
      Not tainted 6.7.0-rc3-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2  state:D stack:25808 pid:19240 tgid:19237 ppid:5107   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5376 [inline]
 __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688
 __schedule_loop kernel/sched/core.c:6763 [inline]
 schedule+0x149/0x260 kernel/sched/core.c:6778
 jfs_flush_journal+0x72b/0xec0 fs/jfs/jfs_logmgr.c:1564
 jfs_sync_fs+0x80/0xa0 fs/jfs/super.c:684
 iterate_supers+0xc2/0x180 fs/super.c:971
 ksys_sync+0xdb/0x1c0 fs/sync.c:104
 __do_sys_sync+0xe/0x20 fs/sync.c:113
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x45/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fdb8ac7cae9
RSP: 002b:00007fdb8ba940c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2
RAX: ffffffffffffffda RBX: 00007fdb8ad9bf80 RCX: 00007fdb8ac7cae9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fdb8acc847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fdb8ad9bf80 R15: 00007ffc95233308
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/29:
 #0: ffffffff8d92cf60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline]
 #0: ffffffff8d92cf60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline]
 #0: ffffffff8d92cf60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
2 locks held by getty/4813:
 #0: ffff88814b2420a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201
1 lock held by syz-executor.4/5096:
 #0: ffff888019bc40e0 (&type->s_umount_key#86){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
 #0: ffff888019bc40e0 (&type->s_umount_key#86){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
 #0: ffff888019bc40e0 (&type->s_umount_key#86){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:516
3 locks held by kworker/u4:13/9370:
 #0: ffff8880b993c358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558
 #1: ffff8880b9928808 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988
 #2: ffff8880211b8768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5870 [inline]
 #2: ffff8880211b8768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: cfg80211_wiphy_work+0x35/0x250 net/wireless/core.c:422
1 lock held by syz-executor.2/19240:
 #0: ffff888019bc40e0 (&type->s_umount_key#86){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
 #0: ffff888019bc40e0 (&type->s_umount_key#86){++++}-{3:3}, at: super_lock+0x176/0x3a0 fs/super.c:117

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

NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x198/0x310 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+0xfaf/0xff0 kernel/hung_task.c:379
 kthread+0x2d3/0x370 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4492 Comm: syslogd Not tainted 6.7.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
RIP: 0010:get_current arch/x86/include/asm/current.h:41 [inline]
RIP: 0010:write_comp_data kernel/kcov.c:235 [inline]
RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x8/0x80 kernel/kcov.c:311
Code: 00 00 00 48 89 44 0a 10 48 89 74 0a 18 4c 89 44 0a 20 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 f3 0f 1e fa 4c 8b 04 24 <65> 48 8b 0d 70 3a 75 7e 65 8b 05 71 3a 75 7e a9 00 01 ff 00 74 10
RSP: 0018:ffffc9000310f768 EFLAGS: 00000202
RAX: ffffffff8b12120f RBX: 0000000000000002 RCX: ffff88807b550000
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000002
RBP: ffff888048f17442 R08: ffffffff8b121224 R09: 1ffffffff21ba86c
R10: dffffc0000000000 R11: fffffbfff21ba86d R12: ffffc9000310f840
R13: ffff888048f17442 R14: ffffc9000310f858 R15: 1ffff92000621f0b
FS:  00007fd6ebe6e380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c000087000 CR3: 0000000028e06000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 xa_is_internal include/linux/xarray.h:171 [inline]
 xa_is_node include/linux/xarray.h:1260 [inline]
 xas_start+0x304/0x7b0 lib/xarray.c:191
 xas_load+0x2c/0x140 lib/xarray.c:237
 filemap_get_entry+0x1fe/0x4d0 mm/filemap.c:1806
 shmem_get_folio_gfp+0x241/0x1ee0 mm/shmem.c:1964
 shmem_get_folio mm/shmem.c:2119 [inline]
 shmem_write_begin+0x170/0x4c0 mm/shmem.c:2702
 generic_perform_write+0x31b/0x630 mm/filemap.c:3918
 shmem_file_write_iter+0xfc/0x120 mm/shmem.c:2878
 call_write_iter include/linux/fs.h:2020 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x792/0xb20 fs/read_write.c:584
 ksys_write+0x1a0/0x2c0 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x45/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fd6ebfc2bf2
Code: 89 c7 48 89 44 24 08 e8 7b 34 fa ff 48 8b 44 24 08 48 83 c4 28 c3 c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 6f 48 8b 15 07 a2 0d 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffe065af568 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fd6ebfc2bf2
RDX: 000000000000009d RSI: 000055b497f92c50 RDI: 0000000000000003
RBP: 000055b497f92c50 R08: 0000000000000001 R09: 0000000000000000
R10: 00007fd6ec1613a3 R11: 0000000000000246 R12: 000000000000009d
R13: 00007fd6ebe6e300 R14: 0000000000000004 R15: 000055b497f92a60
 </TASK>

Crashes (104):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/27 16:31 upstream 2cc14f52aeb7 7ec6c044 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/11/27 11:53 upstream 2cc14f52aeb7 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/11/21 20:50 upstream 98b1cc82c4af cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/11/21 10:58 upstream 98b1cc82c4af cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/11/07 11:45 upstream be3ca57cfb77 83211397 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/11/07 03:30 upstream be3ca57cfb77 83211397 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/11/04 06:09 upstream 6bdfe2d88b9f 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/11/03 19:17 upstream 8f6f76a6a29f 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/11/03 03:05 upstream 4652b8e4f3ff c4ac074c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/10/28 19:25 upstream 2af9b20dbb39 3c418d72 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/10/26 06:09 upstream 611da07b89fd 72e794c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/10/25 17:24 upstream 4f82870119a4 72e794c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/10/19 21:47 upstream dd72f9c7e512 42e1d524 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/10/17 23:55 upstream 213f891525c2 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in deactivate_super
2023/10/14 04:56 upstream 8cb1f10d8c4b f757a323 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/10/11 18:41 upstream 1c8b86a3799f 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/10/05 09:51 upstream ba7d997a2a29 b7d7ff54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/09/28 02:20 upstream 633b47cb009d 2895a507 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/09/25 09:48 upstream 6465e260f487 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/09/24 22:26 upstream 6465e260f487 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/09/23 12:36 upstream d90b0276af8f 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/09/20 04:06 upstream 2cf0f7156238 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/09/11 11:36 upstream 0bb80ecc33a8 59da8366 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/09/07 14:17 upstream 7ba2090ca64e 72324844 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/09/04 21:12 upstream 708283abf896 db3306a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/08/31 03:17 upstream ef2a0b7cdbc5 84803932 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/08/30 17:45 upstream 6c1b980a7e79 84803932 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/08/29 22:42 upstream f97e18a3f2fb ce731e62 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/08/28 06:35 upstream 2dde18cd1d8f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/08/26 08:53 upstream 382d4cd18475 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/08/26 06:13 upstream 382d4cd18475 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/08/21 23:40 upstream f7757129e3de 6b415825 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/08/16 23:28 upstream 4853c74bd7ab 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/08/15 01:12 upstream 2ccdd1b13c59 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/08/12 19:25 upstream f8de32cc060b 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in deactivate_super
2023/08/05 20:37 upstream 024ff300db33 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/08/01 02:02 upstream 5d0c230f1de8 2a0d0f29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/07/24 18:26 upstream 6eaae1980760 b03242d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/07/20 18:20 upstream 46670259519f f49af159 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/07/20 01:53 upstream bfa3037d8280 4547cdf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/07/19 03:17 upstream 74f1456c4a5f 022df2bb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/07/13 15:11 upstream eb26cbb1a754 86081196 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/07/06 07:19 upstream 6cd06ab12d1a ba5dba36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root INFO: task hung in deactivate_super
2023/07/05 13:41 upstream d528014517f2 80298b6f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/03/26 01:37 upstream 4bdec23f971b fbf0499a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in deactivate_super
2023/03/05 13:41 upstream b01fe98d34f3 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2022/11/01 08:33 upstream b229b6ca5abb a1d8560a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in deactivate_super
2023/09/04 19:20 linux-next a47fc304d2b6 8bc9053e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in deactivate_super
2023/11/13 16:10 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in deactivate_super
2023/11/07 01:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 78fae24e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in deactivate_super
2023/09/26 22:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf6547d8715b 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in deactivate_super
2023/09/13 13:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe4469582053 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in deactivate_super
2023/07/23 20:03 linux-next ae867bc97b71 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in deactivate_super
* Struck through repros no longer work on HEAD.