audit: type=1400 audit(1578639775.446:36): avc: denied { map } for pid=7289 comm="syz-executor580" path="/root/syz-executor580505589" dev="sda1" ino=1426 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 INFO: task syz-executor580:7297 blocked for more than 140 seconds. Not tainted 4.14.163-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor580 D28528 7297 7293 0x00000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x7b8/0x1cd0 kernel/sched/core.c:3384 schedule+0x92/0x1c0 kernel/sched/core.c:3428 schedule_timeout+0x93b/0xe10 kernel/time/timer.c:1723 __down_common kernel/locking/semaphore.c:221 [inline] __down+0x160/0x290 kernel/locking/semaphore.c:238 down+0x64/0x90 kernel/locking/semaphore.c:62 console_lock+0x28/0x80 kernel/printk/printk.c:2216 do_fb_ioctl+0x36a/0x940 drivers/video/fbdev/core/fbmem.c:1121 fb_ioctl+0xe6/0x130 drivers/video/fbdev/core/fbmem.c:1242 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x7ae/0x1060 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x441419 RSP: 002b:00007ffe6a8e38b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441419 RDX: 0000000020000000 RSI: 0000000000004601 RDI: 0000000000000003 RBP: 00000000006cb018 R08: 00000000004002c8 R09: 00000000004002c8 R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000402190 R13: 0000000000402220 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor580:7299 blocked for more than 140 seconds. Not tainted 4.14.163-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor580 D28528 7299 7294 0x00000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x7b8/0x1cd0 kernel/sched/core.c:3384 schedule+0x92/0x1c0 kernel/sched/core.c:3428 schedule_timeout+0x93b/0xe10 kernel/time/timer.c:1723 __down_common kernel/locking/semaphore.c:221 [inline] __down+0x160/0x290 kernel/locking/semaphore.c:238 down+0x64/0x90 kernel/locking/semaphore.c:62 console_lock+0x28/0x80 kernel/printk/printk.c:2216 do_fb_ioctl+0x36a/0x940 drivers/video/fbdev/core/fbmem.c:1121 fb_ioctl+0xe6/0x130 drivers/video/fbdev/core/fbmem.c:1242 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x7ae/0x1060 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x441419 RSP: 002b:00007ffe6a8e38b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441419 RDX: 0000000020000000 RSI: 0000000000004601 RDI: 0000000000000003 RBP: 00000000006cb018 R08: 00000000004002c8 R09: 00000000004002c8 R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000402190 R13: 0000000000402220 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor580:7301 blocked for more than 140 seconds. Not tainted 4.14.163-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor580 D28528 7301 7290 0x00000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x7b8/0x1cd0 kernel/sched/core.c:3384 schedule+0x92/0x1c0 kernel/sched/core.c:3428 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3486 __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 fb_open+0xb7/0x420 drivers/video/fbdev/core/fbmem.c:1468 chrdev_open+0x207/0x590 fs/char_dev.c:423 do_dentry_open+0x73b/0xeb0 fs/open.c:777 vfs_open+0x105/0x220 fs/open.c:891 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:1084 SYSC_openat fs/open.c:1111 [inline] SyS_openat+0x30/0x40 fs/open.c:1105 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x441419 RSP: 002b:00007ffe6a8e38b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441419 RDX: 0000000000000000 RSI: 0000000020000180 RDI: ffffffffffffff9c RBP: 00000000006cb018 R08: 0000000000000004 R09: 00000000004002c8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402190 R13: 0000000000402220 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/1059: #0: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0x7f/0x21f kernel/locking/lockdep.c:4544 1 lock held by rsyslogd/7142: #0: (&f->f_pos_lock){+.+.}, at: [] __fdget_pos+0xab/0xd0 fs/file.c:769 2 locks held by getty/7264: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7265: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7266: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7267: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7268: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7269: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156 2 locks held by getty/7270: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156 1 lock held by syz-executor580/7296: #0: (&fb_info->lock){+.+.}, at: [] fb_release+0x55/0x150 drivers/video/fbdev/core/fbmem.c:1497 1 lock held by syz-executor580/7300: #0: (&fb_info->lock){+.+.}, at: [] fb_open+0xb7/0x420 drivers/video/fbdev/core/fbmem.c:1468 1 lock held by syz-executor580/7301: #0: (&fb_info->lock){+.+.}, at: [] fb_open+0xb7/0x420 drivers/video/fbdev/core/fbmem.c:1468 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1059 Comm: khungtaskd Not tainted 4.14.163-syzkaller #0 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+0x142/0x197 lib/dump_stack.c:58 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:195 [inline] watchdog+0x5e7/0xb90 kernel/hung_task.c:274 kthread+0x319/0x430 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7298 Comm: syz-executor580 Not tainted 4.14.163-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880892ca500 task.stack: ffff88807ef68000 RIP: 0010:bitfill_aligned drivers/video/fbdev/core/cfbfillrect.c:63 [inline] RIP: 0010:bitfill_aligned+0xba/0x190 drivers/video/fbdev/core/cfbfillrect.c:35 RSP: 0018:ffff88807ef6f210 EFLAGS: 00000246 RAX: 0000000000000050 RBX: 0000000000001400 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff8880000a0000 RDI: 0000000000000040 RBP: ffff88807ef6f248 R08: 0000000000001400 R09: 0000000000000040 R10: ffffed1014bd7983 R11: ffff8880a5ebcc1f R12: 0000000000000000 R13: 0000000000000000 R14: ffff8880000a0000 R15: 0000000000000000 FS: 0000000001a5b880(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000006cb090 CR3: 00000000930b9000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cfb_fillrect+0x3d0/0x720 drivers/video/fbdev/core/cfbfillrect.c:327 vga16fb_fillrect+0x618/0x1880 drivers/video/fbdev/vga16fb.c:951 bit_clear_margins+0x2d5/0x4f0 drivers/video/fbdev/core/bitblit.c:232 fbcon_clear_margins+0x292/0x320 drivers/video/fbdev/core/fbcon.c:1317 fbcon_switch+0xd38/0x1820 drivers/video/fbdev/core/fbcon.c:2299 redraw_screen+0x335/0x7c0 drivers/tty/vt/vt.c:688 fbcon_modechanged+0x59e/0x880 drivers/video/fbdev/core/fbcon.c:2946 fbcon_set_all_vcs+0x35f/0x420 drivers/video/fbdev/core/fbcon.c:2984 fbcon_event_notify+0x75/0x17af drivers/video/fbdev/core/fbcon.c:3302 notifier_call_chain+0x111/0x1b0 kernel/notifier.c:93 __blocking_notifier_call_chain kernel/notifier.c:317 [inline] __blocking_notifier_call_chain kernel/notifier.c:304 [inline] blocking_notifier_call_chain kernel/notifier.c:328 [inline] blocking_notifier_call_chain+0x80/0xa0 kernel/notifier.c:325 fb_notifier_call_chain+0x25/0x30 drivers/video/fbdev/core/fb_notify.c:45 fb_set_var+0xb09/0xcf0 drivers/video/fbdev/core/fbmem.c:1054 do_fb_ioctl+0x3cc/0x940 drivers/video/fbdev/core/fbmem.c:1127 fb_ioctl+0xe6/0x130 drivers/video/fbdev/core/fbmem.c:1242 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x7ae/0x1060 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x441419 RSP: 002b:00007ffe6a8e38b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441419 RDX: 0000000020000000 RSI: 0000000000004601 RDI: 0000000000000003 RBP: 00000000006cb018 R08: 00000000004002c8 R09: 00000000004002c8 R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000402190 R13: 0000000000402220 R14: 0000000000000000 R15: 0000000000000000 Code: 30 fe 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 4b ea 30 fe 45 85 e4 0f 85 b1 00 00 00 e8 3d ea 30 fe 89 d8 31 d2 f7 75 d4 <83> f8 07 89 c3 41 89 c4 76 49 44 8d 60 f8 41 c1 ec 03 49 83 c4