syzbot


INFO: task hung in path_mount (3)

Status: auto-obsoleted due to no activity on 2024/06/01 10:11
Subsystems: jfs
[Documentation on labels]
First crash: 455d, last: 455d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in path_mount (2) jfs C error done 8 523d 652d 25/28 fixed on 2024/01/30 23:26
upstream INFO: task hung in path_mount arm reiserfs 2 778d 870d 0/28 auto-obsoleted due to no activity on 2023/07/13 21:53

Sample crash report:
INFO: task syz-executor.0:25293 blocked for more than 143 seconds.
      Not tainted 6.8.0-rc6-syzkaller-00250-g04b8076df253 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0  state:D stack:27608 pid:25293 tgid:25264 ppid:8035   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5400 [inline]
 __schedule+0x177f/0x49a0 kernel/sched/core.c:6727
 __schedule_loop kernel/sched/core.c:6802 [inline]
 schedule+0x149/0x260 kernel/sched/core.c:6817
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874
 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178
 __down_write_common+0x1ae/0x200 kernel/locking/rwsem.c:1306
 do_remount fs/namespace.c:2889 [inline]
 path_mount+0xbe1/0xfa0 fs/namespace.c:3671
 do_mount fs/namespace.c:3692 [inline]
 __do_sys_mount fs/namespace.c:3898 [inline]
 __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3875
 do_syscall_64+0xf9/0x240
 entry_SYSCALL_64_after_hwframe+0x6f/0x77
RIP: 0033:0x7ffbb4e7f4aa
RSP: 002b:00007ffbb5c64ef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffbb5c64f80 RCX: 00007ffbb4e7f4aa
RDX: 0000000020000180 RSI: 0000000020000100 RDI: 0000000000000000
RBP: 0000000020000180 R08: 00007ffbb5c64f80 R09: 0000000001a404ac
R10: 0000000001a404ac R11: 0000000000000202 R12: 0000000020000100
R13: 00007ffbb5c64f40 R14: 0000000000000000 R15: 0000000020000980
 </TASK>
INFO: task syz-executor.3:25290 blocked for more than 143 seconds.
      Not tainted 6.8.0-rc6-syzkaller-00250-g04b8076df253 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:25528 pid:25290 tgid:25289 ppid:24832  flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5400 [inline]
 __schedule+0x177f/0x49a0 kernel/sched/core.c:6727
 __schedule_loop kernel/sched/core.c:6802 [inline]
 schedule+0x149/0x260 kernel/sched/core.c:6817
 jfs_flush_journal+0x72b/0xec0 fs/jfs/jfs_logmgr.c:1564
 jfs_sync_fs+0x80/0xa0 fs/jfs/super.c:684
 dquot_quota_sync+0xdc/0x4a0 fs/quota/dquot.c:753
 iterate_supers+0xc6/0x190 fs/super.c:922
 quota_sync_all fs/quota/quota.c:69 [inline]
 __do_sys_quotactl fs/quota/quota.c:938 [inline]
 __se_sys_quotactl+0x391/0xa30 fs/quota/quota.c:917
 do_syscall_64+0xf9/0x240
 entry_SYSCALL_64_after_hwframe+0x6f/0x77
RIP: 0033:0x7f496b27dda9
RSP: 002b:00007f496c00c0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3
RAX: ffffffffffffffda RBX: 00007f496b3abf80 RCX: 00007f496b27dda9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff80000100
RBP: 00007f496b2ca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000012000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f496b3abf80 R15: 00007fff98b6d718
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/29:
 #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
 #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
 #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
2 locks held by getty/4814:
 #0: ffff88802a4f40a0 (&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.0/25293:
 #0: ffff88801f2220e0 (&type->s_umount_key#82){++++}-{3:3}, at: do_remount fs/namespace.c:2889 [inline]
 #0: ffff88801f2220e0 (&type->s_umount_key#82){++++}-{3:3}, at: path_mount+0xbe1/0xfa0 fs/namespace.c:3671
