syzbot


INFO: task hung in bdi_unregister

Status: auto-closed as invalid on 2020/01/20 12:16
Subsystems: mm
[Documentation on labels]
First crash: 1721d, last: 1645d

Sample crash report:
INFO: task syz-executor.5:10389 blocked for more than 143 seconds.
      Not tainted 5.4.0-rc4+ #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D24320 10389      1 0x00004004
Call Trace:
 context_switch kernel/sched/core.c:3384 [inline]
 __schedule+0x94f/0x1e70 kernel/sched/core.c:4069
 schedule+0xd9/0x260 kernel/sched/core.c:4136
 exp_funnel_lock kernel/rcu/tree_exp.h:308 [inline]
 synchronize_rcu_expedited+0x57f/0x5f0 kernel/rcu/tree_exp.h:817
 bdi_remove_from_list mm/backing-dev.c:1004 [inline]
 bdi_unregister+0x191/0x610 mm/backing-dev.c:1010
 release_bdi mm/backing-dev.c:1032 [inline]
 kref_put include/linux/kref.h:65 [inline]
 bdi_put+0x164/0x1a0 mm/backing-dev.c:1041
 generic_shutdown_super+0x2b0/0x370 fs/super.c:476
 kill_anon_super+0x3e/0x60 fs/super.c:1106
 fuse_kill_sb_anon+0x1e/0x30 fs/fuse/inode.c:1337
 deactivate_locked_super+0x95/0x100 fs/super.c:335
 deactivate_super fs/super.c:366 [inline]
 deactivate_super+0x1b2/0x1d0 fs/super.c:362
 cleanup_mnt+0x351/0x4c0 fs/namespace.c:1102
 __cleanup_mnt+0x16/0x20 fs/namespace.c:1109
 task_work_run+0x145/0x1c0 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_usermode_loop+0x316/0x380 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:274 [inline]
 do_syscall_64+0x65f/0x760 arch/x86/entry/common.c:300
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45c707
Code: Bad RIP value.
RSP: 002b:00007ffdd513e438 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000048739 RCX: 000000000045c707
RDX: 00000000004039a0 RSI: 0000000000000002 RDI: 00007ffdd513e4e0
RBP: 0000000000000155 R08: 0000000000000000 R09: 000000000000000b
R10: 0000000000000005 R11: 0000000000000206 R12: 00007ffdd513f570
R13: 0000000000be1940 R14: 0000000000000000 R15: 00007ffdd513f570

Showing all locks held in the system:
1 lock held by khungtaskd/1069:
 #0: ffffffff88fab040 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5337
2 locks held by rsyslogd/8675:
 #0: ffff8880a908d3e0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801
 #1: ffff8880ae834d18 (&rq->lock){-.-.}, at: prepare_to_wait_event+0x5d/0x730 kernel/sched/wait.c:263
2 locks held by getty/8766:
 #0: ffff8880a9a6b090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340
 #1: ffffc90005f212e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156
2 locks held by getty/8767:
 #0: ffff88809552f090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340
 #1: ffffc90005f252e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156
2 locks held by getty/8768:
 #0: ffff8880a4c79090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340
 #1: ffffc90005f152e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156
2 locks held by getty/8769:
 #0: ffff88809002b090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340
 #1: ffffc90005f092e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156
2 locks held by getty/8770:
 #0: ffff88809296d090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340
 #1: ffffc90005f2d2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156
2 locks held by getty/8771:
 #0: ffff88809fdaf090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340
 #1: ffffc90005f312e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156
2 locks held by getty/8772:
 #0: ffff88809002c090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340
 #1: ffffc90005ef92e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156

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

NMI backtrace for cpu 1
CPU: 1 PID: 1069 Comm: khungtaskd Not tainted 5.4.0-rc4+ #0
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+0x172/0x1f0 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold+0x70/0xb2 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x23b/0x28b 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:205 [inline]
 watchdog+0x9d0/0xef0 kernel/hung_task.c:289
 kthread+0x361/0x430 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0 skipped: idling at native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:60

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/10/22 12:08 upstream 3b7c59a1950c c59a7cd8 .config console log report ci-upstream-kasan-gce-root
2019/08/28 09:28 upstream 6525771f58cb fd37b39e .config console log report ci-upstream-kasan-gce
2019/08/20 22:54 upstream 5f97cbe22b76 cfc9868f .config console log report ci-upstream-kasan-gce
2019/09/20 12:29 upstream 574cc4539762 d96e88f3 .config console log report ci-upstream-kasan-gce-386
2019/08/07 20:36 upstream 33920f1ec5bf e6ebef88 .config console log report ci-upstream-kasan-gce-386
* Struck through repros no longer work on HEAD.