audit: type=1400 audit(1550746873.674:122311): avc: denied { map } for pid=29228 comm="getty" path="/etc/ld.so.cache" dev="sda1" ino=2503 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 INFO: task syz-executor.2:29155 blocked for more than 140 seconds. Not tainted 4.14.102+ #17 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28808 29155 27692 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3495 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3553 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x559/0x1430 kernel/locking/mutex.c:893 blkdev_put+0x27/0x4c0 fs/block_dev.c:1814 blkdev_close+0x86/0xb0 fs/block_dev.c:1863 __fput+0x25e/0x700 fs/file_table.c:210 task_work_run+0x118/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x13b/0x160 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:267 [inline] do_syscall_64+0x372/0x4b0 arch/x86/entry/common.c:294 INFO: task syz-executor.5:29172 blocked for more than 140 seconds. Not tainted 4.14.102+ #17 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D29120 29172 27705 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3495 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3553 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x559/0x1430 kernel/locking/mutex.c:893 __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 blkdev_get+0x97/0x8b0 fs/block_dev.c:1612 blkdev_open+0x1cc/0x250 fs/block_dev.c:1770 do_dentry_open+0x41b/0xd60 fs/open.c:764 vfs_open+0x105/0x230 fs/open.c:878 do_last fs/namei.c:3455 [inline] path_openat+0xb6b/0x2b70 fs/namei.c:3597 do_filp_open+0x1a1/0x280 fs/namei.c:3631 do_sys_open+0x2ca/0x590 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 INFO: task syz-executor.5:29174 blocked for more than 140 seconds. Not tainted 4.14.102+ #17 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28440 29174 27705 0x00000004 Call Trace: schedule+0x92/0x1c0 kernel/sched/core.c:3495 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3553 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x559/0x1430 kernel/locking/mutex.c:893 __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 blkdev_get+0x97/0x8b0 fs/block_dev.c:1612 blkdev_open+0x1cc/0x250 fs/block_dev.c:1770 do_dentry_open+0x41b/0xd60 fs/open.c:764 vfs_open+0x105/0x230 fs/open.c:878 do_last fs/namei.c:3455 [inline] path_openat+0xb6b/0x2b70 fs/namei.c:3597 do_filp_open+0x1a1/0x280 fs/namei.c:3631 do_sys_open+0x2ca/0x590 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: (tasklist_lock){.+.?}, at: [] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4541 1 lock held by rsyslogd/1630: #0: (&f->f_pos_lock){+.+.}, at: [] __fdget_pos+0xa6/0xc0 fs/file.c:768 2 locks held by getty/1758: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:275 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1f7/0x1700 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.2/29155: #0: (&bdev->bd_mutex){+.+.}, at: [] blkdev_put+0x27/0x4c0 fs/block_dev.c:1814 2 locks held by syz-executor.0/29162: #0: (loop_ctl_mutex/1){+.+.}, at: [] lo_ioctl+0x83/0x1970 drivers/block/loop.c:1404 #1: (&bdev->bd_mutex){+.+.}, at: [] blkdev_reread_part+0x1b/0x40 block/ioctl.c:192 2 locks held by syz-executor.0/29165: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_put+0xb1/0x6d0 fs/block_dev.c:1778 #1: (loop_ctl_mutex){+.+.}, at: [] lo_release+0x19/0x170 drivers/block/loop.c:1643 1 lock held by syz-executor.5/29172: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 1 lock held by syz-executor.5/29174: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 1 lock held by blkid/29196: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 23 Comm: khungtaskd Not tainted 4.14.102+ #17 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xb9/0x10e lib/dump_stack.c:53 nmi_cpu_backtrace.cold+0x47/0x86 lib/nmi_backtrace.c:101 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1628 Comm: rs:main Q:Reg Not tainted 4.14.102+ #17 task: ffff8881d50d2f00 task.stack: ffff8881d49c0000 RIP: 0010:__lock_acquire+0x7d9/0x3fa0 kernel/locking/lockdep.c:3498 RSP: 0000:ffff8881d49c7ac0 EFLAGS: 00000002 RAX: dffffc0000000000 RBX: 00000000815746ca RCX: 000000008f8956e3 RDX: ffff8881d50d3720 RSI: ffff8881d50d3780 RDI: 0000000000000000 RBP: ffff8881d49c7c80 R08: 0000000000000000 R09: 0000000000020025 R10: ffff8881d50d3780 R11: 0000000000000000 R12: ffff8881d50d3798 R13: 00000000d464b6c9 R14: 9afd3a4b55bbfd93 R15: ffff8881d50d2f00 FS: 00007f52aee1a700(0000) GS:ffff8881db900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c42a439000 CR3: 00000001d4f8a003 CR4: 00000000001606a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: Code: c0 03 38 d0 7c 08 84 d2 0f 85 30 27 00 00 8b 15 8e 7d 41 02 85 d2 0f 84 11 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 54 24 60 <48> c1 ea 03 80 3c 02 00 0f 85 f6 26 00 00 48 8b 54 24 70 4d 89