1 lock held by syz-executor.3/25290:
 #0: ffff88801f2220e0 (&type->s_umount_key#82){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
 #0: ffff88801f2220e0 (&type->s_umount_key#82){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz-executor.3/25580:
 #0: ffff88801f2220e0 (&type->s_umount_key#82){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
 #0: ffff88801f2220e0 (&type->s_umount_key#82){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz-executor.0/25609:
 #0: ffff88801f2220e0 (&type->s_umount_key#82){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
 #0: ffff88801f2220e0 (&type->s_umount_key#82){++++}-{3:3}, at: super_lock+0x196/0x400 fs/super.c:120
1 lock held by syz-executor.3/25886:
 #0: ffff88801f2220e0 (&type->s_umount_key#82){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
 #0: ffff88801f2220e0 (&type->s_umount_key#82){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz-executor.0/25905:
 #0: ffff88801f2220e0 (&type->s_umount_key#82){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
 #0: ffff88801f2220e0 (&type->s_umount_key#82){++++}-{3:3}, at: super_lock+0x196/0x400 fs/super.c:120
1 lock held by syz-executor.4/26256:
 #0: ffff88801f2220e0 (&type->s_umount_key#82){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
 #0: ffff88801f2220e0 (&type->s_umount_key#82){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz-executor.3/26259:
 #0: ffff88801f2220e0 (&type->s_umount_key#82){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
 #0: ffff88801f2220e0 (&type->s_umount_key#82){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz-executor.0/26276:
 #0: ffff88801f2220e0 (&type->s_umount_key#82){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
 #0: ffff88801f2220e0 (&type->s_umount_key#82){++++}-{3:3}, at: super_lock+0x196/0x400 fs/super.c:120

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

NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc6-syzkaller-00250-g04b8076df253 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x198/0x320 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+0x2ef/0x390 kernel/kthread.c:388
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 24434 Comm: kworker/u4:17 Not tainted 6.8.0-rc6-syzkaller-00250-g04b8076df253 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet
RIP: 0010:kasan_check_range+0x1b8/0x290 mm/kasan/generic.c:189
Code: 4d 01 fb 48 8d 5d 07 48 85 ed 48 0f 49 dd 48 83 e3 f8 48 29 dd 74 12 41 80 3b 00 0f 85 a6 00 00 00 49 ff c3 48 ff cd 75 ee 5b <41> 5c 41 5e 41 5f 5d c3 cc cc cc cc 40 84 ed 75 5f f7 c5 00 ff 00
RSP: 0018:ffffc90009297898 EFLAGS: 00000256
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81713c90
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8f844068
RBP: 0000000000000000 R08: ffffffff8f84406f R09: 1ffffffff1f0880d
R10: dffffc0000000000 R11: fffffbfff1f0880e R12: 1ffff92001252f24
R13: ffffffff8b2608de R14: dffffc0000000001 R15: fffffbfff1f0880e
FS:  0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7c44f7c038 CR3: 000000002d0e2000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 instrument_atomic_read include/linux/instrumented.h:68 [inline]
 _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
 cpumask_test_cpu include/linux/cpumask.h:504 [inline]
 cpu_online include/linux/cpumask.h:1104 [inline]
 trace_lock_release include/trace/events/lock.h:69 [inline]
 lock_release+0xb0/0x9d0 kernel/locking/lockdep.c:5765
 rcu_lock_release include/linux/rcupdate.h:308 [inline]
 rcu_read_unlock include/linux/rcupdate.h:783 [inline]
 batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:771 [inline]
 batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:825 [inline]
 batadv_iv_ogm_schedule+0x6f8/0x1090 net/batman-adv/bat_iv_ogm.c:868
 batadv_iv_send_outstanding_bat_ogm_packet+0x6fe/0x810 net/batman-adv/bat_iv_ogm.c:1712
 process_one_work kernel/workqueue.c:2633 [inline]
 process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706
 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787
 kthread+0x2ef/0x390 kernel/kthread.c:388
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/03 10:00 upstream 04b8076df253 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in path_mount
* Struck through repros no longer work on HEAD.