syzbot


INFO: task can't die in lock_mount

Status: closed as dup on 2021/01/18 10:01
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+88a6c9cb23c5d25506d7@syzkaller.appspotmail.com
First crash: 1452d, last: 1111d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
INFO: task hung in lock_mount nilfs C error error 1238 597d 2412d
Discussions (1)
Title Replies (including bot) Last reply
INFO: task can't die in lock_mount 1 (2) 2021/01/18 10:01
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in lock_mount (4) 6 1117d 1231d 0/1 auto-closed as invalid on 2022/03/15 09:18
linux-5.15 INFO: task hung in lock_mount origin:upstream missing-backport C done 1 225d 225d 0/3 upstream: reported C repro on 2024/04/25 09:15
upstream INFO: task hung in lock_mount nilfs C error error 1238 597d 2412d 22/28 fixed on 2023/06/08 14:41
upstream INFO: task can't die in iget5_locked fuse 7 1381d 1405d 20/28 fixed on 2021/04/09 19:46
linux-4.19 INFO: task hung in lock_mount (3) 1 1396d 1396d 0/1 auto-closed as invalid on 2021/06/09 16:09

Sample crash report:
INFO: task syz-executor573:7293 can't die for more than 143 seconds.
task:syz-executor573 state:D stack:27632 pid: 7293 ppid:  6547 flags:0x00004004
Call Trace:
 context_switch kernel/sched/core.c:4955 [inline]
 __schedule+0x940/0x26f0 kernel/sched/core.c:6236
 schedule+0xd3/0x270 kernel/sched/core.c:6315
 rwsem_down_write_slowpath+0x7b9/0x11d0 kernel/locking/rwsem.c:1107
 __down_write_common kernel/locking/rwsem.c:1262 [inline]
 __down_write_common kernel/locking/rwsem.c:1259 [inline]
 __down_write kernel/locking/rwsem.c:1271 [inline]
 down_write+0x137/0x150 kernel/locking/rwsem.c:1518
 inode_lock include/linux/fs.h:786 [inline]
 lock_mount+0x8a/0x2e0 fs/namespace.c:2242
 do_new_mount_fc fs/namespace.c:2931 [inline]
 do_new_mount fs/namespace.c:2990 [inline]
 path_mount+0x14c6/0x1fa0 fs/namespace.c:3318
 do_mount fs/namespace.c:3331 [inline]
 __do_sys_mount fs/namespace.c:3539 [inline]
 __se_sys_mount fs/namespace.c:3516 [inline]
 __x64_sys_mount+0x27f/0x300 fs/namespace.c:3516
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f5f69903519
RSP: 002b:00007f5f698932f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f5f6998c4f0 RCX: 00007f5f69903519
RDX: 0000000020000200 RSI: 0000000020000000 RDI: 0000000000000000
RBP: 00007f5f69959084 R08: 0000000020000600 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e
R13: 6c756e2f7665642f R14: 64663d736e617274 R15: 00007f5f6998c4f8
INFO: task syz-executor573:7687 can't die for more than 143 seconds.
task:syz-executor573 state:D stack:27624 pid: 7687 ppid:  6548 flags:0x00004004
Call Trace:
 context_switch kernel/sched/core.c:4955 [inline]
 __schedule+0x940/0x26f0 kernel/sched/core.c:6236
 schedule+0xd3/0x270 kernel/sched/core.c:6315
 rwsem_down_write_slowpath+0x7b9/0x11d0 kernel/locking/rwsem.c:1107
 __down_write_common kernel/locking/rwsem.c:1262 [inline]
 __down_write_common kernel/locking/rwsem.c:1259 [inline]
 __down_write kernel/locking/rwsem.c:1271 [inline]
 down_write+0x137/0x150 kernel/locking/rwsem.c:1518
 inode_lock include/linux/fs.h:786 [inline]
 lock_mount+0x8a/0x2e0 fs/namespace.c:2242
 do_new_mount_fc fs/namespace.c:2931 [inline]
 do_new_mount fs/namespace.c:2990 [inline]
 path_mount+0x14c6/0x1fa0 fs/namespace.c:3318
 do_mount fs/namespace.c:3331 [inline]
 __do_sys_mount fs/namespace.c:3539 [inline]
 __se_sys_mount fs/namespace.c:3516 [inline]
 __x64_sys_mount+0x27f/0x300 fs/namespace.c:3516
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f5f69903519
RSP: 002b:00007f5f698b42f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f5f6998c4e0 RCX: 00007f5f69903519
RDX: 0000000020000200 RSI: 0000000020000000 RDI: 0000000000000000
RBP: 00007f5f69959084 R08: 0000000020000600 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e
R13: 6c756e2f7665642f R14: 64663d736e617274 R15: 00007f5f6998c4e8

