[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 12.318735] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 16.749037] random: sshd: uninitialized urandom read (32 bytes read) [ 17.149322] random: sshd: uninitialized urandom read (32 bytes read) [ 18.083852] random: sshd: uninitialized urandom read (32 bytes read) [ 18.225684] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.17' (ECDSA) to the list of known hosts. [ 23.658096] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 27.281417] ================================================================== [ 27.288826] BUG: KASAN: slab-out-of-bounds in p9pdu_readf+0x535/0x1d50 [ 27.295466] Read of size 65411 at addr ffff8801d8ad802d by task syz-executor636/4050 [ 27.303314] [ 27.304943] CPU: 0 PID: 4050 Comm: syz-executor636 Not tainted 4.9.111-g03c70fe #58 [ 27.312711] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.322042] ffff8801b5af75a0 ffffffff81eb2729 ffffea000762b600 ffff8801d8ad802d [ 27.330023] 0000000000000000 ffff8801d8ada025 fffffffffffffff3 ffff8801b5af75d8 [ 27.338014] ffffffff81567b59 ffff8801d8ad802d 000000000000ff83 0000000000000000 [ 27.346043] Call Trace: [ 27.348614] [] dump_stack+0xc1/0x128 [ 27.353959] [] print_address_description+0x6c/0x234 [ 27.360600] [] kasan_report.cold.6+0x242/0x2fe [ 27.366807] [] ? p9pdu_readf+0x535/0x1d50 [ 27.372578] [] check_memory_region+0x14f/0x1b0 [ 27.378779] [] memcpy+0x23/0x50 [ 27.383677] [] p9pdu_readf+0x535/0x1d50 [ 27.389274] [] ? rcu_read_lock_sched_held+0x103/0x120 [ 27.396083] [] ? p9_client_rpc+0x643/0x1140 [ 27.402024] [] ? trace_event_raw_event_9p_client_res+0x270/0x270 [ 27.409804] [] ? add_wait_queue+0x76/0xa0 [ 27.415573] [] ? p9pdu_writef+0xe0/0xe0 [ 27.421169] [] ? iface_stat_update.cold.40+0xf4/0x143 [ 27.427982] [] ? pipe_poll+0x25c/0x2d0 [ 27.433488] [] ? p9_fd_poll+0x246/0x310 [ 27.439081] [] ? lockdep_init_map+0x105/0x4f0 [ 27.445197] [] ? prepare_to_wait_event+0x450/0x450 [ 27.451749] [] ? p9_conn_create+0x3c0/0x4c0 [ 27.457692] [] ? parse_opts.part.1+0x320/0x320 [ 27.463893] [] ? __raw_spin_lock_init+0x2d/0x100 [ 27.470269] [] p9_client_create+0xa3f/0x10a0 [ 27.476300] [] ? p9_client_zc_rpc.constprop.11+0x1020/0x1020 [ 27.483733] [] ? rcu_read_lock_sched_held+0x103/0x120 [ 27.490563] [] ? bdi_register+0xb4/0x570 [ 27.496255] [] ? bdi_init+0x7ae/0xab0 [ 27.501681] [] v9fs_session_init+0x333/0x13a0 [ 27.507814] [] ? _raw_spin_unlock_irqrestore+0x45/0x70 [ 27.514714] [] ? debug_check_no_obj_freed+0x2ec/0x930 [ 27.521524] [] ? v9fs_inode_init_once+0x30/0x30 [ 27.527813] [] ? debug_object_activate+0x4e0/0x4e0 [ 27.534372] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.541181] [] ? free_hot_cold_page+0x493/0x840 [ 27.547470] [] ? check_preemption_disabled+0x3b/0x170 [ 27.554539] [] ? kasan_unpoison_shadow+0x35/0x50 [ 27.560913] [] ? kasan_kmalloc+0xc7/0xe0 [ 27.566594] [] ? kmem_cache_alloc_trace+0xfd/0x2b0 [ 27.573149] [] ? v9fs_mount+0x62/0x810 [ 27.578657] [] v9fs_mount+0x7d/0x810 [ 27.584003] [] mount_fs+0x28c/0x370 [ 27.589250] [] vfs_kern_mount.part.29+0xd1/0x3d0 [ 27.595627] [] ? ns_capable_common+0x12a/0x150 [ 27.601930] [] do_mount+0x3c9/0x2740 [ 27.607279] [] ? copy_mount_string+0x40/0x40 [ 27.613315] [] ? kasan_unpoison_shadow+0x35/0x50 [ 27.619695] [] ? kasan_kmalloc+0xc7/0xe0 [ 27.625379] [] ? kmem_cache_alloc_trace+0xfd/0x2b0 [ 27.631933] [] ? copy_mount_options+0x5f/0x320 [ 27.638138] [] ? copy_mount_options+0x1e5/0x320 [ 27.644428] [] SyS_mount+0xfe/0x110 [ 27.649676] [] ? copy_mnt_ns+0x8e0/0x8e0 [ 27.655368] [] do_syscall_64+0x1a6/0x490 [ 27.661061] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 27.667959] [ 27.669560] The buggy address belongs to the page: [ 27.674463] page:ffffea000762b600 count:1 mapcount:0 mapping: (null) index:0x0 compound_mapcount: 0 [ 27.684642] flags: 0x8000000000004000(head) [ 27.688935] page dumped because: kasan: bad access detected [ 27.694616] [ 27.696217] Memory state around the buggy address: [ 27.701119] ffff8801d8ad9f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.708449] ffff8801d8ad9f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.715865] >ffff8801d8ada000: 00 00 00 00 fe fe fe fe fe fe fe fe fe fe fe fe [ 27.723200] ^ [ 27.727585] ffff8801d8ada080: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 27.736020] ffff8801d8ada100: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe [ 27.743460] ================================================================== [ 27.750805] Disabling lock debugging due to kernel taint [ 27.756598] Kernel panic - not syncing: panic_on_warn set ... [ 27.756598] [ 27.763946] CPU: 0 PID: 4050 Comm: syz-executor636 Tainted: G B 4.9.111-g03c70fe #58 [ 27.772931] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.782275] ffff8801b5af7500 ffffffff81eb2729 ffffffff843c71a7 00000000ffffffff [ 27.790254] 0000000000000000 0000000000000000 fffffffffffffff3 ffff8801b5af75c0 [ 27.798251] ffffffff814219f5 0000000041b58ab3 ffffffff843ba8c0 ffffffff81421836 [ 27.806361] Call Trace: [ 27.808924] [] dump_stack+0xc1/0x128 [ 27.814260] [] panic+0x1bf/0x3bc [ 27.819248] [] ? add_taint.cold.6+0x16/0x16 [ 27.825193] [] ? ___preempt_schedule+0x16/0x18 [ 27.831399] [] kasan_end_report+0x47/0x4f [ 27.837166] [] kasan_report.cold.6+0x76/0x2fe [ 27.843302] [] ? p9pdu_readf+0x535/0x1d50 [ 27.849080] [] check_memory_region+0x14f/0x1b0 [ 27.855297] [] memcpy+0x23/0x50 [ 27.860199] [] p9pdu_readf+0x535/0x1d50 [ 27.865797] [] ? rcu_read_lock_sched_held+0x103/0x120 [ 27.872618] [] ? p9_client_rpc+0x643/0x1140 [ 27.878570] [] ? trace_event_raw_event_9p_client_res+0x270/0x270 [ 27.886335] [] ? add_wait_queue+0x76/0xa0 [ 27.892105] [] ? p9pdu_writef+0xe0/0xe0 [ 27.897708] [] ? iface_stat_update.cold.40+0xf4/0x143 [ 27.904523] [] ? pipe_poll+0x25c/0x2d0 [ 27.910033] [] ? p9_fd_poll+0x246/0x310 [ 27.915629] [] ? lockdep_init_map+0x105/0x4f0 [ 27.922013] [] ? prepare_to_wait_event+0x450/0x450 [ 27.928566] [] ? p9_conn_create+0x3c0/0x4c0 [ 27.934523] [] ? parse_opts.part.1+0x320/0x320 [ 27.940753] [] ? __raw_spin_lock_init+0x2d/0x100 [ 27.947148] [] p9_client_create+0xa3f/0x10a0 [ 27.953184] [] ? p9_client_zc_rpc.constprop.11+0x1020/0x1020 [ 27.960609] [] ? rcu_read_lock_sched_held+0x103/0x120 [ 27.967422] [] ? bdi_register+0xb4/0x570 [ 27.973102] [] ? bdi_init+0x7ae/0xab0 [ 27.978523] [] v9fs_session_init+0x333/0x13a0 [ 27.984643] [] ? _raw_spin_unlock_irqrestore+0x45/0x70 [ 27.991542] [] ? debug_check_no_obj_freed+0x2ec/0x930 [ 27.998352] [] ? v9fs_inode_init_once+0x30/0x30 [ 28.004640] [] ? debug_object_activate+0x4e0/0x4e0 [ 28.011191] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 28.018009] [] ? free_hot_cold_page+0x493/0x840 [ 28.024297] [] ? check_preemption_disabled+0x3b/0x170 [ 28.031110] [] ? kasan_unpoison_shadow+0x35/0x50 [ 28.037494] [] ? kasan_kmalloc+0xc7/0xe0 [ 28.043178] [] ? kmem_cache_alloc_trace+0xfd/0x2b0 [ 28.049730] [] ? v9fs_mount+0x62/0x810 [ 28.055239] [] v9fs_mount+0x7d/0x810 [ 28.060576] [] mount_fs+0x28c/0x370 [ 28.065835] [] vfs_kern_mount.part.29+0xd1/0x3d0 [ 28.072213] [] ? ns_capable_common+0x12a/0x150 [ 28.078416] [] do_mount+0x3c9/0x2740 [ 28.083756] [] ? copy_mount_string+0x40/0x40 [ 28.090853] [] ? kasan_unpoison_shadow+0x35/0x50 [ 28.097323] [] ? kasan_kmalloc+0xc7/0xe0 [ 28.103012] [] ? kmem_cache_alloc_trace+0xfd/0x2b0 [ 28.109570] [] ? copy_mount_options+0x5f/0x320 [ 28.115781] [] ? copy_mount_options+0x1e5/0x320 [ 28.122122] [] SyS_mount+0xfe/0x110 [ 28.127369] [] ? copy_mnt_ns+0x8e0/0x8e0 [ 28.133061] [] do_syscall_64+0x1a6/0x490 [ 28.138746] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 28.146089] Dumping ftrace buffer: [ 28.149949] (ftrace buffer empty) [ 28.153632] Kernel Offset: disabled [ 28.157233] Rebooting in 86400 seconds..