Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 32.339602] random: sshd: uninitialized urandom read (32 bytes read) [ 32.727045] kauditd_printk_skb: 10 callbacks suppressed [ 32.727053] audit: type=1400 audit(1575396900.771:35): avc: denied { map } for pid=6977 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 [ 32.782170] random: sshd: uninitialized urandom read (32 bytes read) [ 33.334119] random: sshd: uninitialized urandom read (32 bytes read) [ 153.293224] audit: type=1400 audit(1575397021.341:36): avc: denied { map } for pid=6986 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 [ 892.380581] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.1.22' (ECDSA) to the list of known hosts. [ 897.937850] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program executing program executing program executing program executing program [ 898.050867] audit: type=1400 audit(1575397766.101:37): avc: denied { map } for pid=6993 comm="syz-executor573" path="/root/syz-executor573273926" 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 executing program executing program [ 1144.800345] INFO: task syz-executor573:7000 blocked for more than 140 seconds. [ 1144.800354] Not tainted 4.14.157-syzkaller #0 [ 1144.800357] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 1144.800410] syz-executor573 D28528 7000 6999 0x00000004 [ 1144.800429] Call Trace: [ 1144.800532] __schedule+0x7b8/0x1cd0 [ 1144.800546] ? firmware_map_remove+0x196/0x196 [ 1144.800557] ? __lock_acquire+0x5f7/0x4620 [ 1144.800567] schedule+0x92/0x1c0 [ 1144.800575] schedule_timeout+0x93b/0xe10 [ 1144.800582] ? __down+0x158/0x290 [ 1144.800590] ? find_held_lock+0x35/0x130 [ 1144.800598] ? usleep_range+0x130/0x130 [ 1144.800604] ? __down+0x158/0x290 [ 1144.800613] ? save_trace+0x290/0x290 [ 1144.800624] ? _raw_spin_unlock_irq+0x28/0x90 [ 1144.800633] ? trace_hardirqs_on_caller+0x400/0x590 [ 1144.800643] __down+0x160/0x290 [ 1144.800653] ? ww_mutex_lock+0xc0/0xc0 [ 1144.800667] down+0x64/0x90 [ 1144.800676] console_lock+0x28/0x80 [ 1144.800715] do_fb_ioctl+0x36a/0x940 [ 1144.800723] ? lock_downgrade+0x740/0x740 [ 1144.800730] ? fb_read+0x520/0x520 [ 1144.800771] ? avc_has_extended_perms+0x8ec/0xe40 [ 1144.800779] ? do_raw_spin_unlock+0x16b/0x260 [ 1144.800790] ? avc_ss_reset+0x110/0x110 [ 1144.800828] ? follow_pfn+0x220/0x220 [ 1144.800837] ? do_raw_spin_unlock+0x16b/0x260 [ 1144.800847] ? do_wp_page+0x253/0x1250 [ 1144.800865] ? __might_sleep+0x93/0xb0 [ 1144.800872] ? save_trace+0x290/0x290 [ 1144.800883] fb_ioctl+0xe6/0x130 [ 1144.800891] ? do_fb_ioctl+0x940/0x940 [ 1144.800926] do_vfs_ioctl+0x7ae/0x1060 [ 1144.800952] ? selinux_file_mprotect+0x5d0/0x5d0 [ 1144.800962] ? ioctl_preallocate+0x1c0/0x1c0 [ 1144.800970] ? lock_downgrade+0x740/0x740 [ 1144.800985] ? security_file_ioctl+0x7d/0xb0 [ 1144.800992] ? security_file_ioctl+0x89/0xb0 [ 1144.801003] SyS_ioctl+0x8f/0xc0 [ 1144.801010] ? do_vfs_ioctl+0x1060/0x1060 [ 1144.801022] do_syscall_64+0x1e8/0x640 [ 1144.801030] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 1144.801042] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 1144.801050] RIP: 0033:0x441419 [ 1144.801055] RSP: 002b:00007ffc4f812b38 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 1144.801064] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441419 [ 1144.801069] RDX: 0000000020000000 RSI: 0000000000004601 RDI: 0000000000000003 [ 1144.801074] RBP: 00000000006cb018 R08: 00000000004002c8 R09: 00000000004002c8 [ 1144.801078] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000402190 [ 1144.801083] R13: 0000000000402220 R14: 0000000000000000 R15: 0000000000000000 [ 1144.801102] INFO: task syz-executor573:7003 blocked for more than 140 seconds. [ 1144.801106] Not tainted 4.14.157-syzkaller #0 [ 1144.801109] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 1144.801113] syz-executor573 D28528 7003 6998 0x00000004 [ 1144.801130] Call Trace: [ 1144.801144] __schedule+0x7b8/0x1cd0 [ 1144.801156] ? firmware_map_remove+0x196/0x196 [ 1144.801163] ? __lock_acquire+0x5f7/0x4620 [ 1144.801174] schedule+0x92/0x1c0 [ 1144.801185] schedule_timeout+0x93b/0xe10 [ 1144.801192] ? __down+0x158/0x290 [ 1144.801200] ? find_held_lock+0x35/0x130 [ 1144.801208] ? usleep_range+0x130/0x130 [ 1144.801213] ? __down+0x158/0x290 [ 1144.801222] ? save_trace+0x290/0x290 [ 1144.801233] ? _raw_spin_unlock_irq+0x28/0x90 [ 1144.801242] ? trace_hardirqs_on_caller+0x400/0x590 [ 1144.801252] __down+0x160/0x290 [ 1144.801262] ? ww_mutex_lock+0xc0/0xc0 [ 1144.801276] down+0x64/0x90 [ 1144.801284] console_lock+0x28/0x80 [ 1144.801290] do_fb_ioctl+0x36a/0x940 [ 1144.801298] ? __lock_is_held+0xb6/0x140 [ 1144.801304] ? fb_read+0x520/0x520 [ 1144.801311] ? save_trace+0x290/0x290 [ 1144.801324] ? trace_hardirqs_on+0x10/0x10 [ 1144.801332] ? save_trace+0x290/0x290 [ 1144.801375] ? check_preemption_disabled+0x3c/0x250 [ 1144.801384] ? finish_task_switch+0x178/0x650 [ 1144.801393] ? find_held_lock+0x35/0x130 [ 1144.801401] ? finish_task_switch+0x178/0x650 [ 1144.801413] ? speculation_ctrl_update_current+0x50/0x50 [ 1144.801435] ? __schedule+0x7c0/0x1cd0 [ 1144.801445] fb_ioctl+0xe6/0x130 [ 1144.801453] ? do_fb_ioctl+0x940/0x940 [ 1144.801460] do_vfs_ioctl+0x7ae/0x1060 [ 1144.801468] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 1144.801478] ? ioctl_preallocate+0x1c0/0x1c0 [ 1144.801487] ? retint_kernel+0x2d/0x2d [ 1144.801504] SyS_ioctl+0x8f/0xc0 [ 1144.801512] ? do_vfs_ioctl+0x1060/0x1060 [ 1144.801521] do_syscall_64+0x1e8/0x640 [ 1144.801530] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 1144.801543] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 1144.801549] RIP: 0033:0x441419 [ 1144.801553] RSP: 002b:00007ffc4f812b38 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 1144.801561] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441419 [ 1144.801566] RDX: 0000000020000000 RSI: 0000000000004601 RDI: 0000000000000003 [ 1144.801571] RBP: 00000000006cb018 R08: 00000000004002c8 R09: 00000000004002c8 [ 1144.801576] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000402190 [ 1144.801580] R13: 0000000000402220 R14: 0000000000000000 R15: 0000000000000000 [ 1144.801597] [ 1144.801597] Showing all locks held in the system: [ 1144.801607] 1 lock held by khungtaskd/1034: [ 1144.801611] #0: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0x7f/0x21f [ 1144.801644] 1 lock held by rsyslogd/6844: [ 1144.801646] #0: (&f->f_pos_lock){+.+.}, at: [] __fdget_pos+0xab/0xd0 [ 1144.801678] 2 locks held by getty/6966: [ 1144.801681] #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 [ 1144.801698] #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17b0 [ 1144.801747] 2 locks held by getty/6967: [ 1144.801749] #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 [ 1144.801766] #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17b0 [ 1144.801786] 2 locks held by getty/6968: [ 1144.801788] #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 [ 1144.801805] #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17b0 [ 1144.801824] 2 locks held by getty/6969: [ 1144.801827] #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 [ 1144.801844] #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17b0 [ 1144.801863] 2 locks held by getty/6970: [ 1144.801865] #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 [ 1144.801882] #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17b0 [ 1144.801901] 2 locks held by getty/6971: [ 1144.801904] #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 [ 1144.801921] #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17b0 [ 1144.801940] 2 locks held by getty/6972: [ 1144.801943] #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 [ 1144.801959] #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17b0 [ 1144.801982] 1 lock held by syz-executor573/7001: [ 1144.801985] #0: (&fb_info->lock){+.+.}, at: [] fb_release+0x55/0x150 [ 1144.802004] 1 lock held by syz-executor573/7006: [ 1144.802006] #0: (&fb_info->lock){+.+.}, at: [] fb_open+0xb7/0x420 [ 1144.802052] 1 lock held by syz-executor573/7007: [ 1144.802055] #0: (&fb_info->lock){+.+.}, at: [] fb_open+0xb7/0x420 [ 1144.802071] [ 1144.802074] ============================================= [ 1144.802074] [ 1144.802080] NMI backtrace for cpu 0 [ 1144.802088] CPU: 0 PID: 1034 Comm: khungtaskd Not tainted 4.14.157-syzkaller #0 [ 1144.802093] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1144.802096] Call Trace: [ 1144.802145] dump_stack+0x142/0x197 [ 1144.802156] nmi_cpu_backtrace.cold+0x57/0x94 [ 1144.802166] ? irq_force_complete_move.cold+0x7d/0x7d [ 1144.802175] nmi_trigger_cpumask_backtrace+0x141/0x189 [ 1144.802185] arch_trigger_cpumask_backtrace+0x14/0x20 [ 1144.802229] watchdog+0x5e7/0xb90 [ 1144.802244] kthread+0x319/0x430 [ 1144.802251] ? hungtask_pm_notify+0x50/0x50 [ 1144.802258] ? kthread_create_on_node+0xd0/0xd0 [ 1144.802267] ret_from_fork+0x24/0x30 [ 1144.802283] Sending NMI from CPU 0 to CPUs 1: [ 1144.802834] NMI backtrace for cpu 1 [ 1144.802838] CPU: 1 PID: 7002 Comm: syz-executor573 Not tainted 4.14.157-syzkaller #0 [ 1144.802841] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1144.802843] task: ffff88808a7a6480 task.stack: ffff88809a488000 [ 1144.802846] RIP: 0010:__sanitizer_cov_trace_pc+0x23/0x60 [ 1144.802848] RSP: 0018:ffff88809a48f268 EFLAGS: 00000246 [ 1144.802852] RAX: ffff88808a7a6480 RBX: 0000000000001400 RCX: 0000000000000000 [ 1144.802855] RDX: 0000000000000000 RSI: ffff8880000a0000 RDI: ffff8882192bc8c0 [ 1144.802858] RBP: ffff88809a48f2a8 R08: 0000000000001400 R09: 0000000000000040 [ 1144.802865] R10: ffffed104323d9c3 R11: ffff8882191ece1f R12: 0000000000000000 [ 1144.802868] R13: 0000000000000000 R14: ffff8880000a0000 R15: 0000000000000000 [ 1144.802871] FS: 0000000001edf880(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 [ 1144.802873] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1144.802876] CR2: 0000000001ee88b8 CR3: 000000009df73000 CR4: 00000000001406e0 [ 1144.802878] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1144.802881] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1144.802882] Call Trace: [ 1144.802884] ? bitfill_aligned+0x2f/0x190 [ 1144.802886] cfb_fillrect+0x3d0/0x720 [ 1144.802888] ? cfb_fillrect+0x720/0x720 [ 1144.802890] vga16fb_fillrect+0x618/0x1880 [ 1144.802892] ? memcpy+0x46/0x50 [ 1144.802893] bit_clear_margins+0x2d5/0x4f0 [ 1144.802895] ? bit_bmove+0x240/0x240 [ 1144.802897] ? efifb_probe.cold+0x1379/0x1379 [ 1144.802899] fbcon_clear_margins+0x292/0x320 [ 1144.802901] fbcon_switch+0xd38/0x1820 [ 1144.802903] ? fbcon_set_def_font+0x360/0x360 [ 1144.802905] ? fbcon_set_origin+0x21/0x50 [ 1144.802907] ? fbcon_scrolldelta+0x1100/0x1100 [ 1144.802909] ? set_origin+0x108/0x3c0 [ 1144.802911] redraw_screen+0x335/0x7c0 [ 1144.802913] ? con_flush_chars+0x90/0x90 [ 1144.802915] ? fbcon_set_palette+0x203/0x5b0 [ 1144.802916] fbcon_modechanged+0x59e/0x880 [ 1144.802918] fbcon_event_notify+0x11f/0x17af [ 1144.802920] ? lock_acquire+0x16f/0x430 [ 1144.802922] notifier_call_chain+0x111/0x1b0 [ 1144.802924] blocking_notifier_call_chain+0x80/0xa0 [ 1144.802926] fb_notifier_call_chain+0x25/0x30 [ 1144.802928] fb_set_var+0xb09/0xcf0 [ 1144.802930] ? fb_set_suspend+0x110/0x110 [ 1144.802932] ? lock_acquire+0x16f/0x430 [ 1144.802934] ? lock_fb_info+0x1f/0x80 [ 1144.802935] ? lock_fb_info+0x1f/0x80 [ 1144.802937] ? __mutex_lock+0x36a/0x1470 [ 1144.802939] ? trace_hardirqs_on+0x10/0x10 [ 1144.802941] ? lock_acquire+0x16f/0x430 [ 1144.802943] ? __down+0x16b/0x290 [ 1144.802945] ? mutex_trylock+0x1c0/0x1c0 [ 1144.802946] ? down+0x70/0x90 [ 1144.802948] ? mutex_lock_nested+0x16/0x20 [ 1144.802950] ? mutex_lock_nested+0x16/0x20 [ 1144.802952] do_fb_ioctl+0x3cc/0x940 [ 1144.802954] ? fb_read+0x520/0x520 [ 1144.802956] ? avc_has_extended_perms+0x8ec/0xe40 [ 1144.802958] ? do_raw_spin_unlock+0x16b/0x260 [ 1144.802959] ? avc_ss_reset+0x110/0x110 [ 1144.802961] ? follow_pfn+0x220/0x220 [ 1144.802963] ? do_raw_spin_unlock+0x16b/0x260 [ 1144.802965] ? do_wp_page+0x253/0x1250 [ 1144.802967] ? __might_sleep+0x93/0xb0 [ 1144.802969] ? save_trace+0x290/0x290 [ 1144.802970] fb_ioctl+0xe6/0x130 [ 1144.802972] ? do_fb_ioctl+0x940/0x940 [ 1144.802974] do_vfs_ioctl+0x7ae/0x1060 [ 1144.802976] ? selinux_file_mprotect+0x5d0/0x5d0 [ 1144.802978] ? ioctl_preallocate+0x1c0/0x1c0 [ 1144.802980] ? lock_downgrade+0x740/0x740 [ 1144.802982] ? security_file_ioctl+0x7d/0xb0 [ 1144.802984] ? security_file_ioctl+0x89/0xb0 [ 1144.802986] SyS_ioctl+0x8f/0xc0 [ 1144.802988] ? do_vfs_ioctl+0x1060/0x1060 [ 1144.802990] do_syscall_64+0x1e8/0x640 [ 1144.802992] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 1144.802995] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 1144.802996] RIP: 0033:0x441419 [ 1144.802998] RSP: 002b:00007ffc4f812b38 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 1144.803003] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441419 [ 1144.803006] RDX: 0000000020000000 RSI: 0000000000004601 RDI: 0000000000000003 [ 1144.803009] RBP: 00000000006cb018 R08: 00000000004002c8 R09: 00000000004002c8 [ 1144.803011] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000402190 [ 1144.803014] R13: 0000000000402220 R14: 0000000000000000 R15: 0000000000000000 [ 1144.803015] Code: 00 00 00 e9 14 ec ff ff 65 48 8b 04 25 40 ee 01 00 48 85 c0 74 1a 65 8b 15 1b c8 a4 7e 81 e2 00 01 1f 00 75 0b 8b 90 c8 12 00 00 <83> fa 01 74 01 c3 55 48 89 e5 48 8b 75 08 48 8b 88 d0 12 00 00 [ 1144.803298] Kernel panic - not syncing: hung_task: blocked tasks [ 1144.803309] CPU: 0 PID: 1034 Comm: khungtaskd Not tainted 4.14.157-syzkaller #0 [ 1144.803313] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1144.803316] Call Trace: [ 1144.803324] dump_stack+0x142/0x197 [ 1144.803335] panic+0x1f9/0x42d [ 1144.803342] ? add_taint.cold+0x16/0x16 [ 1144.803353] ? irq_force_complete_move.cold+0x7d/0x7d [ 1144.803369] watchdog+0x5f8/0xb90 [ 1144.803382] kthread+0x319/0x430 [ 1144.803389] ? hungtask_pm_notify+0x50/0x50 [ 1144.803395] ? kthread_create_on_node+0xd0/0xd0 [ 1144.803404] ret_from_fork+0x24/0x30 [ 1144.806229] Kernel Offset: disabled