INFO: task syz-executor1:25090 blocked for more than 140 seconds. Not tainted 4.19.0-rc2-next-20180904+ #55 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor1 D23840 25090 16976 0x00000004 Call Trace: context_switch kernel/sched/core.c:2825 [inline] __schedule+0x87c/0x1df0 kernel/sched/core.c:3473 schedule+0xfb/0x450 kernel/sched/core.c:3517 schedule_preempt_disabled+0x10/0x20 kernel/sched/core.c:3575 __mutex_lock_common kernel/locking/mutex.c:1003 [inline] __mutex_lock+0xbf9/0x1700 kernel/locking/mutex.c:1073 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1088 rtnl_lock+0x17/0x20 net/core/rtnetlink.c:77 sock_do_ioctl+0x2ba/0x3e0 net/socket.c:963 sock_ioctl+0x30d/0x680 net/socket.c:1074 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x1de/0x1720 fs/ioctl.c:685 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:702 __do_sys_ioctl fs/ioctl.c:709 [inline] __se_sys_ioctl fs/ioctl.c:707 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:707 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4572d9 Code: 42 08 48 8b 40 08 48 89 04 24 e8 02 d3 fc ff 48 8b 6c 24 08 48 83 c4 10 c3 e8 e3 2b 00 00 eb c1 cc 64 48 8b 0c 25 f8 ff ff ff <48> 3b 61 10 76 75 48 83 ec 38 48 89 6c 24 30 48 8d 6c 24 30 48 8b RSP: 002b:00007fa12e2e5c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fa12e2e66d4 RCX: 00000000004572d9 RDX: 0000000020000280 RSI: 0000000000008912 RDI: 0000000000000004 RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004cdc68 R14: 00000000004c436f R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/792: #0: 00000000336d4682 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x428 kernel/locking/lockdep.c:4436 3 locks held by kworker/0:3/2001: #0: 00000000e084b777 ((wq_completion)"events"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 00000000e084b777 ((wq_completion)"events"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000e084b777 ((wq_completion)"events"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 00000000e084b777 ((wq_completion)"events"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 00000000e084b777 ((wq_completion)"events"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 00000000e084b777 ((wq_completion)"events"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 00000000e084b777 ((wq_completion)"events"){+.+.}, at: process_one_work+0xb44/0x1aa0 kernel/workqueue.c:2124 #1: 000000004d43b336 (deferred_process_work){+.+.}, at: process_one_work+0xb9b/0x1aa0 kernel/workqueue.c:2128 #2: 000000002f2d00dd (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:77 1 lock held by rsyslogd/4172: 2 locks held by getty/4262: #0: 000000000bc6874b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000a6deb2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4263: #0: 0000000010b24579 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000006a2ccc47 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4264: #0: 00000000c7d1de8b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000b48d7e1c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4265: #0: 0000000097626be7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000d8b86c88 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4266: #0: 000000006f5bac85 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000996fc18e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4267: #0: 000000001254df77 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000c5a91776 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4268: #0: 00000000a4235579 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000fa85c99d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 1 lock held by syz-executor2/7639: #0: 000000002f2d00dd (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:77 1 lock held by syz-executor0/8981: #0: 000000002f2d00dd (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:77 1 lock held by syz-executor5/18746: #0: 000000002f2d00dd (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:77 4 locks held by kworker/u4:2/18953: #0: 00000000cd2a742a ((wq_completion)"%s""netns"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 00000000cd2a742a ((wq_completion)"%s""netns"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000cd2a742a ((wq_completion)"%s""netns"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 00000000cd2a742a ((wq_completion)"%s""netns"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 00000000cd2a742a ((wq_completion)"%s""netns"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 00000000cd2a742a ((wq_completion)"%s""netns"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 00000000cd2a742a ((wq_completion)"%s""netns"){+.+.}, at: process_one_work+0xb44/0x1aa0 kernel/workqueue.c:2124 #1: 00000000a87ad707 (net_cleanup_work){+.+.}, at: process_one_work+0xb9b/0x1aa0 kernel/workqueue.c:2128 #2: 00000000335bf7ff (pernet_ops_rwsem){++++}, at: cleanup_net+0x13f/0xb60 net/core/net_namespace.c:518 #3: 000000001420c7fb (rcu_sched_state.barrier_mutex){+.+.}, at: _rcu_barrier+0x14a/0x790 kernel/rcu/tree.c:3413 2 locks held by syz-executor4/24377: #0: 000000002f2d00dd (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:77 #1: 00000000a111c0d2 (rcu_sched_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #1: 00000000a111c0d2 (rcu_sched_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited.constprop.72+0x80d/0xa40 kernel/rcu/tree_exp.h:667 1 lock held by syz-executor3/25038: 1 lock held by syz-executor1/25090: #0: 000000002f2d00dd (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:77 2 locks held by kworker/1:12/25101: 3 locks held by kworker/1:13/25102: #0: 00000000e084b777 ((wq_completion)"events"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 00000000e084b777 ((wq_completion)"events"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000e084b777 ((wq_completion)"events"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 00000000e084b777 ((wq_completion)"events"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 00000000e084b777 ((wq_completion)"events"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 00000000e084b777 ((wq_completion)"events"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 00000000e084b777 ((wq_completion)"events"){+.+.}, at: process_one_work+0xb44/0x1aa0 kernel/workqueue.c:2124 #1: 00000000a2d26476 ((linkwatch_work).work){+.+.}, at: process_one_work+0xb9b/0x1aa0 kernel/workqueue.c:2128 #2: 000000002f2d00dd (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:77 2 locks held by kworker/1:16/25105: #0: 00000000e084b777 ((wq_completion)"events"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 00000000e084b777 ((wq_completion)"events"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000e084b777 ((wq_completion)"events"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 00000000e084b777 ((wq_completion)"events"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 00000000e084b777 ((wq_completion)"events"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 00000000e084b777 ((wq_completion)"events"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 00000000e084b777 ((wq_completion)"events"){+.+.}, at: process_one_work+0xb44/0x1aa0 kernel/workqueue.c:2124 #1: 000000003f3e80bd (key_gc_work){+.+.}, at: process_one_work+0xb9b/0x1aa0 kernel/workqueue.c:2128 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 792 Comm: khungtaskd Not tainted 4.19.0-rc2-next-20180904+ #55 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+0x1c9/0x2b4 lib/dump_stack.c:113 nmi_cpu_backtrace.cold.3+0x48/0x88 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x151/0x192 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:144 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:204 [inline] watchdog+0xb39/0x1040 kernel/hung_task.c:265 kthread+0x35a/0x420 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 25038 Comm: syz-executor3 Not tainted 4.19.0-rc2-next-20180904+ #55 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__wrmsr arch/x86/include/asm/msr.h:105 [inline] RIP: 0010:native_write_msr+0xa/0x30 arch/x86/include/asm/msr.h:162 Code: 5d c3 0f 21 c8 5d c3 0f 21 d0 5d c3 0f 21 d8 5d c3 0f 21 f0 5d c3 0f 0b 0f 1f 84 00 00 00 00 00 55 89 f9 89 f0 48 89 e5 0f 30 <0f> 1f 44 00 00 5d c3 48 c1 e2 20 89 f6 48 09 d6 31 d2 e8 cf 3f 52 RSP: 0018:ffff8801db007d38 EFLAGS: 00000046 RAX: 0000000000000163 RBX: 0000000000000838 RCX: 0000000000000838 RDX: 0000000000000000 RSI: 0000000000000163 RDI: 0000000000000838 RBP: ffff8801db007d38 R08: ffff8801c8378100 R09: ffffffff88f7d01b R10: fffffbfff11efa01 R11: 0000000000000000 R12: 0000000000000163 R13: 0000000000000000 R14: 0000000000000000 R15: ffff8801db025d04 FS: 00007f005d820700(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020e00000 CR3: 00000001d14a1000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: paravirt_write_msr arch/x86/include/asm/paravirt.h:117 [inline] native_apic_msr_write+0x5b/0x80 arch/x86/include/asm/apic.h:209 apic_write arch/x86/include/asm/apic.h:397 [inline] lapic_next_event+0x5a/0x90 arch/x86/kernel/apic/apic.c:461 clockevents_program_event+0x251/0x370 kernel/time/clockevents.c:344 tick_program_event+0xab/0x130 kernel/time/tick-oneshot.c:48 hrtimer_interrupt+0x348/0x750 kernel/time/hrtimer.c:1531 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1029 [inline] smp_apic_timer_interrupt+0x16d/0x6a0 arch/x86/kernel/apic/apic.c:1054 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:867 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:788 [inline] RIP: 0010:lock_release+0x4dc/0x9f0 kernel/locking/lockdep.c:3923 Code: 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 73 03 00 00 48 83 3d 5b 0d b2 06 00 0f 84 a4 02 00 00 48 8b bd e8 fe ff ff 57 9d <0f> 1f 44 00 00 48 b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00 RSP: 0018:ffff8801d96ff8c8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: dffffc0000000000 RBX: 1ffff1003b2dff1e RCX: 1ffff1003906f126 RDX: 1ffffffff10237cd RSI: 0000000000000002 RDI: 0000000000000286 RBP: ffff8801d96ff9f8 R08: 1ffff1003b2dff22 R09: 0000000000000001 R10: 0000000000000003 R11: 0000000000000001 R12: ffff8801c8378100 R13: ffff8801c3078448 R14: ffff8801c8378100 R15: ffff8801d96ff910 __might_fault+0x19e/0x1e0 mm/memory.c:4578 _copy_from_user+0x30/0x150 lib/usercopy.c:10 copy_from_user include/linux/uaccess.h:147 [inline] snd_seq_write+0x472/0x8d0 sound/core/seq/seq_clientmgr.c:1033 __vfs_write+0x117/0x9d0 fs/read_write.c:485 vfs_write+0x1fc/0x560 fs/read_write.c:549 ksys_write+0x101/0x260 fs/read_write.c:598 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x73/0xb0 fs/read_write.c:607 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4572d9 Code: fd b4 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 b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f005d81fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f005d8206d4 RCX: 00000000004572d9 RDX: 00000000ffffff76 RSI: 0000000020000000 RDI: 0000000000000005 RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d86c0 R14: 00000000004cb14e R15: 0000000000000000