minix_free_inode: bit 1 already cleared minix_free_inode: bit 1 already cleared minix_free_inode: bit 1 already cleared minix_free_inode: bit 1 already cleared kworker/dying (54) used greatest stack depth: 8072 bytes left INFO: task syz-executor6:29689 blocked for more than 140 seconds. Not tainted 4.19.0-rc2+ #220 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor6 D24952 29689 4785 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:00007f84c2519c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f84c251a6d4 RCX: 0000000000457099 RDX: 00000000200000c0 RSI: 00000000c08c5332 RDI: 000000000000000b RBP: 00000000009301e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d0648 R14: 00000000004bf100 R15: 0000000000000002 Showing all locks held in the system: 1 lock held by khungtaskd/792: #0: 00000000f42e3456 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x428 kernel/locking/lockdep.c:4436 1 lock held by rsyslogd/4560: 2 locks held by getty/4650: #0: 00000000e918d6a7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000091521a3d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4651: #0: 00000000dbbc5b30 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000ef45e3d9 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4652: #0: 000000007618f021 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000021a19449 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4653: #0: 0000000008e15dca (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000c9885af4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4654: #0: 00000000eca8ebc0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000a0c07071 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4655: #0: 00000000f905ab55 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000008912285f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4656: #0: 000000007c6aa909 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000001337ad9f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 3 locks held by syz-executor7/4780: #0: 0000000056c72d9b (&bdev->bd_mutex){+.+.}, at: __blkdev_put+0xc2/0x830 fs/block_dev.c:1783 #1: 00000000c6f54726 (loop_index_mutex){+.+.}, at: lo_release+0x1f/0x1f0 drivers/block/loop.c:1674 #2: 00000000b89ec8b4 (&lo->lo_ctl_mutex#2){+.+.}, at: __lo_release drivers/block/loop.c:1651 [inline] #2: 00000000b89ec8b4 (&lo->lo_ctl_mutex#2){+.+.}, at: lo_release+0xa3/0x1f0 drivers/block/loop.c:1675 1 lock held by syz-executor0/11107: #0: 0000000069589cc6 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:77 2 locks held by syz-executor1/4384: #0: 0000000069589cc6 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:77 #1: 00000000de80b930 (cpu_hotplug_lock.rw_sem){++++}, at: get_online_cpus include/linux/cpu.h:130 [inline] #1: 00000000de80b930 (cpu_hotplug_lock.rw_sem){++++}, at: flush_all_backlogs net/core/dev.c:5240 [inline] #1: 00000000de80b930 (cpu_hotplug_lock.rw_sem){++++}, at: rollback_registered_many+0x5f5/0x1250 net/core/dev.c:7937 3 locks held by kworker/1:0/9004: #0: 0000000003e3afc2 ((wq_completion)"events"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 0000000003e3afc2 ((wq_completion)"events"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 0000000003e3afc2 ((wq_completion)"events"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 0000000003e3afc2 ((wq_completion)"events"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 0000000003e3afc2 ((wq_completion)"events"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 0000000003e3afc2 ((wq_completion)"events"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 0000000003e3afc2 ((wq_completion)"events"){+.+.}, at: process_one_work+0xb44/0x1aa0 kernel/workqueue.c:2124 #1: 00000000c7b8a500 ((linkwatch_work).work){+.+.}, at: process_one_work+0xb9b/0x1aa0 kernel/workqueue.c:2128 #2: 0000000069589cc6 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:77 1 lock held by syz-executor6/29686: 1 lock held by syz-executor6/29689: #0: 000000007dc337bc (&client->ioctl_mutex){+.+.}, at: snd_seq_ioctl+0x221/0x440 sound/core/seq/seq_clientmgr.c:2137 2 locks held by blkid/29764: #0: 000000003590c90a (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x13c0 fs/block_dev.c:1466 #1: 00000000c6f54726 (loop_index_mutex){+.+.}, at: lo_open+0x1b/0xb0 drivers/block/loop.c:1631 2 locks held by blkid/29765: #0: 00000000b34add70 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x13c0 fs/block_dev.c:1466 #1: 00000000c6f54726 (loop_index_mutex){+.+.}, at: lo_open+0x1b/0xb0 drivers/block/loop.c:1631 1 lock held by blkid/29767: #0: 0000000056c72d9b (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x13c0 fs/block_dev.c:1466 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 792 Comm: khungtaskd Not tainted 4.19.0-rc2+ #220 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: NMI backtrace for cpu 0 CPU: 0 PID: 29686 Comm: syz-executor6 Not tainted 4.19.0-rc2+ #220 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rcu_nmi_enter+0x0/0x2d0 kernel/rcu/tree.c:885 Code: 5d ff ff ff e8 81 99 53 00 e9 0a fe ff ff e8 57 99 53 00 e9 44 fd ff ff 4c 89 ff e8 0a 9a 53 00 e9 75 fe ff ff 0f 1f 44 00 00 <48> ba 00 00 00 00 00 fc ff df 55 48 89 e5 41 57 41 56 4c 8d 7d d8 RSP: 0018:ffff8801db007e60 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff8801c2e00700 RCX: 0000000000000001 RDX: 1ffff100385c01e1 RSI: ffffffff86e0153a RDI: ffff8801c2e00f08 RBP: ffff8801db007e70 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8801db007fc0 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f84c255c700(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020a00000 CR3: 00000001b968c000 CR4: 00000000001406f0 DR0: 0000000020000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: irq_enter+0x13/0xd0 kernel/softirq.c:346 entering_irq arch/x86/include/asm/apic.h:517 [inline] entering_ack_irq arch/x86/include/asm/apic.h:523 [inline] smp_apic_timer_interrupt+0xb6/0x6a0 arch/x86/kernel/apic/apic.c:1052 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:864 RIP: 0010:__might_fault+0x85/0x1e0 mm/memory.c:4573 Code: e8 80 83 d0 ff 48 b8 00 00 00 00 00 fc ff df 65 48 8b 1c 25 40 ee 01 00 48 8d bb e0 12 00 00 48 89 fa 48 c1 ea 03 0f b6 04 02 <84> c0 74 08 3c 03 0f 8e 1d 01 00 00 8b 9b e0 12 00 00 31 ff 89 de RSP: 0018:ffff88018f22fa08 EFLAGS: 00000a06 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: ffff8801c2e00700 RCX: ffffc9000899f000 RDX: 1ffff100385c033c RSI: ffffffff81ac4ba0 RDI: ffff8801c2e019e0 RBP: ffff88018f22fa20 R08: ffff8801c2e00700 R09: ffffed0037c95488 R10: ffffed0037c95488 R11: ffff8801be4aa443 R12: ffffffff875cfcc0 R13: 000000000000000a R14: ffff88018f22fae0 R15: 0000000000000000 _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: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:00007f84c255bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f84c255c6d4 RCX: 0000000000457099 RDX: 00000000ffffff76 RSI: 0000000020000000 RDI: 0000000000000005 RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d8010 R14: 00000000004cac42 R15: 0000000000000000