syzbot


INFO: task hung in do_splice

Status: auto-closed as invalid on 2019/06/12 23:02
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+53904d031b5951a29c81@syzkaller.appspotmail.com
First crash: 2001d, last: 1931d

Sample crash report:
INFO: task syz-executor1:10334 blocked for more than 140 seconds.
bridge: RTM_NEWNEIGH bridge0 with NTF_USE is not supported
      Not tainted 4.20.0-rc6+ #373
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
bridge: RTM_NEWNEIGH bridge0 with NTF_USE is not supported
syz-executor1   D25208 10334   6083 0x00000000
Call Trace:
 context_switch kernel/sched/core.c:2831 [inline]
 __schedule+0x8cf/0x21d0 kernel/sched/core.c:3472
 schedule+0xfe/0x460 kernel/sched/core.c:3516
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3574
 __mutex_lock_common kernel/locking/mutex.c:1002 [inline]
 __mutex_lock+0xaff/0x16f0 kernel/locking/mutex.c:1072
 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087
 pipe_lock_nested fs/pipe.c:62 [inline]
 pipe_lock+0x6e/0x80 fs/pipe.c:70
 do_splice+0xe79/0x1430 fs/splice.c:1175
 __do_sys_splice fs/splice.c:1419 [inline]
 __se_sys_splice fs/splice.c:1399 [inline]
 __x64_sys_splice+0x2c1/0x330 fs/splice.c:1399
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457659
Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f880a056c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113
RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000457659
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005
RBP: 000000000072bf00 R08: 000000000000ced1 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f880a0576d4
R13: 00000000004c5aac R14: 00000000004d9740 R15: 00000000ffffffff
INFO: task syz-executor1:10355 blocked for more than 140 seconds.
      Not tainted 4.20.0-rc6+ #373
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor1   D25208 10355   6083 0x00000000
Call Trace:
 context_switch kernel/sched/core.c:2831 [inline]
 __schedule+0x8cf/0x21d0 kernel/sched/core.c:3472
 schedule+0xfe/0x460 kernel/sched/core.c:3516
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3574
 __mutex_lock_common kernel/locking/mutex.c:1002 [inline]
 __mutex_lock+0xaff/0x16f0 kernel/locking/mutex.c:1072
 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087
 pipe_lock_nested fs/pipe.c:62 [inline]
 pipe_lock+0x6e/0x80 fs/pipe.c:70
 do_splice+0xe79/0x1430 fs/splice.c:1175
 __do_sys_splice fs/splice.c:1419 [inline]
 __se_sys_splice fs/splice.c:1399 [inline]
 __x64_sys_splice+0x2c1/0x330 fs/splice.c:1399
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457659
Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f880a056c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113
RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000457659
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005
RBP: 000000000072bf00 R08: 000000000000ced1 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f880a0576d4
R13: 00000000004c5aac R14: 00000000004d9740 R15: 00000000ffffffff

Showing all locks held in the system:
1 lock held by khungtaskd/1020:
 #0: 0000000061fae8ef (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4379
1 lock held by rsyslogd/5946:
 #0: 0000000045e8bcfb (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766
2 locks held by getty/6036:
 #0: 0000000098c99775 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
 #1: 000000001eb74cef (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154
2 locks held by getty/6037:
 #0: 000000006b35ba47 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
 #1: 00000000ff59755f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154
2 locks held by getty/6038:
 #0: 0000000031429645 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
 #1: 00000000eeea135f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154
2 locks held by getty/6039:
 #0: 0000000005e2722e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
 #1: 000000003c4a538b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154
2 locks held by getty/6040:
 #0: 0000000050951d76 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
 #1: 00000000f32519da (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154
2 locks held by getty/6041:
 #0: 00000000ad3272bd (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
 #1: 00000000e7aaca10 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154
2 locks held by getty/6042:
 #0: 0000000083b41b4f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353
 #1: 000000001eca6850 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154
1 lock held by syz-executor4/6167:
 #0: 00000000e989f9c3 (rcu_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:296 [inline]
 #0: 00000000e989f9c3 (rcu_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited.constprop.58+0x7c7/0x9d0 kernel/rcu/tree_exp.h:620
1 lock held by syz-executor1/10326:
 #0: 000000001c69840c (&pipe->mutex/1){+.+.}, at: pipe_lock_nested fs/pipe.c:62 [inline]
 #0: 000000001c69840c (&pipe->mutex/1){+.+.}, at: pipe_lock+0x6e/0x80 fs/pipe.c:70
1 lock held by syz-executor1/10334:
 #0: 000000001c69840c (&pipe->mutex/1){+.+.}, at: pipe_lock_nested fs/pipe.c:62 [inline]
 #0: 000000001c69840c (&pipe->mutex/1){+.+.}, at: pipe_lock+0x6e/0x80 fs/pipe.c:70
1 lock held by syz-executor1/10355:
 #0: 000000001c69840c (&pipe->mutex/1){+.+.}, at: pipe_lock_nested fs/pipe.c:62 [inline]
 #0: 000000001c69840c (&pipe->mutex/1){+.+.}, at: pipe_lock+0x6e/0x80 fs/pipe.c:70
