audit: type=1400 audit(1568807001.724:32): avc: denied { map } for pid=10628 comm="getty" path="/sbin/getty" dev="sda1" ino=16170 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 INFO: task syz-executor.4:1816 blocked for more than 140 seconds. Not tainted 4.14.144+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D25312 1816 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_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+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:0x4137b0 RSP: 002b:00007ffd1f962f18 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000041072 RCX: 00000000004137b0 RDX: 00007ffd1f962faa RSI: 0000000000000002 RDI: 00007ffd1f962fa0 RBP: 00000000000002e3 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd1f962f50 R14: 000000000004104f R15: 00007ffd1f962f60 INFO: task syz-executor.3:5622 blocked for more than 140 seconds. Not tainted 4.14.144+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D24832 5622 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_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+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:0x4137b0 RSP: 002b:00007ffe33f29338 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00000000000410c3 RCX: 00000000004137b0 RDX: 00007ffe33f293ca RSI: 0000000000000002 RDI: 00007ffe33f293c0 RBP: 00000000000001b8 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe33f29370 R14: 000000000004104d R15: 00007ffe33f29380 INFO: task syz-executor.2:6324 blocked for more than 140 seconds. Not tainted 4.14.144+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D25312 6324 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_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+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:0x4137b0 RSP: 002b:00007ffd097352f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000041076 RCX: 00000000004137b0 RDX: 00007ffd0973538a RSI: 0000000000000002 RDI: 00007ffd09735380 RBP: 00000000000001ef R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd09735330 R14: 0000000000041050 R15: 00007ffd09735340 INFO: task syz-executor.5:6330 blocked for more than 140 seconds. Not tainted 4.14.144+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D25312 6330 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 lo_open+0x19/0xb0 drivers/block/loop.c:1623 __blkdev_get+0x267/0xf90 fs/block_dev.c:1472 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:0x4137b0 RSP: 002b:00007ffde8fd2998 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000041059 RCX: 00000000004137b0 RDX: 00007ffde8fd2a2a RSI: 0000000000000002 RDI: 00007ffde8fd2a20 RBP: 00000000000001ea R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffde8fd29d0 R14: 000000000004103d R15: 00007ffde8fd29e0 INFO: task syz-executor.1:10599 blocked for more than 140 seconds. Not tainted 4.14.144+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28768 10599 1806 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+0x71/0x310 drivers/block/loop.c:1982 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:0x4598e9 RSP: 002b:00007f1a5ed26c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004598e9 RDX: 0000000000000000 RSI: 0000000000004c80 RDI: 0000000000000008 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1a5ed276d4 R13: 00000000004c2fe0 R14: 00000000004d6768 R15: 00000000ffffffff INFO: task syz-executor.1:10620 blocked for more than 140 seconds. Not tainted 4.14.144+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28512 10620 1806 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:0x4598e9 RSP: 002b:00007f1a5ed05c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004598e9 RDX: 0000000000000000 RSI: 0000000000004c81 RDI: 0000000000000008 RBP: 000000000075c070 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1a5ed066d4 R13: 00000000004c300b R14: 00000000004d6798 R15: 00000000ffffffff INFO: task syz-executor.0:10607 blocked for more than 140 seconds. Not tainted 4.14.144+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D27712 10607 5616 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_set_status+0xbff/0x11f0 drivers/block/loop.c:1183 loop_set_status64+0xa5/0x100 drivers/block/loop.c:1301 lo_ioctl+0xd1/0x1a30 drivers/block/loop.c:1431 __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:0x459757 RSP: 002b:00007f9e65deb9f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f9e65dec6d4 RCX: 0000000000459757 RDX: 00007f9e65debab0 RSI: 0000000000004c04 RDI: 0000000000000007 RBP: 0000000000000005 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000202 R12: 0000000000000006 R13: 0000000000000006 R14: 0000000000000007 R15: 00000000ffffffff INFO: task blkid:10609 blocked for more than 140 seconds. Not tainted 4.14.144+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D28880 10609 3165 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 lo_open+0x19/0xb0 drivers/block/loop.c:1623 __blkdev_get+0x963/0xf90 fs/block_dev.c:1537 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:0x7f644384b120 RSP: 002b:00007fff43e9eb38 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f644384b120 RDX: 00007fff43ea0f44 RSI: 0000000000000000 RDI: 00007fff43ea0f44 RBP: 0000000000000000 R08: 0000000000000078 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001c2c030 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000005 INFO: task blkid:10613 blocked for more than 140 seconds. Not tainted 4.14.144+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D28992 10613 6111 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 lo_open+0x19/0xb0 drivers/block/loop.c:1623 __blkdev_get+0x267/0xf90 fs/block_dev.c:1472 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:0x7fa904611120 RSP: 002b:00007fff2b8135b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa904611120 RDX: 00007fff2b813f34 RSI: 0000000000000000 RDI: 00007fff2b813f34 RBP: 0000000000000000 R08: 0000000000000078 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001801030 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000005 INFO: task blkid:10614 blocked for more than 140 seconds. Not tainted 4.14.144+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D28992 10614 9276 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 lo_open+0x19/0xb0 drivers/block/loop.c:1623 __blkdev_get+0x267/0xf90 fs/block_dev.c:1472 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:0x7f221a601120 RSP: 002b:00007ffe6e976088 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f221a601120 RDX: 00007ffe6e977f34 RSI: 0000000000000000 RDI: 00007ffe6e977f34 RBP: 0000000000000000 R08: 0000000000000078 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000193d030 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000005 Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: (tasklist_lock){.+.+}, at: [<00000000368b18ae>] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4541 2 locks held by getty/1760: #0: (&tty->ldisc_sem){++++}, at: [<00000000b2421a84>] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [<00000000635d7144>] n_tty_read+0x1f7/0x1700 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.4/1816: #0: (&bdev->bd_mutex){+.+.}, at: [<000000003e7ff678>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 1 lock held by syz-executor.3/5622: #0: (&bdev->bd_mutex){+.+.}, at: [<000000003e7ff678>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 1 lock held by syz-executor.2/6324: #0: (&bdev->bd_mutex){+.+.}, at: [<000000003e7ff678>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 2 locks held by syz-executor.5/6330: #0: (&bdev->bd_mutex){+.+.}, at: [<000000003e7ff678>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [<0000000055dbfd3a>] lo_open+0x19/0xb0 drivers/block/loop.c:1623 1 lock held by syz-executor.1/10599: #0: (loop_index_mutex){+.+.}, at: [<000000000d435725>] loop_control_ioctl+0x71/0x310 drivers/block/loop.c:1982 2 locks held by syz-executor.1/10620: #0: (loop_index_mutex){+.+.}, at: [<000000000d435725>] loop_control_ioctl+0x71/0x310 drivers/block/loop.c:1982 #1: (&lo->lo_ctl_mutex#2){+.+.}, at: [<00000000e295956c>] loop_control_ioctl+0x183/0x310 drivers/block/loop.c:1996 2 locks held by syz-executor.0/10607: #0: (&lo->lo_ctl_mutex/1){+.+.}, at: [<00000000a4071a47>] lo_ioctl+0x86/0x1a30 drivers/block/loop.c:1404 #1: (&bdev->bd_mutex){+.+.}, at: [<00000000707e7c6c>] blkdev_reread_part+0x1b/0x40 block/ioctl.c:192 2 locks held by blkid/10609: #0: (&bdev->bd_mutex){+.+.}, at: [<000000003e7ff678>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [<0000000055dbfd3a>] lo_open+0x19/0xb0 drivers/block/loop.c:1623 2 locks held by blkid/10613: #0: (&bdev->bd_mutex){+.+.}, at: [<000000003e7ff678>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [<0000000055dbfd3a>] lo_open+0x19/0xb0 drivers/block/loop.c:1623 2 locks held by blkid/10614: #0: (&bdev->bd_mutex){+.+.}, at: [<000000003e7ff678>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [<0000000055dbfd3a>] lo_open+0x19/0xb0 drivers/block/loop.c:1623 2 locks held by blkid/10615: #0: (&bdev->bd_mutex){+.+.}, at: [<000000003e7ff678>] __blkdev_get+0xf3/0xf90 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [<0000000055dbfd3a>] lo_open+0x19/0xb0 drivers/block/loop.c:1623 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 23 Comm: khungtaskd Not tainted 4.14.144+ #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 skipped: idling at pc 0xffffffff8389b933