[ 18.669563] random: sshd: uninitialized urandom read (32 bytes read, 31 bits of entropy available) [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 21.996753] random: sshd: uninitialized urandom read (32 bytes read, 37 bits of entropy available) [ 22.461379] random: sshd: uninitialized urandom read (32 bytes read, 37 bits of entropy available) [ 23.376984] random: sshd: uninitialized urandom read (32 bytes read, 115 bits of entropy available) [ 23.536366] random: sshd: uninitialized urandom read (32 bytes read, 119 bits of entropy available) Warning: Permanently added '10.128.0.36' (ECDSA) to the list of known hosts. [ 28.917741] random: sshd: uninitialized urandom read (32 bytes read, 125 bits of entropy available) executing program [ 29.003034] ================================================================== [ 29.010418] BUG: KASAN: slab-out-of-bounds in pfkey_add+0x270e/0x3490 [ 29.016971] Read of size 4096 at addr ffff8801c7a20a40 by task syzkaller588092/3783 [ 29.024751] [ 29.026353] CPU: 1 PID: 3783 Comm: syzkaller588092 Not tainted 4.4.116-g17c7c49 #17 [ 29.034112] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.043436] 0000000000000000 ae7e7e5870b0dc88 ffff8801c50b7778 ffffffff81d03f6d [ 29.051406] ffffea00071e8800 ffff8801c7a20a40 0000000000000000 ffff8801c7a20c00 [ 29.059370] ffff8801c50b79b8 ffff8801c50b77b0 ffffffff814fe1c3 ffff8801c7a20a40 [ 29.067344] Call Trace: [ 29.069903] [] dump_stack+0xc1/0x124 [ 29.075239] [] print_address_description+0x73/0x260 [ 29.081874] [] kasan_report+0x285/0x370 [ 29.087469] [] ? pfkey_add+0x270e/0x3490 [ 29.093153] [] check_memory_region+0x137/0x190 [ 29.099354] [] memcpy+0x23/0x50 [ 29.104251] [] pfkey_add+0x270e/0x3490 [ 29.109756] [] ? pfkey_delete+0x370/0x370 [ 29.115523] [] ? pfkey_add+0x3490/0x3490 [ 29.121206] [] ? __skb_clone+0x24a/0x7d0 [ 29.126890] [] ? pfkey_delete+0x370/0x370 [ 29.132655] [] pfkey_process+0x68b/0x750 [ 29.138340] [] ? pfkey_send_new_mapping+0x11b0/0x11b0 [ 29.145164] [] pfkey_sendmsg+0x3a9/0x760 [ 29.150851] [] ? pfkey_spdget+0x820/0x820 [ 29.156621] [] sock_sendmsg+0xca/0x110 [ 29.162134] [] ___sys_sendmsg+0x6c1/0x7c0 [ 29.167905] [] ? ___slab_alloc.constprop.76+0x3fd/0x530 [ 29.174888] [] ? copy_msghdr_from_user+0x550/0x550 [ 29.181440] [] ? check_preemption_disabled+0x3b/0x200 [ 29.188251] [] ? __lru_cache_add+0x164/0x240 [ 29.194281] [] ? do_huge_pmd_anonymous_page+0x549/0xa10 [ 29.201263] [] ? _raw_spin_unlock+0x2c/0x50 [ 29.207200] [] ? do_huge_pmd_anonymous_page+0x3dd/0xa10 [ 29.214182] [] ? __fget_light+0xa1/0x1e0 [ 29.219863] [] ? __fdget+0x18/0x20 [ 29.225025] [] __sys_sendmsg+0xd3/0x190 [ 29.230619] [] ? SyS_shutdown+0x1b0/0x1b0 [ 29.236385] [] ? __do_page_fault+0x290/0xa00 [ 29.242411] [] ? __do_page_fault+0x380/0xa00 [ 29.248438] [] ? move_addr_to_kernel+0x50/0x50 [ 29.254649] [] SyS_sendmsg+0x2d/0x50 [ 29.259985] [] entry_SYSCALL_64_fastpath+0x1c/0x98 [ 29.266530] [ 29.268128] Allocated by task 3783: [ 29.271719] [] save_stack_trace+0x26/0x50 [ 29.277608] [] save_stack+0x43/0xd0 [ 29.282974] [] kasan_kmalloc+0xad/0xe0 [ 29.288597] [] kasan_krealloc+0x64/0x80 [ 29.294309] [] ksize+0x92/0xf0 [ 29.299238] [] __alloc_skb+0x132/0x600 [ 29.304862] [] pfkey_sendmsg+0x135/0x760 [ 29.310659] [] sock_sendmsg+0xca/0x110 [ 29.316281] [] ___sys_sendmsg+0x6c1/0x7c0 [ 29.322187] [] __sys_sendmsg+0xd3/0x190 [ 29.327904] [] SyS_sendmsg+0x2d/0x50 [ 29.333349] [] entry_SYSCALL_64_fastpath+0x1c/0x98 [ 29.340015] [ 29.341612] Freed by task 1985: [ 29.344856] [] save_stack_trace+0x26/0x50 [ 29.350741] [] save_stack+0x43/0xd0 [ 29.356104] [] kasan_slab_free+0x72/0xc0 [ 29.361901] [] kfree+0xfc/0x300 [ 29.366915] [] skb_release_data+0x2ed/0x3b0 [ 29.372971] [] skb_release_all+0x4a/0x60 [ 29.378763] [] consume_skb+0xf3/0x3d0 [ 29.384859] [] skb_free_datagram+0x1a/0xe0 [ 29.390831] [] unix_dgram_recvmsg+0x8b4/0xdb0 [ 29.397059] [] sock_recvmsg+0x8c/0xc0 [ 29.402595] [] SYSC_recvfrom+0x204/0x330 [ 29.408390] [] SyS_recvfrom+0x40/0x50 [ 29.413921] [] entry_SYSCALL_64_fastpath+0x1c/0x98 [ 29.420594] [ 29.422193] The buggy address belongs to the object at ffff8801c7a20a00 [ 29.422193] which belongs to the cache kmalloc-512 of size 512 [ 29.434815] The buggy address is located 64 bytes inside of [ 29.434815] 512-byte region [ffff8801c7a20a00, ffff8801c7a20c00) [ 29.446568] The buggy address belongs to the page: [ 30.748529] PANIC: double fault, error_code: 0x0 [ 30.753320] CPU: 1 PID: 3783 Comm: syzkaller588092 Not tainted 4.4.116-g17c7c49 #17 [ 30.761082] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.770404] task: ffff8800bb0c6000 task.stack: ffff8801c50b0000 [ 30.776428] RIP: 0010:[] [] dump_page_badflags+0xd/0x250 [ 30.785182] RSP: 0018:ffff880100000000 EFLAGS: 00010046 [ 30.790600] RAX: ffff8800bb0c6000 RBX: ffffea00071e8800 RCX: ffffffff81490a30 [ 30.797839] RDX: 0000000000000000 RSI: ffffffff838a8e60 RDI: ffffea00071e8800 [ 30.805076] RBP: ffff880100000018 R08: 0000000000000001 R09: 0000000000000000 [ 30.812332] R10: 0000000000000002 R11: fffffbfff0ad7e26 R12: 0000000000000000 [ 30.819584] R13: ffffffff838a8e60 R14: 0000000000000000 R15: 0000000000000000 [ 30.826826] FS: 00000000015f2880(0063) GS:ffff8801db300000(0000) knlGS:0000000000000000 [ 30.835019] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 30.840872] CR2: ffff8800fffffff8 CR3: 00000001c99a2000 CR4: 0000000000160670 [ 30.848114] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 30.855352] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 30.862590] Stack: [ 30.864705] [ 30.866304] Call Trace: [ 30.868855] [ 30.870886] Code: ff e8 88 df 06 00 e9 50 fd ff ff e8 7e df 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 91 04 ed ff 48 8d 7b [ 30.897741] Kernel panic - not syncing: Machine halted. [ 30.903076] CPU: 1 PID: 3783 Comm: syzkaller588092 Not tainted 4.4.116-g17c7c49 #17 [ 30.910835] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.920155] 0000000000000000 ae7e7e5870b0dc88 ffff8801db30ce38 ffffffff81d03f6d [ 30.928121] ffffffff838372a0 ffff8801db30cf10 ffffffff83808040 ffff880100000000 [ 30.936094] 0000000000000000 ffff8801db30cf00 ffffffff8141acaa 0000000041b58ab3 [ 30.944073] Call Trace: [ 30.946622] <#DF> [] dump_stack+0xc1/0x124 [ 30.952684] [] panic+0x1aa/0x388 [ 30.957671] [] ? percpu_up_read.constprop.45+0xe1/0xe1 [ 30.964569] [] ? vprintk_emit+0x242/0x850 [ 30.970334] [] ? dump_page_badflags+0x22/0x250 [ 30.976533] [] ? vprintk_emit+0x242/0x850 [ 30.982300] [] df_debug+0x2d/0x30 [ 30.987373] [] do_double_fault+0x10b/0x210 [ 30.993228] [] double_fault+0x2d/0x40 [ 30.998645] [] ? dump_page_badflags+0x180/0x250 [ 31.004935] [] ? dump_page_badflags+0xd/0x250 [ 31.011050] <> [ 31.014359] Dumping ftrace buffer: [ 31.018161] (ftrace buffer empty) [ 31.021841] Kernel Offset: disabled [ 31.025435] Rebooting in 86400 seconds..