[....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 15.113179] random: sshd: uninitialized urandom read (32 bytes read, 33 bits of entropy available) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 20.503393] random: sshd: uninitialized urandom read (32 bytes read, 38 bits of entropy available) [ 20.912216] random: sshd: uninitialized urandom read (32 bytes read, 38 bits of entropy available) [ 21.704180] random: sshd: uninitialized urandom read (32 bytes read, 91 bits of entropy available) [ 21.882975] random: sshd: uninitialized urandom read (32 bytes read, 96 bits of entropy available) Warning: Permanently added '10.128.0.8' (ECDSA) to the list of known hosts. [ 27.270849] random: sshd: uninitialized urandom read (32 bytes read, 107 bits of entropy available) executing program executing program executing program [ 27.377913] ================================================================== [ 27.385326] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0xf9/0x110 [ 27.392315] Read of size 8 at addr ffff8800b5d5d140 by task syzkaller074153/3314 [ 27.399821] [ 27.401434] CPU: 1 PID: 3314 Comm: syzkaller074153 Not tainted 4.4.111-g3301b55 #24 [ 27.409197] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.418519] 0000000000000000 a6beab5b2e25a328 ffff8801d09279f0 ffffffff81d0509d [ 27.426471] ffffea0002d75740 ffff8800b5d5d140 0000000000000000 ffff8800b5d5d140 [ 27.434418] ffff8801d098a338 ffff8801d0927a28 ffffffff814fd433 ffff8800b5d5d140 [ 27.442374] Call Trace: [ 27.444931] [] dump_stack+0xc1/0x124 [ 27.450260] [] print_address_description+0x73/0x260 [ 27.456891] [] kasan_report+0x285/0x370 [ 27.462482] [] ? sg_remove_request+0xf9/0x110 [ 27.468592] [] __asan_report_load8_noabort+0x14/0x20 [ 27.475317] [] sg_remove_request+0xf9/0x110 [ 27.481255] [] sg_finish_rem_req+0x295/0x340 [ 27.487281] [] sg_read+0xa21/0x1490 [ 27.492527] [] ? __check_object_size+0x154/0x35b [ 27.498898] [] ? sg_proc_seq_show_debug+0xd30/0xd30 [ 27.505529] [] ? fsnotify+0xee0/0xee0 [ 27.510946] [] ? avc_policy_seqno+0x9/0x20 [ 27.516797] [] do_loop_readv_writev+0x141/0x1e0 [ 27.523083] [] ? security_file_permission+0x89/0x1e0 [ 27.529804] [] ? sg_proc_seq_show_debug+0xd30/0xd30 [ 27.536438] [] ? sg_proc_seq_show_debug+0xd30/0xd30 [ 27.543069] [] do_readv_writev+0x5dd/0x6e0 [ 27.548918] [] ? vfs_write+0x530/0x530 [ 27.554426] [] ? _raw_spin_unlock+0x2c/0x50 [ 27.560363] [] ? do_huge_pmd_anonymous_page+0x3dd/0xa10 [ 27.567342] [] ? __fget+0x20b/0x3b0 [ 27.572582] [] ? __fget+0x232/0x3b0 [ 27.577825] [] ? __fget+0x47/0x3b0 [ 27.582980] [] vfs_readv+0x78/0xb0 [ 27.588135] [] SyS_readv+0xd9/0x240 [ 27.593377] [] ? rw_copy_check_uvector+0x2d0/0x2d0 [ 27.599921] [] ? trace_hardirqs_on_thunk+0x17/0x19 [ 27.606466] [] entry_SYSCALL_64_fastpath+0x16/0x92 [ 27.613006] [ 27.614612] Allocated by task 0: [ 27.617941] (stack is not available) [ 27.621619] [ 27.623210] Freed by task 0: [ 27.626190] (stack is not available) [ 27.629863] [ 27.631458] The buggy address belongs to the object at ffff8800b5d5d100 [ 27.631458] which belongs to the cache fasync_cache of size 96 [ 27.644078] The buggy address is located 64 bytes inside of [ 27.644078] 96-byte region [ffff8800b5d5d100, ffff8800b5d5d160) [ 27.655740] The buggy address belongs to the page: [ 29.265471] PANIC: double fault, error_code: 0x0 [ 29.270243] CPU: 1 PID: 3314 Comm: syzkaller074153 Not tainted 4.4.111-g3301b55 #24 [ 29.278002] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.287323] task: ffff8800b59edf00 task.stack: ffff8801d0920000 [ 29.293350] RIP: 0010:[] [] dump_page_badflags+0x8/0x250 [ 29.302098] RSP: 0018:ffff880100000000 EFLAGS: 00010046 [ 29.307513] RAX: ffff8800b59edf00 RBX: ffffea0002d75740 RCX: ffffffff8148f980 [ 29.314751] RDX: 0000000000000000 RSI: ffffffff838a83a0 RDI: ffffea0002d75740 [ 29.321986] RBP: ffff880100000010 R08: 0000000000000001 R09: 0000000000000000 [ 29.329222] R10: 0000000000000002 R11: fffffbfff0ad781e R12: 0000000000000000 [ 29.336458] R13: ffffffff838a83a0 R14: 0000000000000000 R15: 0000000000000000 [ 29.343697] FS: 00007fec9532e700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 [ 29.351889] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 29.357735] CR2: ffff8800fffffff8 CR3: 00000000b4a10000 CR4: 0000000000160670 [ 29.364974] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 29.372213] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 29.379448] Stack: [ 29.381562] [ 29.383156] Call Trace: [ 29.385702] [ 29.387727] 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 [ 29.414509] Kernel panic - not syncing: Machine halted. [ 29.419840] CPU: 1 PID: 3314 Comm: syzkaller074153 Not tainted 4.4.111-g3301b55 #24 [ 29.427604] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.436927] 0000000000000000 a6beab5b2e25a328 ffff8801db30ce38 ffffffff81d0509d [ 29.444885] ffffffff838367c0 ffff8801db30cf10 ffffffff83808040 ffff880100000000 [ 29.452829] 0000000000000000 ffff8801db30cf00 ffffffff81419a3a 0000000041b58ab3 [ 29.460780] Call Trace: [ 29.463327] <#DF> [] dump_stack+0xc1/0x124 [ 29.469490] [] panic+0x1aa/0x388 [ 29.474475] [] ? percpu_up_read.constprop.45+0xe1/0xe1 [ 29.481370] [] ? vprintk_emit+0x242/0x850 [ 29.487133] [] ? dump_page_badflags+0x1d/0x250 [ 29.493331] [] ? vprintk_emit+0x242/0x850 [ 29.499094] [] df_debug+0x2d/0x30 [ 29.504166] [] do_double_fault+0x10b/0x210 [ 29.510032] [] double_fault+0x2d/0x40 [ 29.515446] [] ? dump_page_badflags+0x180/0x250 [ 29.521729] [] ? dump_page_badflags+0x8/0x250 [ 29.527835] <> [ 29.531223] Dumping ftrace buffer: [ 29.535068] (ftrace buffer empty) [ 29.538742] Kernel Offset: disabled [ 29.542341] Rebooting in 86400 seconds..