audit: type=1400 audit(1555319821.506:67): avc: denied { map } for pid=19373 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.3:19367 blocked for more than 140 seconds. Not tainted 4.14.111 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28368 19367 7030 0x00000004 Call Trace: context_switch kernel/sched/core.c:2807 [inline] __schedule+0x7be/0x1cf0 kernel/sched/core.c:3383 schedule+0x92/0x1c0 kernel/sched/core.c:3427 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3485 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 blkdev_reread_part+0x1f/0x40 block/ioctl.c:192 loop_reread_partitions+0x7c/0x90 drivers/block/loop.c:615 loop_set_status+0xc28/0x1200 drivers/block/loop.c:1184 loop_set_status64+0xa6/0xf0 drivers/block/loop.c:1302 lo_ioctl+0x5c1/0x1c70 drivers/block/loop.c:1432 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x983/0x1880 block/ioctl.c:594 block_ioctl+0xde/0x120 fs/block_dev.c:1881 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x7b9/0x1070 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692 do_syscall_64+0x1eb/0x630 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x458a97 RSP: 002b:00007f942ca999f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f942ca9a6d4 RCX: 0000000000458a97 RDX: 00007f942ca99ab0 RSI: 0000000000004c04 RDI: 0000000000000004 RBP: 0000000000000001 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000202 R12: 0000000000000003 R13: 0000000000000003 R14: 0000000000000004 R15: 00000000ffffffff INFO: task blkid:19365 blocked for more than 140 seconds. Not tainted 4.14.111 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D28512 19365 6993 0x00000004 Call Trace: context_switch kernel/sched/core.c:2807 [inline] __schedule+0x7be/0x1cf0 kernel/sched/core.c:3383 schedule+0x92/0x1c0 kernel/sched/core.c:3427 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3485 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 __lo_release drivers/block/loop.c:1644 [inline] lo_release+0x84/0x1b0 drivers/block/loop.c:1668 __blkdev_put+0x436/0x7f0 fs/block_dev.c:1791 blkdev_put+0x88/0x510 fs/block_dev.c:1856 blkdev_close+0x8b/0xb0 fs/block_dev.c:1863 __fput+0x277/0x7a0 fs/file_table.c:210 ____fput+0x16/0x20 fs/file_table.c:244 task_work_run+0x119/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1da/0x220 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+0x4a9/0x630 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x7f8fd523c2b0 RSP: 002b:00007ffd54ea47a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f8fd523c2b0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000015f3030 R13: 0000000000000000 R14: 0000000000000003 R15: 0000000000000005 INFO: task blkid:19366 blocked for more than 140 seconds. Not tainted 4.14.111 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D29040 19366 6994 0x00000004 Call Trace: context_switch kernel/sched/core.c:2807 [inline] __schedule+0x7be/0x1cf0 kernel/sched/core.c:3383 schedule+0x92/0x1c0 kernel/sched/core.c:3427 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3485 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 lo_open+0x1d/0xb0 drivers/block/loop.c:1624 __blkdev_get+0x2c9/0x1120 fs/block_dev.c:1472 blkdev_get+0xa8/0x8e0 fs/block_dev.c:1612 blkdev_open+0x1d1/0x260 fs/block_dev.c:1770 do_dentry_open+0x73e/0xeb0 fs/open.c:758 vfs_open+0x105/0x230 fs/open.c:872 do_last fs/namei.c:3425 [inline] path_openat+0x8bd/0x3f70 fs/namei.c:3566 do_filp_open+0x18e/0x250 fs/namei.c:3600 do_sys_open+0x2c5/0x430 fs/open.c:1065 SYSC_open fs/open.c:1083 [inline] SyS_open+0x2d/0x40 fs/open.c:1078 do_syscall_64+0x1eb/0x630 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x7f4b0f974120 RSP: 002b:00007ffe652a90a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4b0f974120 RDX: 00007ffe652a9f34 RSI: 0000000000000000 RDI: 00007ffe652a9f34 RBP: 0000000000000000 R08: 0000000000000078 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001db4030 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000005 INFO: task blkid:19368 blocked for more than 140 seconds. Not tainted 4.14.111 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D28368 19368 7111 0x00000004 Call Trace: context_switch kernel/sched/core.c:2807 [inline] __schedule+0x7be/0x1cf0 kernel/sched/core.c:3383 schedule+0x92/0x1c0 kernel/sched/core.c:3427 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3485 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 lo_open+0x1d/0xb0 drivers/block/loop.c:1624 __blkdev_get+0x2c9/0x1120 fs/block_dev.c:1472 blkdev_get+0xa8/0x8e0 fs/block_dev.c:1612 blkdev_open+0x1d1/0x260 fs/block_dev.c:1770 do_dentry_open+0x73e/0xeb0 fs/open.c:758 vfs_open+0x105/0x230 fs/open.c:872 do_last fs/namei.c:3425 [inline] path_openat+0x8bd/0x3f70 fs/namei.c:3566 do_filp_open+0x18e/0x250 fs/namei.c:3600 do_sys_open+0x2c5/0x430 fs/open.c:1065 SYSC_open fs/open.c:1083 [inline] SyS_open+0x2d/0x40 fs/open.c:1078 do_syscall_64+0x1eb/0x630 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x7fd6f791a120 RSP: 002b:00007ffd7e8b3e18 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd6f791a120 RDX: 00007ffd7e8b4f41 RSI: 0000000000000000 RDI: 00007ffd7e8b4f41 RBP: 0000000000000000 R08: 0000000000000078 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001d92030 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000005 INFO: task blkid:19370 blocked for more than 140 seconds. Not tainted 4.14.111 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D29040 19370 7204 0x00000004 Call Trace: context_switch kernel/sched/core.c:2807 [inline] __schedule+0x7be/0x1cf0 kernel/sched/core.c:3383 schedule+0x92/0x1c0 kernel/sched/core.c:3427 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3485 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 lo_open+0x1d/0xb0 drivers/block/loop.c:1624 __blkdev_get+0xab1/0x1120 fs/block_dev.c:1537 blkdev_get+0xa8/0x8e0 fs/block_dev.c:1612 blkdev_open+0x1d1/0x260 fs/block_dev.c:1770 do_dentry_open+0x73e/0xeb0 fs/open.c:758 vfs_open+0x105/0x230 fs/open.c:872 do_last fs/namei.c:3425 [inline] path_openat+0x8bd/0x3f70 fs/namei.c:3566 do_filp_open+0x18e/0x250 fs/namei.c:3600 do_sys_open+0x2c5/0x430 fs/open.c:1065 SYSC_open fs/open.c:1083 [inline] SyS_open+0x2d/0x40 fs/open.c:1078 do_syscall_64+0x1eb/0x630 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x7f439814f120 RSP: 002b:00007ffe1cc1cd68 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f439814f120 RDX: 00007ffe1cc1ef41 RSI: 0000000000000000 RDI: 00007ffe1cc1ef41 RBP: 0000000000000000 R08: 0000000000000078 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001d11030 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000005 Showing all locks held in the system: 1 lock held by khungtaskd/1009: #0: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0x7f/0x21f kernel/locking/lockdep.c:4544 1 lock held by rsyslogd/6863: #0: (&f->f_pos_lock){+.+.}, at: [] __fdget_pos+0xab/0xd0 fs/file.c:769 2 locks held by getty/6986: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:377 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17b0 drivers/tty/n_tty.c:2156 2 locks held by getty/6987: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:377 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17b0 drivers/tty/n_tty.c:2156 2 locks held by getty/6988: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:377 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17b0 drivers/tty/n_tty.c:2156 2 locks held by getty/6989: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:377 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17b0 drivers/tty/n_tty.c:2156 2 locks held by getty/6990: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:377 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17b0 drivers/tty/n_tty.c:2156 2 locks held by getty/6991: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:377 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17b0 drivers/tty/n_tty.c:2156 2 locks held by getty/6992: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:377 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17b0 drivers/tty/n_tty.c:2156 2 locks held by syz-executor.3/19367: #0: (loop_ctl_mutex/1){+.+.}, at: [] lo_ioctl+0x87/0x1c70 drivers/block/loop.c:1405 #1: (&bdev->bd_mutex){+.+.}, at: [] blkdev_reread_part+0x1f/0x40 block/ioctl.c:192 3 locks held by blkid/19365: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_put+0xa6/0x7f0 fs/block_dev.c:1778 #1: (loop_index_mutex){+.+.}, at: [] lo_release+0x1e/0x1b0 drivers/block/loop.c:1667 #2: (loop_ctl_mutex#2){+.+.}, at: [] __lo_release drivers/block/loop.c:1644 [inline] #2: (loop_ctl_mutex#2){+.+.}, at: [] lo_release+0x84/0x1b0 drivers/block/loop.c:1668 2 locks held by blkid/19366: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0x145/0x1120 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [] lo_open+0x1d/0xb0 drivers/block/loop.c:1624 2 locks held by blkid/19368: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0x145/0x1120 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [] lo_open+0x1d/0xb0 drivers/block/loop.c:1624 2 locks held by blkid/19370: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0x145/0x1120 fs/block_dev.c:1457 #1: (loop_index_mutex){+.+.}, at: [] lo_open+0x1d/0xb0 drivers/block/loop.c:1624 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1009 Comm: khungtaskd Not tainted 4.14.111 #1 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+0x138/0x19c lib/dump_stack.c:53 nmi_cpu_backtrace.cold+0x57/0x94 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x141/0x189 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:140 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:194 [inline] watchdog+0x5d8/0xb80 kernel/hung_task.c:250 kthread+0x31c/0x430 kernel/kthread.c:232 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:402 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 79 Comm: kworker/u4:3 Not tainted 4.14.111 #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker task: ffff8880a98e8540 task.stack: ffff8880a98f0000 RIP: 0010:batadv_nc_purge_paths+0xe1/0x350 net/batman-adv/network-coding.c:451 RSP: 0018:ffff8880a98f7c68 EFLAGS: 00000246 RAX: 1ffff1101310afb0 RBX: ffff88806a5a5200 RCX: 0000000077f47a40 RDX: 1ffff1100d4b4a42 RSI: ffff8880a98e8e10 RDI: ffff88806a5a5204 RBP: ffff8880a98f7ce0 R08: 00000000000024dd R09: ffffffff88c8aaa8 R10: ffff8880a98e8e10 R11: ffff8880a98e8540 R12: 0000000000000000 R13: dffffc0000000000 R14: ffffffff8602ea40 R15: ffff88806a506880 FS: 0000000000000000(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000002186000 CR3: 000000008c8dc000 CR4: 00000000001406f0 Call Trace: batadv_nc_worker+0x270/0x6d0 net/batman-adv/network-coding.c:729 process_one_work+0x868/0x1610 kernel/workqueue.c:2114 worker_thread+0x5d9/0x1050 kernel/workqueue.c:2248 kthread+0x31c/0x430 kernel/kthread.c:232 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:402 Code: d0 48 6b db 38 48 03 58 08 48 89 df 48 89 5d c0 e8 75 c1 17 00 4c 89 e0 48 c1 e8 03 42 80 3c 28 00 0f 85 c4 01 00 00 4d 8b 24 24 <4c> 8b 7d 98 eb 23 e8 04 f8 59 fb e8 af f2 d5 fe 85 c0 0f 85 65