syzbot


INFO: task hung in filename_create

Status: closed as dup on 2018/09/08 15:39
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+1ae8dbd46c20b9d1a051@syzkaller.appspotmail.com
First crash: 2366d, last: 2080d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
INFO: task hung in __blkdev_get (2) udf 11 2100d 2224d
Similar bugs (13)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in filename_create 6 1787d 1887d 0/1 auto-closed as invalid on 2020/03/17 23:03
upstream INFO: task hung in filename_create (2) fs 11 1771d 1875d 0/28 auto-closed as invalid on 2020/03/04 11:54
android-49 INFO: task hung in filename_create C 44 2236d 2007d 0/3 public: reported C repro on 2019/04/13 00:00
upstream INFO: task hung in filename_create (3) fs 16 1237d 1392d 0/28 auto-closed as invalid on 2021/08/20 18:08
linux-4.19 INFO: task hung in filename_create (3) 3 1064d 1127d 0/1 auto-closed as invalid on 2022/03/11 04:15
android-44 INFO: task hung in filename_create 1 2369d 2369d 0/2 auto-closed as invalid on 2019/02/22 14:19
linux-4.19 INFO: task hung in filename_create (2) 1 1328d 1328d 0/1 auto-closed as invalid on 2021/06/20 16:38
linux-4.14 INFO: task hung in filename_create 2 1760d 1764d 0/1 auto-closed as invalid on 2020/04/14 04:42
linux-4.19 INFO: task hung in filename_create (4) 2 697d 761d 0/1 auto-obsoleted due to no activity on 2023/03/13 04:19
linux-5.15 INFO: task hung in filename_create 41 16h45m 178d 0/3 upstream: reported on 2024/04/15 05:31
android-44 INFO: task hung in filename_create (2) 1 1990d 1990d 0/2 auto-closed as invalid on 2019/10/25 08:49
upstream INFO: task hung in filename_create (4) fs C error error 1872 1h22m 1023d 0/28 upstream: reported C repro on 2021/12/21 22:55
linux-6.1 INFO: task hung in filename_create 6 148d 173d 0/3 auto-obsoleted due to no activity on 2024/08/23 04:31

Sample crash report:
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_1
net_ratelimit: 26 callbacks suppressed
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
INFO: task syz-executor4:25939 blocked for more than 140 seconds.
      Not tainted 5.0.0-rc4+ #50
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor4   D28008 25939   8026 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2844 [inline]
 __schedule+0x897/0x1e60 kernel/sched/core.c:3485
 schedule+0xfe/0x350 kernel/sched/core.c:3529
 __rwsem_down_write_failed_common+0xa4d/0x1620 kernel/locking/rwsem-xadd.c:584
 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:613
 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117
 __down_write arch/x86/include/asm/rwsem.h:142 [inline]
 down_write_nested+0xa9/0x130 kernel/locking/rwsem.c:195
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_1
 inode_lock_nested include/linux/fs.h:792 [inline]
 filename_create+0x1a8/0x5a0 fs/namei.c:3635
 user_path_create fs/namei.c:3693 [inline]
 do_mkdirat+0xcf/0x2f0 fs/namei.c:3831
 __do_sys_mkdir fs/namei.c:3855 [inline]
 __se_sys_mkdir fs/namei.c:3853 [inline]
 __x64_sys_mkdir+0x5c/0x80 fs/namei.c:3853
 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x458089
Code: Bad RIP value.
RSP: 002b:00007f143fb79c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000458089
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000300
RBP: 000000000073c040 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f143fb7a6d4
R13: 00000000004bd807 R14: 00000000004d6d00 R15: 00000000ffffffff

Showing all locks held in the system:
3 locks held by kworker/u4:4/870:
 #0: 00000000c8ad4c7f (&rq->lock){-.-.}, at: idle_balance kernel/sched/fair.c:9933 [inline]
 #0: 00000000c8ad4c7f (&rq->lock){-.-.}, at: pick_next_task_fair+0x13e5/0x1c20 kernel/sched/fair.c:7016
 #1: 000000004d1efd49 (rcu_read_lock){....}, at: __update_idle_core+0xa8/0x5c0 kernel/sched/fair.c:6013
 #2: 00000000c8ad4c7f (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1149 [inline]
 #2: 00000000c8ad4c7f (&rq->lock){-.-.}, at: __schedule+0x21e/0x1e60 kernel/sched/core.c:3423
