relay: one or more items not logged [item size (56) > sub-buffer size (9)] INFO: task syz-executor6:10328 blocked for more than 140 seconds. Not tainted 4.19.0-rc2+ #3 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor6 D24952 10328 4699 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 snd_seq_ioctl+0x221/0x440 sound/core/seq/seq_clientmgr.c:2137 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:0x457099 Code: Bad RIP value. RSP: 002b:00007f6a6ac82c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f6a6ac836d4 RCX: 0000000000457099 RDX: 00000000200000c0 RSI: 00000000c08c5332 RDI: 000000000000000c RBP: 00000000009301e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d0918 R14: 00000000004bf1b8 R15: 0000000000000002 INFO: task syz-executor6:10342 blocked for more than 140 seconds. Not tainted 4.19.0-rc2+ #3 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor6 D25408 10342 4699 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 snd_seq_write+0x1f1/0x8d0 sound/core/seq/seq_clientmgr.c:1021 __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:0x457099 Code: Bad RIP value. RSP: 002b:00007f6a6ac1fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f6a6ac206d4 RCX: 0000000000457099 RDX: 00000000ffffff76 RSI: 0000000020000000 RDI: 000000000000000c RBP: 00000000009303c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d8400 R14: 00000000004cae90 R15: 0000000000000005 Showing all locks held in the system: 2 locks held by kworker/1:0/18: #0: 00000000a2e26b27 ((wq_completion)"rcu_gp"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 00000000a2e26b27 ((wq_completion)"rcu_gp"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000a2e26b27 ((wq_completion)"rcu_gp"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 00000000a2e26b27 ((wq_completion)"rcu_gp"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 00000000a2e26b27 ((wq_completion)"rcu_gp"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 00000000a2e26b27 ((wq_completion)"rcu_gp"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 00000000a2e26b27 ((wq_completion)"rcu_gp"){+.+.}, at: process_one_work+0xb44/0x1aa0 kernel/workqueue.c:2124 #1: 00000000f8eea760 ((work_completion)(&rew.rew_work)){+.+.}, at: process_one_work+0xb9b/0x1aa0 kernel/workqueue.c:2128 1 lock held by khungtaskd/793: #0: 000000006896c191 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x428 kernel/locking/lockdep.c:4436 2 locks held by kworker/0:2/2004: #0: 00000000c28b13d8 ((wq_completion)"events"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 00000000c28b13d8 ((wq_completion)"events"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000c28b13d8 ((wq_completion)"events"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 00000000c28b13d8 ((wq_completion)"events"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 00000000c28b13d8 ((wq_completion)"events"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 00000000c28b13d8 ((wq_completion)"events"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 00000000c28b13d8 ((wq_completion)"events"){+.+.}, at: process_one_work+0xb44/0x1aa0 kernel/workqueue.c:2124 #1: 000000000f5dde87 (key_gc_work){+.+.}, at: process_one_work+0xb9b/0x1aa0 kernel/workqueue.c:2128 1 lock held by rsyslogd/4556: 2 locks held by getty/4647: #0: 000000000e8bb6c1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000007142e5ef (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4648: #0: 00000000f930df6f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000abe20a1d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4649: #0: 00000000ec3b3bc7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000e842b013 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4650: #0: 0000000017338aaf (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000346f1ed3 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4651: #0: 000000000bbd42a2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000dd3e4194 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4652: #0: 00000000abd5ac7c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000078cea1dd (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4653: #0: 00000000c61a46bf (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000046ff7806 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by syz-executor1/4693: #0: 000000003e9fbb98 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x13c0 fs/block_dev.c:1466 #1: 000000004a029e37 (loop_index_mutex){+.+.}, at: lo_open+0x1b/0xb0 drivers/block/loop.c:1631 2 locks held by syz-executor2/4695: #0: 000000009a584803 (&bdev->bd_mutex){+.+.}, at: __blkdev_put+0xc2/0x830 fs/block_dev.c:1783 #1: 000000004a029e37 (loop_index_mutex){+.+.}, at: lo_release+0x1f/0x1f0 drivers/block/loop.c:1674 2 locks held by syz-executor4/4697: #0: 0000000037514c90 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x13c0 fs/block_dev.c:1466 #1: 000000004a029e37 (loop_index_mutex){+.+.}, at: lo_open+0x1b/0xb0 drivers/block/loop.c:1631 1 lock held by syz-executor3/7153: #0: 00000000abb69abd (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:77 2 locks held by syz-executor5/9120: #0: 00000000abb69abd (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:77 #1: 00000000d4c7a342 (rcu_sched_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #1: 00000000d4c7a342 (rcu_sched_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited.constprop.72+0x80d/0xa40 kernel/rcu/tree_exp.h:667 2 locks held by syz-executor6/10320: 1 lock held by syz-executor6/10328: #0: 00000000ac2e2166 (&client->ioctl_mutex){+.+.}, at: snd_seq_ioctl+0x221/0x440 sound/core/seq/seq_clientmgr.c:2137 1 lock held by syz-executor6/10342: #0: 00000000ac2e2166 (&client->ioctl_mutex){+.+.}, at: snd_seq_write+0x1f1/0x8d0 sound/core/seq/seq_clientmgr.c:1021 1 lock held by syz-executor0/10394: #0: 000000004a029e37 (loop_index_mutex){+.+.}, at: loop_control_ioctl+0x91/0x540 drivers/block/loop.c:1998 1 lock held by syz-executor0/10397: #0: 000000004a029e37 (loop_index_mutex){+.+.}, at: loop_control_ioctl+0x91/0x540 drivers/block/loop.c:1998 1 lock held by blkid/10403: #0: 000000009a584803 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x13c0 fs/block_dev.c:1466 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 793 Comm: khungtaskd Not tainted 4.19.0-rc2+ #3 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:413 Sending NMI from CPU 1 to CPUs 0: INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.332 msecs NMI backtrace for cpu 0 CPU: 0 PID: 10320 Comm: syz-executor6 Not tainted 4.19.0-rc2+ #3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:arch_atomic_inc arch/x86/include/asm/atomic.h:98 [inline] RIP: 0010:atomic_inc include/asm-generic/atomic-instrumented.h:110 [inline] RIP: 0010:__lock_acquire+0x2b6/0x5020 kernel/locking/lockdep.c:3304 Code: 08 48 85 db 0f 84 15 ff ff ff 48 8d bb 38 01 00 00 be 04 00 00 00 44 89 84 24 88 00 00 00 e8 51 75 5c 00 f0 ff 83 38 01 00 00 <49> 8d 86 38 08 00 00 44 8b 84 24 88 00 00 00 48 89 c2 48 89 44 24 RSP: 0018:ffff8801db0074b0 EFLAGS: 00000006 RAX: fffffbfff12cf6f8 RBX: ffffffff8967b680 RCX: ffffffff815f49ef RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff8967b7b8 RBP: ffff8801db007838 R08: fffffbfff12cf6f8 R09: fffffbfff12cf6f7 R10: fffffbfff12cf6f7 R11: ffffffff8967b7bb R12: 0000000000000001 R13: ffffffff89c60700 R14: ffff880196622300 R15: 0000000000000000 FS: 00007f6a6acc5700(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020c00000 CR3: 00000001c940b000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1e4/0x4f0 kernel/locking/lockdep.c:3901 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x96/0xc0 kernel/locking/spinlock.c:152 debug_object_activate+0x1d2/0x690 lib/debugobjects.c:473 debug_hrtimer_activate kernel/time/hrtimer.c:416 [inline] debug_activate kernel/time/hrtimer.c:465 [inline] enqueue_hrtimer+0x97/0x4e0 kernel/time/hrtimer.c:954 __run_hrtimer kernel/time/hrtimer.c:1413 [inline] __hrtimer_run_queues+0xbae/0xff0 kernel/time/hrtimer.c:1460 hrtimer_interrupt+0x2f3/0x750 kernel/time/hrtimer.c:1518 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:864 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:788 [inline] RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xa1/0xc0 kernel/locking/spinlock.c:184 Code: 28 be 11 88 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 21 48 83 3d 6e b8 3a 01 00 74 0e 48 89 df 57 9d <0f> 1f 44 00 00 eb bb 0f 0b 0f 0b e8 8f c9 e4 fa eb 97 e8 88 c9 e4 RSP: 0018:ffff88018b90f6f0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: dffffc0000000000 RBX: 0000000000000286 RCX: 1ffff10032cc456c RDX: 1ffffffff10237c5 RSI: 0000000000000000 RDI: 0000000000000286 RBP: ffff88018b90f700 R08: ffff880196622b40 R09: 0000000000000006 R10: ffff880196622300 R11: 0000000000000000 R12: ffff8801ce7a1180 R13: 1ffff10031721ee7 R14: ffff8801ce7a1114 R15: ffff88018b90f7d8 spin_unlock_irqrestore include/linux/spinlock.h:384 [inline] snd_seq_cell_free+0x305/0x5d0 sound/core/seq/seq_memory.c:214 snd_seq_dispatch_event+0x137/0x650 sound/core/seq/seq_clientmgr.c:897 snd_seq_check_queue.part.4+0x139/0x360 sound/core/seq/seq_queue.c:275 snd_seq_check_queue sound/core/seq/seq_queue.c:255 [inline] snd_seq_enqueue_event+0x346/0x4d0 sound/core/seq/seq_queue.c:343 snd_seq_client_enqueue_event+0x2a5/0x510 sound/core/seq/seq_clientmgr.c:957 snd_seq_write+0x3f1/0x8d0 sound/core/seq/seq_clientmgr.c:1074 __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:0x457099 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:00007f6a6acc4c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f6a6acc56d4 RCX: 0000000000457099 RDX: 00000000ffffff76 RSI: 0000000020000000 RDI: 0000000000000005 RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d8400 R14: 00000000004cae90 R15: 0000000000000000