[....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 35.155296] random: sshd: uninitialized urandom read (32 bytes read) [ 35.402386] kauditd_printk_skb: 9 callbacks suppressed [ 35.402393] audit: type=1400 audit(1569150730.512:35): avc: denied { map } for pid=6916 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 [ 35.455854] random: sshd: uninitialized urandom read (32 bytes read) [ 36.008191] random: sshd: uninitialized urandom read (32 bytes read) [ 36.180816] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.240' (ECDSA) to the list of known hosts. [ 41.629875] random: sshd: uninitialized urandom read (32 bytes read) [ 41.738277] audit: type=1400 audit(1569150736.842:36): avc: denied { map } for pid=6928 comm="syz-executor889" path="/root/syz-executor889876292" dev="sda1" ino=16484 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 41.970806] IPVS: ftp: loaded support on port[0] = 21 executing program [ 42.792592] ================================================================== [ 42.800005] BUG: KASAN: slab-out-of-bounds in pdu_read+0x90/0xd0 [ 42.806125] Read of size 39008 at addr ffff888097f0866d by task syz-executor889/6929 [ 42.813975] [ 42.815582] CPU: 1 PID: 6929 Comm: syz-executor889 Not tainted 4.14.146 #0 [ 42.822567] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.831894] Call Trace: [ 42.834457] dump_stack+0x138/0x197 [ 42.838059] ? pdu_read+0x90/0xd0 [ 42.841488] print_address_description.cold+0x7c/0x1dc [ 42.846740] ? pdu_read+0x90/0xd0 [ 42.850169] kasan_report.cold+0xa9/0x2af [ 42.854294] check_memory_region+0x123/0x190 [ 42.858677] memcpy+0x24/0x50 [ 42.861757] pdu_read+0x90/0xd0 [ 42.865012] p9pdu_readf+0x379/0x1780 [ 42.868788] ? p9_conn_create+0x4c0/0x4c0 [ 42.872911] ? pipe_poll+0x261/0x2d0 [ 42.876597] ? p9pdu_writef+0xd0/0xd0 [ 42.880375] ? p9_fd_create+0x245/0x340 [ 42.884323] ? parse_opts.part.0+0x2e0/0x2e0 [ 42.888710] p9_client_create+0xa1f/0x1120 [ 42.892923] ? p9_client_zc_rpc.constprop.0+0x1120/0x1120 [ 42.898440] ? __kmalloc_track_caller+0x372/0x790 [ 42.903257] ? __lockdep_init_map+0x10c/0x570 [ 42.907728] ? lockdep_init_map+0x9/0x10 [ 42.911802] ? __raw_spin_lock_init+0x2d/0x100 [ 42.916361] v9fs_session_init+0x1dc/0x1620 [ 42.920663] ? check_preemption_disabled+0x3c/0x250 [ 42.925655] ? v9fs_show_options+0x730/0x730 [ 42.930053] ? rcu_lockdep_current_cpu_online+0xf2/0x140 [ 42.935481] ? v9fs_mount+0x5e/0x870 [ 42.939169] ? rcu_read_lock_sched_held+0x110/0x130 [ 42.944160] ? kmem_cache_alloc_trace+0x623/0x790 [ 42.948988] ? free_pages+0x46/0x50 [ 42.952593] v9fs_mount+0x7d/0x870 [ 42.956111] mount_fs+0x97/0x2a1 [ 42.959464] vfs_kern_mount.part.0+0x5e/0x3d0 [ 42.963937] do_mount+0x417/0x27d0 [ 42.967471] ? copy_mount_options+0x5c/0x2f0 [ 42.971858] ? rcu_read_lock_sched_held+0x110/0x130 [ 42.976853] ? copy_mount_string+0x40/0x40 [ 42.981065] ? copy_mount_options+0x1fe/0x2f0 [ 42.985539] SyS_mount+0xab/0x120 [ 42.988990] ? copy_mnt_ns+0x8c0/0x8c0 [ 42.992857] do_syscall_64+0x1e8/0x640 [ 42.996719] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 43.001539] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 43.006703] RIP: 0033:0x445749 [ 43.009868] RSP: 002b:00007ffdc59021d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 43.017553] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000445749 [ 43.024797] RDX: 00000000200000c0 RSI: 0000000020000480 RDI: 0000000000000000 [ 43.032051] RBP: 00007ffdc5902200 R08: 00000000200001c0 R09: 0000000000000400 [ 43.039296] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 [ 43.046539] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 43.053791] [ 43.055392] Allocated by task 6929: [ 43.058997] save_stack_trace+0x16/0x20 [ 43.062943] save_stack+0x45/0xd0 [ 43.066367] kasan_kmalloc+0xce/0xf0 [ 43.070052] __kmalloc+0x15d/0x7a0 [ 43.073565] p9_fcall_alloc+0x1d/0x90 [ 43.077339] p9_client_prepare_req.part.0+0x73a/0xa90 [ 43.082500] p9_client_rpc+0x170/0x1180 [ 43.086445] p9_client_create+0x997/0x1120 [ 43.090652] v9fs_session_init+0x1dc/0x1620 [ 43.094955] v9fs_mount+0x7d/0x870 [ 43.098467] mount_fs+0x97/0x2a1 [ 43.101809] vfs_kern_mount.part.0+0x5e/0x3d0 [ 43.106287] do_mount+0x417/0x27d0 [ 43.109800] SyS_mount+0xab/0x120 [ 43.113238] do_syscall_64+0x1e8/0x640 [ 43.117099] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 43.122273] [ 43.123878] Freed by task 0: [ 43.126867] (stack is not available) [ 43.130549] [ 43.132152] The buggy address belongs to the object at ffff888097f08640 [ 43.132152] which belongs to the cache kmalloc-16384 of size 16384 [ 43.145127] The buggy address is located 45 bytes inside of [ 43.145127] 16384-byte region [ffff888097f08640, ffff888097f0c640) [ 43.157057] The buggy address belongs to the page: [ 43.161958] page:ffffea00025fc200 count:1 mapcount:0 mapping:ffff888097f08640 index:0x0 compound_mapcount: 0 [ 43.171907] flags: 0x1fffc0000008100(slab|head) [ 43.176561] raw: 01fffc0000008100 ffff888097f08640 0000000000000000 0000000100000001 [ 43.184420] raw: ffffea00025f8c20 ffff8880aa801c48 ffff8880aa802200 0000000000000000 [ 43.192270] page dumped because: kasan: bad access detected [ 43.197950] [ 43.199550] Memory state around the buggy address: [ 43.204455] ffff888097f0a500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 43.211788] ffff888097f0a580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 43.219131] >ffff888097f0a600: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 43.226463] ^ [ 43.232930] ffff888097f0a680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 43.240261] ffff888097f0a700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 43.247591] ================================================================== [ 43.254921] Disabling lock debugging due to kernel taint [ 43.261001] Kernel panic - not syncing: panic_on_warn set ... [ 43.261001] [ 43.268414] CPU: 1 PID: 6929 Comm: syz-executor889 Tainted: G B 4.14.146 #0 [ 43.276618] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 43.285949] Call Trace: [ 43.288518] dump_stack+0x138/0x197 [ 43.292157] ? pdu_read+0x90/0xd0 [ 43.295588] panic+0x1f2/0x426 [ 43.298754] ? add_taint.cold+0x16/0x16 [ 43.302736] ? ___preempt_schedule+0x16/0x18 [ 43.307121] kasan_end_report+0x47/0x4f [ 43.311070] kasan_report.cold+0x130/0x2af [ 43.315280] check_memory_region+0x123/0x190 [ 43.319668] memcpy+0x24/0x50 [ 43.322826] pdu_read+0x90/0xd0 [ 43.326087] p9pdu_readf+0x379/0x1780 [ 43.329867] ? p9_conn_create+0x4c0/0x4c0 [ 43.333999] ? pipe_poll+0x261/0x2d0 [ 43.337693] ? p9pdu_writef+0xd0/0xd0 [ 43.341472] ? p9_fd_create+0x245/0x340 [ 43.345424] ? parse_opts.part.0+0x2e0/0x2e0 [ 43.349814] p9_client_create+0xa1f/0x1120 [ 43.354027] ? p9_client_zc_rpc.constprop.0+0x1120/0x1120 [ 43.359577] ? __kmalloc_track_caller+0x372/0x790 [ 43.364396] ? __lockdep_init_map+0x10c/0x570 [ 43.368864] ? lockdep_init_map+0x9/0x10 [ 43.372899] ? __raw_spin_lock_init+0x2d/0x100 [ 43.377458] v9fs_session_init+0x1dc/0x1620 [ 43.381756] ? check_preemption_disabled+0x3c/0x250 [ 43.386748] ? v9fs_show_options+0x730/0x730 [ 43.391168] ? rcu_lockdep_current_cpu_online+0xf2/0x140 [ 43.396591] ? v9fs_mount+0x5e/0x870 [ 43.400290] ? rcu_read_lock_sched_held+0x110/0x130 [ 43.405282] ? kmem_cache_alloc_trace+0x623/0x790 [ 43.410099] ? free_pages+0x46/0x50 [ 43.413702] v9fs_mount+0x7d/0x870 [ 43.417215] mount_fs+0x97/0x2a1 [ 43.420559] vfs_kern_mount.part.0+0x5e/0x3d0 [ 43.425030] do_mount+0x417/0x27d0 [ 43.428548] ? copy_mount_options+0x5c/0x2f0 [ 43.432957] ? rcu_read_lock_sched_held+0x110/0x130 [ 43.437947] ? copy_mount_string+0x40/0x40 [ 43.442158] ? copy_mount_options+0x1fe/0x2f0 [ 43.446638] SyS_mount+0xab/0x120 [ 43.450065] ? copy_mnt_ns+0x8c0/0x8c0 [ 43.453945] do_syscall_64+0x1e8/0x640 [ 43.457806] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 43.462637] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 43.467802] RIP: 0033:0x445749 [ 43.470969] RSP: 002b:00007ffdc59021d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 43.478652] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000445749 [ 43.485904] RDX: 00000000200000c0 RSI: 0000000020000480 RDI: 0000000000000000 [ 43.493149] RBP: 00007ffdc5902200 R08: 00000000200001c0 R09: 0000000000000400 [ 43.500393] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 [ 43.507636] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 43.515988] Kernel Offset: disabled [ 43.519604] Rebooting in 86400 seconds..