audit: type=1400 audit(1568012165.259:93): avc: denied { map } for pid=19256 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.2:19190 blocked for more than 140 seconds. Not tainted 4.19.71 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28360 19190 8380 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x866/0x1dc0 kernel/sched/core.c:3474 schedule+0x92/0x1c0 kernel/sched/core.c:3518 schedule_timeout+0x8c8/0xfc0 kernel/time/timer.c:1780 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x29c/0x440 kernel/sched/completion.c:136 kthread_stop+0x116/0x6c0 kernel/kthread.c:550 sdr_cap_stop_streaming+0x213/0x330 drivers/media/platform/vivid/vivid-sdr-cap.c:301 __vb2_queue_cancel+0xb1/0x790 drivers/media/common/videobuf2/videobuf2-core.c:1682 vb2_core_streamoff+0x60/0x150 drivers/media/common/videobuf2/videobuf2-core.c:1816 __vb2_cleanup_fileio+0x78/0x170 drivers/media/common/videobuf2/videobuf2-core.c:2343 vb2_core_queue_release+0x20/0x80 drivers/media/common/videobuf2/videobuf2-core.c:2070 vb2_queue_release drivers/media/common/videobuf2/videobuf2-v4l2.c:671 [inline] _vb2_fop_release+0x1cf/0x2a0 drivers/media/common/videobuf2/videobuf2-v4l2.c:842 vb2_fop_release+0x75/0xc0 drivers/media/common/videobuf2/videobuf2-v4l2.c:856 vivid_fop_release+0x18e/0x430 drivers/media/platform/vivid/vivid-core.c:474 v4l2_release+0xf9/0x1a0 drivers/media/v4l2-core/v4l2-dev.c:448 __fput+0x2dd/0x8b0 fs/file_table.c:278 ____fput+0x16/0x20 fs/file_table.c:309 task_work_run+0x145/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x273/0x2c0 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x53d/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4598e9 Code: 70 c0 00 48 83 fb 10 7c 54 48 89 f7 48 83 fb 20 0f 87 8d 00 00 00 48 8d 44 1e f0 eb 15 f3 0f 6f 0f 66 0f 74 c8 66 0f d7 d1 0f d2 75 25 48 83 c7 10 48 39 c7 72 e6 48 89 c7 f3 0f 6f 08 66 0f RSP: 002b:00007f795fb31c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000127 RAX: 0000000000001000 RBX: 0000000000000004 RCX: 00000000004598e9 RDX: 0000000000000001 RSI: 0000000020000340 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f795fb326d4 R13: 00000000004c6bd1 R14: 00000000004dbe08 R15: 00000000ffffffff Showing all locks held in the system: 2 locks held by kworker/u4:0/7: #0: 00000000bc9b5182 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1821 [inline] #0: 00000000bc9b5182 (&rq->lock){-.-.}, at: __schedule+0x1f8/0x1dc0 kernel/sched/core.c:3412 #1: 00000000d6a65a97 (rcu_read_lock){....}, at: __update_idle_core+0x45/0x3f0 kernel/sched/fair.c:6049 1 lock held by khungtaskd/1038: #0: 00000000d6a65a97 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4435 2 locks held by rsyslogd/7304: #0: 00000000aaa4c74e (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:767 #1: 00000000bc9b5182 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1821 [inline] #1: 00000000bc9b5182 (&rq->lock){-.-.}, at: __schedule+0x1f8/0x1dc0 kernel/sched/core.c:3412 2 locks held by getty/7426: #0: 00000000bc06e960 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000d3b71c11 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7427: #0: 00000000c0a6d80d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 000000003b272be7 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7428: #0: 00000000b2c124ba (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 0000000056a26ee4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7429: #0: 00000000e5b92a9c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000cf301d1d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7430: #0: 00000000916d8b0c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 0000000079dfe534 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7431: #0: 00000000bd6cf45b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 000000008ff8cefe (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7432: #0: 0000000046b3c19c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000782bcf56 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1038 Comm: khungtaskd Not tainted 4.19.71 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x172/0x1f0 lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b0/0x1f8 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:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x9df/0xee0 kernel/hung_task.c:287 kthread+0x354/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7 Comm: kworker/u4:0 Not tainted 4.19.71 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:rcu_dynticks_curr_cpu_in_eqs+0x7f/0xb0 kernel/rcu/tree.c:351 Code: b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 14 02 4c 89 e0 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 14 8b 43 10 48 83 c4 08 5b <41> 5c 5d d1 e8 83 f0 01 83 e0 01 c3 4c 89 e7 e8 dd 55 48 00 eb e2 RSP: 0018:ffff8880aa21fcb8 EFLAGS: 00000292 RAX: 00000000000928f2 RBX: ffff8880a0297500 RCX: ffffffff8159a3d1 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880ae923990 RBP: ffff8880aa21fcc0 R08: 1ffff11015d24732 R09: ffffed1015d24733 R10: ffffed1015d24732 R11: ffff8880ae923993 R12: ffff8880ae923990 R13: 00000000000000af R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6f45ddd9b8 CR3: 00000000a7c78000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_is_watching+0x10/0x30 kernel/rcu/tree.c:1025 rcu_read_unlock include/linux/rcupdate.h:677 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:423 [inline] batadv_nc_worker+0x485/0x760 net/batman-adv/network-coding.c:730 process_one_work+0x989/0x1750 kernel/workqueue.c:2153 worker_thread+0x98/0xe40 kernel/workqueue.c:2296 kthread+0x354/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415