1 lock held by khungtaskd/1041:
 #0: 000000004d1efd49 (rcu_read_lock){....}, at: debug_show_all_locks+0xc6/0x41d kernel/locking/lockdep.c:4389
1 lock held by rsyslogd/7850:
 #0: 00000000c1c9c6a7 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1b3/0x1f0 fs/file.c:795
2 locks held by getty/7973:
 #0: 00000000c01359d3 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000de8140a2 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154
2 locks held by getty/7974:
 #0: 00000000bdf84a7f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000bc72db8b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154
2 locks held by getty/7975:
 #0: 00000000be28d9eb (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000522f97a4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154
2 locks held by getty/7976:
 #0: 0000000072e11c21 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 0000000037e22d28 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154
2 locks held by getty/7977:
 #0: 000000005132c58e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000e3cd2bc5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154
2 locks held by getty/7978:
 #0: 00000000c715e1f0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 0000000061aad8a1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154
2 locks held by getty/7979:
 #0: 0000000065085a7a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
 #1: 00000000ae629963 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154
2 locks held by syz-executor4/25903:
2 locks held by syz-executor4/25939:
 #0: 0000000064ba5052 (sb_writers#4){.+.+}, at: sb_start_write include/linux/fs.h:1602 [inline]
 #0: 0000000064ba5052 (sb_writers#4){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:357
 #1: 00000000cd436395 (&type->i_mutex_dir_key#3/1){+.+.}, at: inode_lock_nested include/linux/fs.h:792 [inline]
 #1: 00000000cd436395 (&type->i_mutex_dir_key#3/1){+.+.}, at: filename_create+0x1a8/0x5a0 fs/namei.c:3635

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

NMI backtrace for cpu 0
CPU: 0 PID: 1041 Comm: khungtaskd Not tainted 5.0.0-rc4+ #50
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1db/0x2d0 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1be/0x236 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline]
 watchdog+0xbbb/0x1170 kernel/hung_task.c:287
 kthread+0x357/0x430 kernel/kthread.c:246
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1 skipped: idling at native_safe_halt+0x2/0x10 arch/x86/include/asm/irqflags.h:57