1 lock held by syz-executor0/19146:
 #0: 000000005bbb8e0c (&vcpu->mutex){+.+.}, at: kvm_vcpu_ioctl+0x1e5/0x1150 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2573

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

NMI backtrace for cpu 1
CPU: 1 PID: 1020 Comm: khungtaskd Not tainted 4.20.0-rc6+ #373
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+0x244/0x39d lib/dump_stack.c:113
 nmi_cpu_backtrace.cold.2+0x5c/0xa1 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1e8/0x22a 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+0xb51/0x1060 kernel/hung_task.c:289
 kthread+0x35a/0x440 kernel/kthread.c:246
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352
Sending NMI from CPU 1 to CPUs 0:
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.266 msecs
NMI backtrace for cpu 0
CPU: 0 PID: 19146 Comm: syz-executor0 Not tainted 4.20.0-rc6+ #373
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__sanitizer_cov_trace_pc+0x48/0x50 kernel/kcov.c:108
Code: 75 2b 8b 90 d8 12 00 00 83 fa 02 75 20 48 8b 88 e0 12 00 00 8b 80 dc 12 00 00 48 8b 11 48 83 c2 01 48 39 d0 76 07 48 89 34 d1 <48> 89 11 5d c3 0f 1f 00 55 40 0f b6 d6 40 0f b6 f7 31 ff 48 89 e5
RSP: 0018:ffff888184abf3a0 EFLAGS: 00000016
RAX: 0000000000040000 RBX: 1ffff11030957e79 RCX: ffffc900063e9000
RDX: 0000000000004813 RSI: ffffffff8185ad63 RDI: 0000000000000005
RBP: ffff888184abf3a0 R08: ffff8881be6500c0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8881d9055af0 R14: ffffffff81c2fd91 R15: ffff8881d7a26e00
FS:  00007feb81e28700(0000) GS:ffff8881dae00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000070b6b4 CR3: 00000001c01d3000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 arch_static_branch arch/x86/include/asm/jump_label.h:23 [inline]
 static_key_false include/linux/jump_label.h:204 [inline]
 trace_irq_enable_rcuidle include/trace/events/preemptirq.h:40 [inline]
 trace_hardirqs_on+0x113/0x310 kernel/trace/trace_preemptirq.c:25
 qlink_free mm/kasan/quarantine.c:150 [inline]
 qlist_free_all+0xe1/0x140 mm/kasan/quarantine.c:166
 quarantine_reduce+0x163/0x1a0 mm/kasan/quarantine.c:259
 kasan_kmalloc+0x9b/0xe0 mm/kasan/kasan.c:538
 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:490
 slab_post_alloc_hook mm/slab.h:444 [inline]
 slab_alloc mm/slab.c:3392 [inline]
 kmem_cache_alloc_trace+0x13b/0x750 mm/slab.c:3618
 kmalloc include/linux/slab.h:546 [inline]
 kzalloc include/linux/slab.h:741 [inline]
 kvm_uevent_notify_change.part.32+0x11f/0x450 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3903
 kvm_uevent_notify_change arch/x86/kvm/../../../virt/kvm/kvm_main.c:3889 [inline]
 kvm_destroy_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:729 [inline]
 kvm_put_kvm+0x182/0xff0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:770
 kvm_vcpu_release+0x7b/0xa0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2413
 __fput+0x385/0xa30 fs/file_table.c:278
 ____fput+0x15/0x20 fs/file_table.c:309
 task_work_run+0x1e8/0x2a0 kernel/task_work.c:113
 get_signal+0x1558/0x1980 kernel/signal.c:2347
 do_signal+0x9c/0x21c0 arch/x86/kernel/signal.c:816
 exit_to_usermode_loop+0x2e5/0x380 arch/x86/entry/common.c:162
 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:268 [inline]
 do_syscall_64+0x6be/0x820 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457659
Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007feb81e27c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: fffffffffffffffc RBX: 0000000000000003 RCX: 0000000000457659
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000006
RBP: 000000000072c0e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007feb81e286d4
R13: 00000000004c0505 R14: 00000000004d1580 R15: 00000000ffffffff
kobject: '0:61' (000000003eb1fc73): kobject_cleanup, parent           (null)
kobject: 'kvm' (00000000fe4838f2): kobject_uevent_env
kobject: '0:61' (000000003eb1fc73): calling ktype release
kobject: 'kvm' (00000000fe4838f2): fill_kobj_path: path = '/devices/virtual/misc/kvm'

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/12/14 23:01 upstream eb6cf9f8cb9d 7624ddd6 .config console log report ci-upstream-kasan-gce
2018/11/04 19:41 upstream 71e56028173b 8bd6bd63 .config console log report ci-upstream-kasan-gce
2018/10/27 14:54 upstream 345671ea0f92 8efba39a .config console log report ci-upstream-kasan-gce-smack-root
2018/10/05 23:05 upstream b2e45b46d85b 8b311eaf .config console log report ci-upstream-kasan-gce-selinux-root
* Struck through repros no longer work on HEAD.