Showing all locks held in the system:
1 lock held by khungtaskd/26:
 #0: ffffffff8b980460 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446
1 lock held by in:imklog/6237:
 #0: ffff88807323d270 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990
1 lock held by syz-executor573/7293:
 #0: ffff88806ba09bf8 (&sb->s_type->i_mutex_key#17){++++}-{3:3}, at: inode_lock include/linux/fs.h:786 [inline]
 #0: ffff88806ba09bf8 (&sb->s_type->i_mutex_key#17){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2242
1 lock held by syz-executor573/7687:
 #0: ffff88806ba09bf8 (&sb->s_type->i_mutex_key#17){++++}-{3:3}, at: inode_lock include/linux/fs.h:786 [inline]
 #0: ffff88806ba09bf8 (&sb->s_type->i_mutex_key#17){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2242
2 locks held by syz-executor573/7743:
 #0: ffff888073224870 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990
 #1: ffff88806ba09bf8 (&sb->s_type->i_mutex_key#17){++++}-{3:3}, at: iterate_dir+0xcd/0x700 fs/readdir.c:55
2 locks held by syz-executor573/7824:
2 locks held by syz-executor573/8046:
3 locks held by syz-executor573/8048:

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


Crashes (75):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/09/18 02:55 linux-next 9004fd387338 70b76c1d .config console log report syz C ci-upstream-linux-next-kasan-gce-root INFO: task can't die in lock_mount
2021/11/21 23:08 linux-next 5191249f8803 4eb20a4e .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in lock_mount
2021/03/03 08:00 linux-next 92f791ebd25b e5b64d68 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in lock_mount
2021/03/02 05:27 linux-next 92f791ebd25b 183afb6c .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in lock_mount
2021/02/06 19:45 linux-next aa2b88209686 0655e081 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in lock_mount
2021/02/04 16:18 linux-next 0e2c50f40b7f 42b90a7c .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in lock_mount
2021/01/30 02:29 linux-next b01f250d83f6 fc9fd31e .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in lock_mount
2021/01/28 07:26 linux-next bc085f8fc88f eefc07f2 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in lock_mount
2021/01/23 15:12 linux-next bc085f8fc88f 52e37319 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in lock_mount
2021/01/20 15:32 linux-next 647060f3b592 d4f4eca5 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in lock_mount
2021/01/20 00:55 linux-next b4bb878f3eb3 63631df1 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in lock_mount
2021/01/20 00:42 linux-next b4bb878f3eb3 63631df1 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in lock_mount
2021/01/19 16:23 linux-next b4bb878f3eb3 63631df1 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in lock_mount
2021/01/18 22:00 linux-next 93bf8b946e5f 63631df1 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task can't die in lock_mount
2021/01/15 16:36 linux-next b3a3cbdec55b 65a7a854 .config console log report info ci-upstream-linux-next-kasan-gce-root
2021/01/13 15:41 linux-next aa515cdce7a1 a945f0a3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2021/01/13 02:53 linux-next df869cab4b35 0cdd6185 .config console log report info ci-upstream-linux-next-kasan-gce-root
2021/01/11 13:22 linux-next ef8b014ee4a1 2c1f2513 .config console log report info ci-upstream-linux-next-kasan-gce-root
2021/01/10 05:42 linux-next 1c925d2030af 2c1f2513 .config console log report info ci-upstream-linux-next-kasan-gce-root
2021/01/09 14:02 linux-next 1c925d2030af a6c52263 .config console log report info ci-upstream-linux-next-kasan-gce-root
2021/01/09 05:03 linux-next 1c925d2030af c104d4a3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2021/01/08 01:25 linux-next 2d3811a4fb23 c104d4a3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2021/01/07 13:18 linux-next 2d3811a4fb23 c104d4a3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2021/01/07 11:43 linux-next 2d3811a4fb23 c104d4a3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2021/01/06 05:00 linux-next 83dadd4cfb0c b1c228e1 .config console log report info ci-upstream-linux-next-kasan-gce-root
2021/01/03 01:51 linux-next d7a03a44a5e9 79264ae3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2021/01/02 20:17 linux-next d7a03a44a5e9 79264ae3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2021/01/01 01:04 linux-next d7a03a44a5e9 79264ae3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2021/01/01 00:55 linux-next d7a03a44a5e9 79264ae3 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/31 00:56 linux-next d7a03a44a5e9 ecb8c012 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/31 00:33 linux-next d7a03a44a5e9 ecb8c012 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/31 00:31 linux-next d7a03a44a5e9 ecb8c012 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/30 11:11 linux-next d7a03a44a5e9 0fa352f2 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/28 08:00 linux-next d7a03a44a5e9 2242f77f .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/27 03:31 linux-next d7a03a44a5e9 821e0b09 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/27 03:07 linux-next d7a03a44a5e9 821e0b09 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/25 20:28 linux-next d7a03a44a5e9 b982b3ea .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/25 18:08 linux-next d7a03a44a5e9 b982b3ea .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/25 17:39 linux-next d7a03a44a5e9 b982b3ea .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/24 18:59 linux-next d7a03a44a5e9 c2c1d1dd .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/24 18:14 linux-next d7a03a44a5e9 c2c1d1dd .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/24 13:12 linux-next d7a03a44a5e9 c2c1d1dd .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/24 11:02 linux-next d7a03a44a5e9 c2c1d1dd .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/23 20:23 linux-next d7a03a44a5e9 c2c1d1dd .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/23 18:56 linux-next d7a03a44a5e9 c2c1d1dd .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/21 09:35 linux-next 4c6ed015c2a5 04201c06 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/19 03:03 linux-next 0d52778b8710 04201c06 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/18 15:04 linux-next 0d52778b8710 04201c06 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/18 14:15 linux-next 0d52778b8710 04201c06 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/17 14:56 linux-next 90cc8cf2d1ab 04201c06 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/17 00:52 linux-next 26aed0ea32c8 04201c06 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/17 00:45 linux-next 26aed0ea32c8 04201c06 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/16 16:22 linux-next 26aed0ea32c8 f213e07e .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/15 19:19 linux-next 9317f948b0b1 97183ed7 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/15 17:47 linux-next 9317f948b0b1 97183ed7 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/15 17:29 linux-next 9317f948b0b1 97183ed7 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/15 17:28 linux-next 9317f948b0b1 97183ed7 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/15 17:28 linux-next 9317f948b0b1 97183ed7 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/15 17:27 linux-next 9317f948b0b1 97183ed7 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/15 17:20 linux-next 9317f948b0b1 97183ed7 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/15 16:18 linux-next 9317f948b0b1 97183ed7 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/15 16:02 linux-next 9317f948b0b1 97183ed7 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/15 15:48 linux-next 9317f948b0b1 97183ed7 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/15 15:34 linux-next 9317f948b0b1 97183ed7 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/15 15:33 linux-next 9317f948b0b1 97183ed7 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/15 15:04 linux-next 9317f948b0b1 97183ed7 .config console log report info ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.