syzbot


INFO: task hung in user_get_super

Status: auto-obsoleted due to no activity on 2024/01/25 03:23
Reported-by: syzbot+6130a0b1739f02c72ae8@syzkaller.appspotmail.com
First crash: 383d, last: 205d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: task hung in user_get_super 2 388d 395d 0/3 auto-obsoleted due to no activity on 2023/08/15 03:00
upstream INFO: task hung in user_get_super (2) fs C 265 19h36m 172d 0/26 upstream: reported C repro on 2023/11/19 11:27
linux-5.15 INFO: task hung in user_get_super (2) 1 40d 40d 0/3 upstream: reported on 2024/03/30 17:00
linux-6.1 INFO: task hung in user_get_super (2) 14 3d21h 171d 0/3 upstream: reported on 2023/11/20 11:19
upstream INFO: task hung in user_get_super fs 1 497d 497d 0/26 auto-obsoleted due to no activity on 2023/04/06 01:17

Sample crash report:
INFO: task syz-executor.0:483 blocked for more than 143 seconds.
      Not tainted 5.15.135-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0  state:D stack:25016 pid:  483 ppid:  9193 flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5026 [inline]
 __schedule+0x12c4/0x45b0 kernel/sched/core.c:6372
 schedule+0x11b/0x1f0 kernel/sched/core.c:6455
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6514
 rwsem_down_read_slowpath+0x605/0xb40 kernel/locking/rwsem.c:1047
 __down_read_common kernel/locking/rwsem.c:1231 [inline]
 __down_read kernel/locking/rwsem.c:1244 [inline]
 down_read+0x9a/0x2e0 kernel/locking/rwsem.c:1490
 user_get_super+0x11a/0x250 fs/super.c:837
 quotactl_block fs/quota/quota.c:889 [inline]
 __do_sys_quotactl fs/quota/quota.c:953 [inline]
 __se_sys_quotactl+0x490/0x770 fs/quota/quota.c:915
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f7c8d5f4ae9
RSP: 002b:00007f7c8bb760c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3
RAX: ffffffffffffffda RBX: 00007f7c8d713f80 RCX: 00007f7c8d5f4ae9
RDX: 000000000000ee01 RSI: 0000000020000000 RDI: ffffffff80000601
RBP: 00007f7c8d64047a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f7c8d713f80 R15: 00007ffeb6d4e488
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/27:
 #0: ffffffff8c91efe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3260:
 #0: ffff88814ae20098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
 #1: ffffc90002bb32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158
3 locks held by kworker/u4:18/4132:
1 lock held by syz-executor.0/9112:
2 locks held by kworker/1:5/411:
 #0: ffff888011c70d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
 #1: ffffc90004cafd20 ((work_completion)(&fw_work->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
1 lock held by syz-executor.0/483:
 #0: ffff88807ddee0e0 (&type->s_umount_key#76){++++}-{3:3}, at: user_get_super+0x11a/0x250 fs/super.c:837
1 lock held by syz-executor.4/2418:

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

NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.135-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
 watchdog+0xe72/0xeb0 kernel/hung_task.c:295
 kthread+0x3f6/0x4f0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 9112 Comm: syz-executor.0 Not tainted 5.15.135-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
RIP: 0010:ntfs_lookup_inode_by_name+0x1754/0x3200 fs/ntfs/dir.c:499
Code: 03 48 bd 00 00 00 00 00 fc ff df 41 0f b6 04 2f 84 c0 48 8b 54 24 10 48 8b 5c 24 50 0f 85 7a 02 00 00 0f b6 1b 48 8b 44 24 28 <80> 3c 28 00 48 8b 6c 24 68 74 0d 48 89 ef e8 c9 d4 2c ff 48 8b 54
RSP: 0018:ffffc90010b9f7c8 EFLAGS: 00000246
RAX: 1ffff1100e79df0f RBX: 0000000000000001 RCX: 0000000000040000
RDX: ffff888072d654d2 RSI: 000000000003ffff RDI: 0000000000040000
RBP: dffffc0000000000 R08: ffffffff82a1efc6 R09: ffffc90010e09000
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100e79df0e
R13: ffff888072d656d0 R14: ffff888072d65480 R15: 1ffff1100e5aca9a
FS:  00007f6df820a6c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f45f591d000 CR3: 0000000024b8d000 CR4: 00000000003506f0
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 check_windows_hibernation_status+0xfc/0x6f0 fs/ntfs/super.c:1274
 load_system_files+0x4041/0x5700 fs/ntfs/super.c:1989
 ntfs_fill_super+0x1c7f/0x2e20 fs/ntfs/super.c:2894
 mount_bdev+0x2c9/0x3f0 fs/super.c:1387
 legacy_get_tree+0xeb/0x180 fs/fs_context.c:611
 vfs_get_tree+0x88/0x270 fs/super.c:1517
 do_new_mount+0x28b/0xae0 fs/namespace.c:2994
 do_mount fs/namespace.c:3337 [inline]
 __do_sys_mount fs/namespace.c:3545 [inline]
 __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3522
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f6df9c8a1ea
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f6df8209ee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f6df8209f80 RCX: 00007f6df9c8a1ea
RDX: 0000000020000040 RSI: 000000002001ee80 RDI: 00007f6df8209f40
RBP: 0000000020000040 R08: 00007f6df8209f80 R09: 0000000001a18800
R10: 0000000001a18800 R11: 0000000000000202 R12: 000000002001ee80
R13: 00007f6df8209f40 R14: 000000000001ee51 R15: 0000000020000140
 </TASK>

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/17 03:22 linux-5.15.y 02e21884dcf2 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in user_get_super
2023/08/17 19:17 linux-5.15.y f6f7927ac664 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in user_get_super
2023/07/21 11:50 linux-5.15.y d54cfc420586 28847498 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in user_get_super
2023/08/26 02:43 linux-5.15.y f6f7927ac664 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in user_get_super
2023/04/24 04:54 linux-5.15.y 3299fb36854f 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in user_get_super
2023/04/22 06:00 linux-5.15.y 3299fb36854f 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in user_get_super
* Struck through repros no longer work on HEAD.