QAT: Invalid ioctl QAT: Invalid ioctl QAT: Stopping all acceleration devices. QAT: Invalid ioctl Buffer I/O error on dev loop0, logical block 3, async page read INFO: task syz-executor3:15631 blocked for more than 120 seconds. Not tainted 4.16.0-rc6+ #366 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D20624 15631 4237 0x00000004 Call Trace: context_switch kernel/sched/core.c:2862 [inline] __schedule+0x8fb/0x1ec0 kernel/sched/core.c:3440 schedule+0xf5/0x430 kernel/sched/core.c:3499 schedule_preempt_disabled+0x10/0x20 kernel/sched/core.c:3557 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0xaad/0x1a80 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 iterate_bdevs+0xc8/0x260 fs/block_dev.c:2160 sys_sync+0x120/0x1c0 fs/sync.c:117 do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x454879 RSP: 002b:00007f3ec8e5ec68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f3ec8e5f6d4 RCX: 0000000000454879 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000626 R14: 00000000006fa430 R15: 0000000000000000 Showing all locks held in the system: 3 locks held by kworker/u4:3/57: #0: ((wq_completion)"writeback"){+.+.}, at: [<00000000d712cbbd>] work_static include/linux/workqueue.h:198 [inline] #0: ((wq_completion)"writeback"){+.+.}, at: [<00000000d712cbbd>] set_work_data kernel/workqueue.c:619 [inline] #0: ((wq_completion)"writeback"){+.+.}, at: [<00000000d712cbbd>] set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline] #0: ((wq_completion)"writeback"){+.+.}, at: [<00000000d712cbbd>] process_one_work+0xb12/0x1bb0 kernel/workqueue.c:2084 #1: ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: [<0000000003090f21>] process_one_work+0xb89/0x1bb0 kernel/workqueue.c:2088 #2: (&type->s_umount_key#33){++++}, at: [<00000000ff7a7475>] trylock_super+0x20/0x100 fs/super.c:395 2 locks held by khungtaskd/801: #0: (rcu_read_lock){....}, at: [<0000000047567d9b>] check_hung_uninterruptible_tasks kernel/hung_task.c:175 [inline] #0: (rcu_read_lock){....}, at: [<0000000047567d9b>] watchdog+0x1c5/0xd60 kernel/hung_task.c:249 #1: (tasklist_lock){.+.+}, at: [<0000000016e05683>] debug_show_all_locks+0xd3/0x3d0 kernel/locking/lockdep.c:4470 2 locks held by getty/4157: #0: (&tty->ldisc_sem){++++}, at: [<000000006e4f4eac>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: (&ldata->atomic_read_lock){+.+.}, at: [<000000005a3da37a>] n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131 2 locks held by getty/4158: #0: (&tty->ldisc_sem){++++}, at: [<000000006e4f4eac>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: (&ldata->atomic_read_lock){+.+.}, at: [<000000005a3da37a>] n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131 2 locks held by getty/4159: #0: (&tty->ldisc_sem){++++}, at: [<000000006e4f4eac>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: (&ldata->atomic_read_lock){+.+.}, at: [<000000005a3da37a>] n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131 2 locks held by getty/4160: #0: (&tty->ldisc_sem){++++}, at: [<000000006e4f4eac>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: (&ldata->atomic_read_lock){+.+.}, at: [<000000005a3da37a>] n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131 2 locks held by getty/4161: #0: (&tty->ldisc_sem){++++}, at: [<000000006e4f4eac>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: (&ldata->atomic_read_lock){+.+.}, at: [<000000005a3da37a>] n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131 2 locks held by getty/4162: #0: (&tty->ldisc_sem){++++}, at: [<000000006e4f4eac>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: (&ldata->atomic_read_lock){+.+.}, at: [<000000005a3da37a>] n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131 2 locks held by getty/4163: #0: (&tty->ldisc_sem){++++}, at: [<000000006e4f4eac>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: (&ldata->atomic_read_lock){+.+.}, at: [<000000005a3da37a>] n_tty_read+0x2ef/0x1a40 drivers/tty/n_tty.c:2131 4 locks held by kworker/1:5/5919: #0: ((wq_completion)"memcg_kmem_cache"){+.+.}, at: [<00000000d712cbbd>] work_static include/linux/workqueue.h:198 [inline] #0: ((wq_completion)"memcg_kmem_cache"){+.+.}, at: [<00000000d712cbbd>] set_work_data kernel/workqueue.c:619 [inline] #0: ((wq_completion)"memcg_kmem_cache"){+.+.}, at: [<00000000d712cbbd>] set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline] #0: ((wq_completion)"memcg_kmem_cache"){+.+.}, at: [<00000000d712cbbd>] process_one_work+0xb12/0x1bb0 kernel/workqueue.c:2084 #1: ((work_completion)(&cw->work)){+.+.}, at: [<0000000003090f21>] process_one_work+0xb89/0x1bb0 kernel/workqueue.c:2088 #2: (cpu_hotplug_lock.rw_sem){++++}, at: [<0000000050d63842>] get_online_cpus include/linux/cpu.h:124 [inline] #2: (cpu_hotplug_lock.rw_sem){++++}, at: [<0000000050d63842>] memcg_create_kmem_cache+0x16/0x170 mm/slab_common.c:619 #3: (slab_mutex){+.+.}, at: [<00000000a6c69dd9>] memcg_create_kmem_cache+0x24/0x170 mm/slab_common.c:622 4 locks held by kworker/0:5/5938: #0: ((wq_completion)"cgroup_destroy"){+.+.}, at: [<00000000d712cbbd>] work_static include/linux/workqueue.h:198 [inline] #0: ((wq_completion)"cgroup_destroy"){+.+.}, at: [<00000000d712cbbd>] set_work_data kernel/workqueue.c:619 [inline] #0: ((wq_completion)"cgroup_destroy"){+.+.}, at: [<00000000d712cbbd>] set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline] #0: ((wq_completion)"cgroup_destroy"){+.+.}, at: [<00000000d712cbbd>] process_one_work+0xb12/0x1bb0 kernel/workqueue.c:2084 #1: ((work_completion)(&css->destroy_work)#3){+.+.}, at: [<0000000003090f21>] process_one_work+0xb89/0x1bb0 kernel/workqueue.c:2088 #2: (cpu_hotplug_lock.rw_sem){++++}, at: [<00000000edc22631>] get_online_cpus include/linux/cpu.h:124 [inline] #2: (cpu_hotplug_lock.rw_sem){++++}, at: [<00000000edc22631>] memcg_destroy_kmem_caches+0xf/0x80 mm/slab_common.c:771 #3: (slab_mutex){+.+.}, at: [<00000000782023b0>] memcg_destroy_kmem_caches+0x24/0x80 mm/slab_common.c:774 3 locks held by kworker/0:6/6264: #0: ((wq_completion)"events"){+.+.}, at: [<00000000d712cbbd>] work_static include/linux/workqueue.h:198 [inline] #0: ((wq_completion)"events"){+.+.}, at: [<00000000d712cbbd>] set_work_data kernel/workqueue.c:619 [inline] #0: ((wq_completion)"events"){+.+.}, at: [<00000000d712cbbd>] set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline] #0: ((wq_completion)"events"){+.+.}, at: [<00000000d712cbbd>] process_one_work+0xb12/0x1bb0 kernel/workqueue.c:2084 #1: (slab_caches_to_rcu_destroy_work){+.+.}, at: [<0000000003090f21>] process_one_work+0xb89/0x1bb0 kernel/workqueue.c:2088 #2: (slab_mutex){+.+.}, at: [<00000000489dfcf8>] slab_caches_to_rcu_destroy_workfn+0x25/0xc0 mm/slab_common.c:556 1 lock held by blkid/13266: #0: (&bdev->bd_mutex){+.+.}, at: [<0000000022d1f5b8>] blkdev_put+0x2a/0x4f0 fs/block_dev.c:1808 1 lock held by syz-executor3/15631: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000b2be1353>] iterate_bdevs+0xc8/0x260 fs/block_dev.c:2160 1 lock held by syz-executor3/15638: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000b2be1353>] iterate_bdevs+0xc8/0x260 fs/block_dev.c:2160 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 801 Comm: khungtaskd Not tainted 4.16.0-rc6+ #366 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x24d lib/dump_stack.c:53 nmi_cpu_backtrace+0x1d2/0x210 lib/nmi_backtrace.c:103 nmi_trigger_cpumask_backtrace+0x123/0x180 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:138 [inline] check_hung_task kernel/hung_task.c:132 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:190 [inline] watchdog+0x90c/0xd60 kernel/hung_task.c:249 kthread+0x33c/0x400 kernel/kthread.c:238 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:406 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8 Comm: rcu_sched Not tainted 4.16.0-rc6+ #366 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:del_timer_sync+0x18e/0x240 kernel/time/timer.c:1294 RSP: 0018:ffff8801d9aef6b0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff8801d9aef708 RCX: 0000000000000000 RDX: 1ffffffff0dd93a5 RSI: 0000000000000001 RDI: 0000000000000282 RBP: ffff8801d9aef6d0 R08: ffff8801db3237d8 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000293 R13: ffff8801d9aef730 R14: ffff8801d9aef788 R15: 1ffffffff0dc1200 FS: 0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 0000000006e22002 CR4: 00000000001606e0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: schedule_timeout+0x124/0x230 kernel/time/timer.c:1802 rcu_gp_kthread+0x9dd/0x18e0 kernel/rcu/tree.c:2230 kthread+0x33c/0x400 kernel/kthread.c:238 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:406 Code: a6 00 00 00 f6 43 22 20 75 10 e8 5e 9b 10 00 0f 0b eb 07 e8 55 9b 10 00 f3 90 e8 4e 9b 10 00 48 89 df e8 86 e5 ff ff 85 c0 78 e8 <89> 45 e4 e8 3a 9b 10 00 8b 45 e4 48 8d 65 e8 5b 41 5c 41 5d 5d