Crashes (121):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/01/30 00:04 upstream 4aa9fc2a435a aa432daf .config console log report ci-upstream-kasan-gce-selinux-root
2019/01/17 17:44 upstream 7fbfee7c80de 769e75ed .config console log report ci-upstream-kasan-gce-smack-root
2019/01/17 15:25 upstream 7fbfee7c80de 769e75ed .config console log report ci-upstream-kasan-gce-root
2019/01/16 14:58 upstream 47bfa6d9dc8c d538790b .config console log report ci-upstream-kasan-gce-root
2019/01/09 19:54 upstream a88cc8da0279 45c0c1b1 .config console log report ci-upstream-kasan-gce-selinux-root
2019/01/02 12:29 upstream 8e143b90e4d4 f0491811 .config console log report ci-upstream-kasan-gce-selinux-root
2019/01/01 05:02 upstream f12e840c819b 3d85f48c .config console log report ci-upstream-kasan-gce-root
2018/12/26 14:07 upstream 5694cecdb092 8a41a0ad .config console log report ci-upstream-kasan-gce-smack-root
2018/12/26 11:31 upstream d8924c0d76aa 8a41a0ad .config console log report ci-upstream-kasan-gce-smack-root
2018/12/18 02:38 upstream 1a9430db2835 def91db3 .config console log report ci-upstream-kasan-gce-smack-root
2018/12/09 00:15 upstream 8214bdf7d3e6 c7918378 .config console log report ci-upstream-kasan-gce-smack-root
2018/12/07 20:39 upstream b72f711a4efa 1eb6a7e4 .config console log report ci-upstream-kasan-gce-smack-root
2018/12/01 15:32 upstream d8f190ee836a 5a581673 .config console log report ci-upstream-kasan-gce-smack-root
2018/11/30 14:57 upstream 94f371cb7394 ade12e91 .config console log report ci-upstream-kasan-gce-root
2018/11/28 16:09 upstream ef78e5ec9214 4b6d14f2 .config console log report ci-upstream-kasan-gce-smack-root
2018/11/28 03:35 upstream ef78e5ec9214 4b6d14f2 .config console log report ci-upstream-kasan-gce-smack-root
2018/11/22 20:16 upstream edeca3a769ad 87815d9d .config console log report ci-upstream-kasan-gce-smack-root
2018/11/12 14:07 upstream ccda4af0f4b9 7b5f8621 .config console log report ci-upstream-kasan-gce-root
2018/11/03 20:51 upstream d2ff0ff2c23f 8bd6bd63 .config console log report ci-upstream-kasan-gce-smack-root
2018/10/29 07:01 upstream dad4f140edaa 9ca2afa1 .config console log report ci-upstream-kasan-gce-root
2018/10/29 02:42 upstream dad4f140edaa 9ca2afa1 .config console log report ci-upstream-kasan-gce-root
2018/10/25 22:18 upstream bd6bf7c10484 a8292de9 .config console log report ci-upstream-kasan-gce-selinux-root
2018/10/18 23:21 upstream fa520c47eaa1 9aba67b5 .config console log report ci-upstream-kasan-gce-root
2018/10/17 07:01 upstream b955a910d7fd 1ba7fd7e .config console log report ci-upstream-kasan-gce-smack-root
2018/10/16 21:40 upstream b955a910d7fd 1ba7fd7e .config console log report ci-upstream-kasan-gce-smack-root
2018/10/15 01:50 upstream 3a27203102eb caf12900 .config console log report ci-upstream-kasan-gce-root
2018/10/13 06:57 upstream bab5c80b2110 caf12900 .config console log report ci-upstream-kasan-gce-root
2018/10/08 18:08 upstream 0854ba5ff5c9 8b311eaf .config console log report ci-upstream-kasan-gce-root
2018/10/08 11:47 upstream 0238df646e62 8b311eaf .config console log report ci-upstream-kasan-gce-smack-root
2018/10/06 23:12 upstream c1d84a1b42ef 8b311eaf .config console log report ci-upstream-kasan-gce-smack-root
2018/10/04 03:40 upstream cec4de302c5f 8b311eaf .config console log report ci-upstream-kasan-gce-selinux-root
2018/09/29 00:52 upstream ad0371482b1e 137d7c66 .config console log report ci-upstream-kasan-gce-selinux-root
2018/09/25 14:44 upstream 2dd68cc7fd8c 0e7547d7 .config console log report ci-upstream-kasan-gce-smack-root
2018/07/30 22:55 upstream acb1872577b3 1a381291 .config console log report ci-upstream-kasan-gce
2018/04/19 03:12 upstream 87ef12027b9b 829f0234 .config console log report ci-upstream-kasan-gce-root
2018/07/30 00:20 upstream 3cfb6772d4cf 1a381291 .config console log report ci-upstream-kasan-gce-386
2019/01/17 02:50 linux-next cbeb3db684f7 c2faf9b2 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/13 15:02 linux-next b808822a75a3 c3f3344c .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/11 00:45 linux-next 6cab33afc3dd 80dde172 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 02:49 linux-next a85b6b4f6416 69d69aa9 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/01 01:42 linux-next 6a1d293238c1 3d85f48c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/12/08 12:40 linux-next 74c4a24df7ca 60562a1d .config console log report ci-upstream-linux-next-kasan-gce-root
2018/12/02 04:18 linux-next 442b8cea2477 5a581673 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/11/14 22:28 linux-next 442b8cea2477 5f5f6d14 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/10/26 15:05 linux-next 8c60c36d0b8c a8292de9 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/10/20 23:51 linux-next 8c60c36d0b8c ecb386fe .config console log report ci-upstream-linux-next-kasan-gce-root
2018/10/10 22:20 linux-next 7f3049305d22 5f818b4b .config console log report ci-upstream-linux-next-kasan-gce-root
2018/07/20 16:40 https://github.com/google/kmsan.git master cf8cd3cd03e2 49f35839 .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.