audit: type=1400 audit(1572196621.458:74): avc: denied { map } for pid=23894 comm="sh" path="/bin/dash" dev="sda1" ino=1473 scontext=system_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 INFO: task syz-executor.0:5861 blocked for more than 140 seconds. Not tainted 4.14.150+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D25008 5861 1 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3498 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3556 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x595/0x13e0 kernel/locking/mutex.c:893 blkdev_reread_part+0x1b/0x40 block/ioctl.c:192 loop_reread_partitions+0x7f/0x90 drivers/block/loop.c:614 loop_clr_fd+0x835/0xad0 drivers/block/loop.c:1068 lo_ioctl+0x460/0x1a30 drivers/block/loop.c:1414 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x8d0/0x1870 block/ioctl.c:594 block_ioctl+0xd9/0x120 fs/block_dev.c:1881 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0xabe/0x1040 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459da7 RSP: 002b:00007fff7d0815e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459da7 RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003 RBP: 0000000000000e88 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff7d081620 R14: 0000000000080817 R15: 00007fff7d081630 INFO: task syz-executor.3:23828 blocked for more than 140 seconds. Not tainted 4.14.150+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D27472 23828 23450 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3498 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3556 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x595/0x13e0 kernel/locking/mutex.c:893 loop_control_ioctl+0x183/0x310 drivers/block/loop.c:1996 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0xabe/0x1040 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459f39 RSP: 002b:00007fa97d0f6c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459f39 RDX: 0000000000000000 RSI: 0000000000004c81 RDI: 0000000000000005 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa97d0f76d4 R13: 00000000004c3852 R14: 00000000004d77a8 R15: 00000000ffffffff INFO: task syz-executor.4:23830 blocked for more than 140 seconds. Not tainted 4.14.150+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D27432 23830 1839 0x80000002 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3498 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3556 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x595/0x13e0 kernel/locking/mutex.c:893 lo_release+0x1b/0x1a0 drivers/block/loop.c:1666 __blkdev_put+0x518/0x6d0 fs/block_dev.c:1791 blkdev_close+0x86/0xb0 fs/block_dev.c:1863 __fput+0x25e/0x710 fs/file_table.c:210 task_work_run+0x125/0x1a0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x9cb/0x2a20 kernel/exit.c:875 do_group_exit+0x100/0x2e0 kernel/exit.c:978 get_signal+0x39f/0x1cc0 kernel/signal.c:2422 do_signal+0x96/0x15d0 arch/x86/kernel/signal.c:814 exit_to_usermode_loop+0x11d/0x160 arch/x86/entry/common.c:160 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x3a3/0x520 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459f39 RSP: 002b:00007fa65ca50cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000075bf28 RCX: 0000000000459f39 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000075bf28 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000075bf2c R13: 00007fff3f291d6f R14: 00007fa65ca519c0 R15: 000000000075bf2c INFO: task blkid:23831 blocked for more than 140 seconds. Not tainted 4.14.150+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D26992 23831 19700 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3498 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3556 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x595/0x13e0 kernel/locking/mutex.c:893 __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 __blkdev_get+0x6d6/0xf90 fs/block_dev.c:1517 blkdev_get+0x97/0x8b0 fs/block_dev.c:1612 blkdev_open+0x1cc/0x250 fs/block_dev.c:1770 do_dentry_open+0x44e/0xe20 fs/open.c:789 vfs_open+0x105/0x230 fs/open.c:903 do_last fs/namei.c:3539 [inline] path_openat+0xb6c/0x2be0 fs/namei.c:3681 do_filp_open+0x1a1/0x280 fs/namei.c:3715 do_sys_open+0x2ca/0x590 fs/open.c:1096 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x7fef9b5ae120 RSP: 002b:00007ffee5573428 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fef9b5ae120 RDX: 00007ffee5573f20 RSI: 0000000000000000 RDI: 00007ffee5573f20 RBP: 0000000000000000 R08: 0000000000000078 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000f77030 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000005 Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: (tasklist_lock){.+.+}, at: [<00000000bbe4a962>] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4544 1 lock held by rsyslogd/1629: #0: (&f->f_pos_lock){+.+.}, at: [<00000000d6f07061>] __fdget_pos+0xb5/0xd0 fs/file.c:769 2 locks held by getty/1757: #0: (&tty->ldisc_sem){++++}, at: [<00000000cac18453>] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [<0000000087fce6df>] n_tty_read+0x1f7/0x1700 drivers/tty/n_tty.c:2156 2 locks held by syz-executor.0/5861: #0: (&lo->lo_ctl_mutex/1){+.+.}, at: [<0000000081be1bec>] lo_ioctl+0x86/0x1a30 drivers/block/loop.c:1404 #1: (&bdev->bd_mutex){+.+.}, at: [<00000000ddcab655>] blkdev_reread_part+0x1b/0x40 block/ioctl.c:192 2 locks held by syz-executor.3/23828: #0: (loop_index_mutex){+.+.}, at: [<00000000723ed3b0>] loop_control_ioctl+0x71/0x310 drivers/block/loop.c:1982 #1: (&lo->lo_ctl_mutex#2){+.+.}, at: [<000000005f34ca28>] loop_control_ioctl+0x183/0x310 drivers/block/loop.c:1996 2 locks held by syz-executor.4/23830: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000e7fa1fa8>] __blkdev_put+0xb1/0x6d0 fs/block_dev.c:1778 #1: (loop_index_mutex){+.+.}, at: [<00000000972625bb>] lo_release+0x1b/0x1a0 drivers/block/loop.c:1666 2 locks held by blkid/23831: #0: (&bdev->bd_mutex){+.+.}, at: [<00000000c183f66e>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (&bdev->bd_mutex/1){+.+.}, at: [<00000000c183f66e>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 23 Comm: khungtaskd Not tainted 4.14.150+ #0 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xca/0x134 lib/dump_stack.c:53 nmi_cpu_backtrace.cold+0x47/0x86 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x119/0x147 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:140 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:195 [inline] watchdog+0x629/0xbe0 kernel/hung_task.c:274 kthread+0x31f/0x430 kernel/kthread.c:232 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:404 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.150+ #0 task: 00000000797f9178 task.stack: 00000000e9949c7d RIP: 0010:tick_nohz_idle_exit+0x0/0x320 kernel/time/tick-sched.c:1179 RSP: 0018:ffff8881daa8fd90 EFLAGS: 00000202 RAX: 0000000080200008 RBX: ffffed103b54e5e0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000296 RBP: ffff8881daa72f00 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffff8881daa72f00 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffeeda14000 CR3: 0000000075426005 CR4: 00000000001606a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_idle+0x212/0x390 kernel/sched/idle.c:281 cpu_startup_entry+0xc6/0xd0 kernel/sched/idle.c:374 start_secondary+0x3a8/0x4b0 arch/x86/kernel/smpboot.c:272 secondary_startup_64+0xa5/0xb0 arch/x86/kernel/head_64.S:240 Code: 89 ef 48 89 c6 e8 a1 e3 ff ff 48 83 c4 08 5d e9 07 4c 08 00 e8 52 18 2b 00 eb c9 48 89 04 24 e8 57 18 2b 00 48 8b 04 24 eb 88 90 <41> 56 41 55 41 54 55 48 c7 c5 c0 4f 02 00 48 83 ec 08 e8 d9 4b