[....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 16.443967] random: sshd: uninitialized urandom read (32 bytes read, 32 bits of entropy available) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 20.495421] random: sshd: uninitialized urandom read (32 bytes read, 37 bits of entropy available) [ 20.752493] random: sshd: uninitialized urandom read (32 bytes read, 37 bits of entropy available) [ 21.599341] random: sshd: uninitialized urandom read (32 bytes read, 100 bits of entropy available) [ 40.292076] random: sshd: uninitialized urandom read (32 bytes read, 116 bits of entropy available) Warning: Permanently added '10.128.0.21' (ECDSA) to the list of known hosts. [ 45.670719] random: sshd: uninitialized urandom read (32 bytes read, 123 bits of entropy available) executing program [ 45.768193] ================================================================== [ 45.775591] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0xf9/0x110 [ 45.782580] Read of size 8 at addr ffff8801d18ec140 by task syzkaller402628/3333 [ 45.790089] [ 45.791688] CPU: 0 PID: 3333 Comm: syzkaller402628 Not tainted 4.4.111-gc2f631b #27 [ 45.799449] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 45.808775] 0000000000000000 a6ddc28abc8b20d3 ffff8801d00efab0 ffffffff81d0513d [ 45.816742] ffffea0007463b00 ffff8801d18ec140 0000000000000000 ffff8801d18ec140 [ 45.824711] ffff8801d1afc438 ffff8801d00efae8 ffffffff814fd433 ffff8801d18ec140 [ 45.832680] Call Trace: [ 45.835238] [] dump_stack+0xc1/0x124 [ 45.840573] [] print_address_description+0x73/0x260 [ 45.847209] [] kasan_report+0x285/0x370 [ 45.852807] [] ? sg_remove_request+0xf9/0x110 [ 45.858935] [] __asan_report_load8_noabort+0x14/0x20 [ 45.865657] [] sg_remove_request+0xf9/0x110 [ 45.871599] [] sg_finish_rem_req+0x295/0x340 [ 45.877634] [] sg_read+0xa21/0x1490 [ 45.882883] [] ? sg_proc_seq_show_debug+0xd30/0xd30 [ 45.889524] [] ? new_slab+0x2df/0x3b0 [ 45.894944] [] ? sg_proc_seq_show_debug+0xd30/0xd30 [ 45.901582] [] __vfs_read+0x103/0x440 [ 45.907001] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 45.913984] [] ? vfs_iter_write+0x2d0/0x2d0 [ 45.919927] [] ? fsnotify+0x5ad/0xee0 [ 45.925344] [] ? fsnotify+0xee0/0xee0 [ 45.930774] [] ? lockdep_init_map+0xeb/0x1690 [ 45.936893] [] ? avc_policy_seqno+0x9/0x20 [ 45.942749] [] ? selinux_file_permission+0x348/0x460 [ 45.949472] [] ? security_file_permission+0x89/0x1e0 [ 45.956199] [] ? rw_verify_area+0x100/0x2f0 [ 45.962152] [] vfs_read+0x123/0x3a0 [ 45.967399] [] SyS_read+0xd9/0x1b0 [ 45.972566] [] ? do_sendfile+0xd30/0xd30 [ 45.978248] [] ? lockdep_sys_exit_thunk+0x12/0x14 [ 45.984713] [] entry_SYSCALL_64_fastpath+0x16/0x92 [ 45.991273] [ 45.992870] Allocated by task 0: [ 45.996200] (stack is not available) [ 45.999890] [ 46.001491] Freed by task 0: [ 46.004490] (stack is not available) [ 46.008169] [ 46.009777] The buggy address belongs to the object at ffff8801d18ec100 [ 46.009777] which belongs to the cache fasync_cache of size 96 [ 46.022405] The buggy address is located 64 bytes inside of [ 46.022405] 96-byte region [ffff8801d18ec100, ffff8801d18ec160) [ 46.034074] The buggy address belongs to the page: [ 46.691404] kasan: CONFIG_KASAN_INLINE enabled [ 46.695835] kasan: GPF could be caused by NULL-ptr deref or user memory accesskasan: CONFIG_KASAN_INLINE enabled [ 46.706755] BUG: unable to handle kernel paging request at fffffffe04f2a300 [ 46.706760] IP: [] cpuacct_charge+0x155/0x390 [ 46.706772] PGD 420f067 PUD 0 [ 46.706777] Oops: 0000 [#1] PREEMPT SMP KASAN [ 46.706784] Dumping ftrace buffer: [ 46.706787] (ftrace buffer empty) [ 46.706788] Modules linked in: [ 46.706794] CPU: 1 PID: 3323 Comm: getty Not tainted 4.4.111-gc2f631b #27 [ 46.706796] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.706798] task: ffff8801d0cc8000 task.stack: ffff8801d0840000 [ 46.706800] RIP: 0010:[] [] cpuacct_charge+0x155/0x390 [ 46.706807] RSP: 0018:ffff8801db307a20 EFLAGS: 00010046 [ 46.706809] RAX: 1ffffffff0854dff RBX: 0000000000018528 RCX: ffffffff847ea080 [ 46.706812] RDX: fffffbffc09e5460 RSI: fffffffe04f2a300 RDI: ffffffff842a6ff8 [ 46.706814] RBP: ffff8801db307a68 R08: 0000000000000000 R09: 0000000000000000 [ 46.706816] R10: ffffed0043fffa09 R11: 0000000000000000 R12: ffffffff842a6f20 [ 46.706818] R13: dffffc0000000000 R14: 00000000380c2e7e R15: ffffffffd00e8050 [ 46.706821] FS: 0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 [ 46.706823] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 46.706825] CR2: fffffffe04f2a300 CR3: 00000001d2902000 CR4: 0000000000160670 [ 46.706830] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 46.706831] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 46.706832] Stack: [ 46.706833] ffffffff8122a4a0 ffffffff81d4976e 0000000000000000 ffff8801db307a78 [ 46.706838] ffff8800b59a47a0 ffffffff83843900 00000000380c2e7e ffff8800b59a47f0 [ 46.706843] ffff8800b59a4740 ffff8801db307ab8 ffffffff811dc017 ffff8801db21f4c0 [ 46.706847] Call Trace: [ 46.706848] [ 46.706853] [] ? cpuacct_charge+0x60/0x390 [ 46.706859] [] ? find_next_bit+0x3e/0x50 [ 46.706863] [] update_curr+0x2c7/0x6c0 [ 46.706867] [] enqueue_task_fair+0x313/0x2940 [ 46.706873] [] ? sched_clock_cpu+0x15f/0x1e0 [ 46.706877] [] activate_task+0x148/0x270 [ 46.706881] [] ttwu_do_activate.constprop.131+0xbf/0x1e0 [ 46.706884] [] try_to_wake_up+0x68d/0xf60 [ 46.706889] [] ? debug_lockdep_rcu_enabled+0x77/0x90 [ 46.706893] [] ? update_load_avg+0x7f1/0x1b80 [ 46.706896] [] default_wake_function+0x35/0x50 [ 46.706900] [] autoremove_wake_function+0x13/0x90 [ 46.706904] [] ? check_preemption_disabled+0x3b/0x200 [ 46.706908] [] __wake_up_common+0xb4/0x150 [ 46.706911] [] __wake_up+0x34/0x50 [ 46.706916] [] wake_up_klogd_work_func+0x56/0x80 [ 46.706923] [] irq_work_run_list+0xca/0x140 [ 46.706926] [] irq_work_tick+0x10e/0x170 [ 46.706931] [] update_process_times+0x52/0x70 [ 46.706937] [] tick_sched_handle.isra.16+0x55/0xf0 [ 46.706940] [] tick_sched_timer+0x72/0x120 [ 46.706943] [] ? tick_sched_do_timer+0xa0/0xa0 [ 46.706947] [] __hrtimer_run_queues+0x306/0xfe0 [ 46.706950] [] ? hrtimer_fixup_init+0x70/0x70 [ 46.706954] [] ? hrtimer_interrupt+0x131/0x440 [ 46.706958] [] hrtimer_interrupt+0x1a6/0x440 [ 46.706963] [] local_apic_timer_interrupt+0x6a/0xb0 [ 46.706968] [] smp_apic_timer_interrupt+0x76/0xa0 [ 46.706972] [] apic_timer_interrupt+0xa0/0xb0 [ 46.706973] [ 46.706976] [] ? console_unlock+0x790/0xa00 [ 46.706980] [] ? console_unlock+0x79a/0xa00 [ 46.706983] [] ? _raw_spin_unlock_irqrestore+0x45/0x70 [ 46.706987] [] ? vprintk_emit+0x323/0x850 [ 46.706990] [] vprintk_emit+0x55e/0x850 [ 46.706993] [] vprintk+0x28/0x30 [ 46.706997] [] vprintk_default+0x1d/0x30 [ 46.707000] [] printk+0xb7/0xe2 [ 46.707004] [] ? pm_qos_get_value.part.4+0xb/0xb [ 46.707008] [] ? __module_text_address+0x13/0x140 [ 46.707013] [] ? is_module_text_address+0x2a/0x50 [ 46.707017] [] ? kasan_die_handler+0x25/0x40 [ 46.707020] [] kasan_die_handler+0x31/0x40 [ 46.707024] [] notifier_call_chain+0x95/0x1b0 [ 46.707028] [] atomic_notifier_call_chain+0x7b/0x140 [ 46.707031] [] ? __atomic_notifier_call_chain+0x150/0x150 [ 46.707034] [] notify_die+0xdf/0x160 [ 46.707037] [] ? atomic_notifier_call_chain+0x140/0x140 [ 46.707042] [] ? __rb_erase_color+0xc5/0x1460 [ 46.707046] [] ? search_exception_tables+0x31/0x40 [ 46.707050] [] do_general_protection+0x2f7/0x390 [ 46.707054] [] general_protection+0x28/0x30 [ 46.707058] [] ? vmacache_find+0x290/0x290 [ 46.707062] [] ? __rb_erase_color+0xc5/0x1460 [ 46.707065] [] vma_interval_tree_remove+0x88a/0xde0 [ 46.707070] [] __remove_shared_vm_struct+0xb5/0xe0 [ 46.707074] [] unlink_file_vma+0x83/0xb0 [ 46.707077] [] free_pgtables+0x226/0x330 [ 46.707081] [] exit_mmap+0x1e3/0x3a0 [ 46.707084] [] ? SyS_remap_file_pages+0x960/0x960 [ 46.707089] [] ? __might_sleep+0x90/0x1a0 [ 46.707093] [] mmput+0xf8/0x2d0 [ 46.707097] [] do_exit+0x75b/0x2a20 [ 46.707100] [] ? debug_object_free+0x202/0x3a0 [ 46.707104] [] ? hrtimer_nanosleep+0x284/0x530 [ 46.707107] [] ? release_task+0x1240/0x1240 [ 46.707111] [] ? clock_was_set_work+0x30/0x30 [ 46.707117] [] ? do_nanosleep+0x19c/0x4f0 [ 46.707120] [] do_group_exit+0x108/0x320 [ 46.707124] [] ? lockdep_sys_exit_thunk+0x12/0x14 [ 46.707128] [] SyS_exit_group+0x1d/0x20 [ 46.707131] [] entry_SYSCALL_64_fastpath+0x16/0x92 [ 46.707132] Code: 49 8d bc 24 d8 00 00 00 48 89 f8 48 c1 e8 03 42 80 3c 28 00 0f 85 9e 01 00 00 49 8b 9c 24 d8 00 00 00 80 3a 00 0f 85 0a 02 00 00 <4a> 03 1c f9 48 89 d8 48 c1 e8 03 42 80 3c 28 00 0f 85 cf 01 00 [ 46.707189] RIP [] cpuacct_charge+0x155/0x390 [ 46.707193] RSP [ 46.707195] CR2: fffffffe04f2a300 [ 46.707199] ---[ end trace 65cdcf4e76791b72 ]--- [ 46.707201] Kernel panic - not syncing: Fatal exception in interrupt [ 47.601567] PANIC: double fault, error_code: 0x0 [ 47.601577] CPU: 0 PID: 3333 Comm: syzkaller402628 Tainted: G D 4.4.111-gc2f631b #27 [ 47.601579] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 47.601582] task: ffff8800b59a4740 task.stack: ffff8801d00e8000 [ 47.601585] RIP: 0010:[] [] dump_page_badflags+0x8/0x250 [ 47.601600] RSP: 0018:ffff880100000000 EFLAGS: 00010046 [ 47.601602] RAX: ffff8800b59a4740 RBX: ffffea0007463b00 RCX: ffffffff8148f980 [ 47.601605] RDX: 0000000000000000 RSI: ffffffff838a8360 RDI: ffffea0007463b00 [ 47.601607] RBP: ffff880100000010 R08: 0000000000000001 R09: 0000000000000000 [ 47.601615] R10: 0000000000000002 R11: fffffbfff0ad781e R12: 0000000000000000 [ 47.601617] R13: ffffffff838a8360 R14: 0000000000000000 R15: 0000000000000000 [ 47.601620] FS: 0000000000846880(0063) GS:ffff8801db200000(0000) knlGS:0000000000000000 [ 47.601623] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 47.601625] CR2: ffff8800fffffff8 CR3: 00000001d0bb6000 CR4: 0000000000160670 [ 47.601631] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 47.601633] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 47.601633] Stack: [ 47.601634] [ 47.601635] Call Trace: [ 47.601637] Code: 00 e9 83 fd ff ff e8 a8 e2 06 00 e9 50 fd ff ff e8 9e e2 06 00 e9 1d fd ff ff 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 <41> 55 49 89 f5 41 54 49 89 d4 53 48 89 fb 48 83 ec 08 e8 61 06 [ 47.765787] Shutting down cpus with NMI [ 47.766178] Dumping ftrace buffer: [ 47.766180] (ftrace buffer empty) [ 47.766182] Kernel Offset: disabled [ 48.585918] Rebooting in 86400 seconds..