Warning: Permanently added '10.128.1.17' (ECDSA) to the list of known hosts. syzkaller login: [ 148.074550] IPVS: ftp: loaded support on port[0] = 21 executing program [ 149.115018] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program [ 150.104954] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program [ 151.134913] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program [ 152.204893] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program [ 153.334910] IPVS: ftp: loaded support on port[0] = 21 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 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 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 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 [ 225.019680] ================================================================== [ 225.027210] BUG: KASAN: slab-out-of-bounds in _copy_from_user+0xaf/0x100 [ 225.034055] Write of size 4096 at addr ffff888093062ec0 by task syz-executor760/7129 [ 225.041930] [ 225.043559] CPU: 1 PID: 7129 Comm: syz-executor760 Not tainted 4.14.176-syzkaller #0 [ 225.051433] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 225.060790] Call Trace: [ 225.063384] dump_stack+0x13e/0x194 [ 225.067033] ? _copy_from_user+0xaf/0x100 [ 225.071173] print_address_description.cold+0x7c/0x1e2 [ 225.076559] ? _copy_from_user+0xaf/0x100 [ 225.080705] kasan_report.cold+0xa9/0x2ae [ 225.084861] _copy_from_user+0xaf/0x100 [ 225.088835] snd_rawmidi_kernel_write1+0x2e3/0x680 [ 225.093769] snd_rawmidi_write+0x275/0x970 [ 225.098006] ? snd_rawmidi_release+0xf0/0xf0 [ 225.102428] ? trace_hardirqs_on+0x10/0x10 [ 225.106674] ? lock_acquire+0x170/0x3f0 [ 225.110646] ? save_trace+0x290/0x290 [ 225.114466] __vfs_write+0xe4/0x630 [ 225.118093] ? snd_rawmidi_release+0xf0/0xf0 [ 225.122513] ? kernel_read+0x110/0x110 [ 225.126412] ? __inode_security_revalidate+0xcf/0x120 [ 225.131614] ? avc_policy_seqno+0x5/0x10 [ 225.135685] ? selinux_file_permission+0x7a/0x440 [ 225.140529] ? security_file_permission+0x82/0x1e0 [ 225.145468] ? rw_verify_area+0xe1/0x2a0 [ 225.149526] vfs_write+0x192/0x4e0 [ 225.153197] SyS_write+0xf2/0x210 [ 225.156671] ? SyS_read+0x210/0x210 [ 225.160296] ? __do_page_fault+0x35b/0xb40 [ 225.164539] ? do_syscall_64+0x4c/0x640 [ 225.168518] ? SyS_read+0x210/0x210 [ 225.172147] do_syscall_64+0x1d5/0x640 [ 225.176038] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 225.181230] RIP: 0033:0x44af19 [ 225.184418] RSP: 002b:00007f47c691fdb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 225.192127] RAX: ffffffffffffffda RBX: 00000000006dcc28 RCX: 000000000044af19 [ 225.199398] RDX: 0000000020000339 RSI: 00000000200001c0 RDI: 0000000000000003 [ 225.206680] RBP: 00000000006dcc20 R08: 0000000000000000 R09: 0000000000000000 [ 225.213952] R10: 00007f47c6920700 R11: 0000000000000246 R12: 00000000006dcc2c [ 225.221223] R13: 00007ffdafa2281f R14: 00007f47c69209c0 R15: 20c49ba5e353f7cf [ 225.228506] [ 225.230131] Allocated by task 7131: [ 225.233753] save_stack+0x32/0xa0 [ 225.237195] kasan_kmalloc+0xbf/0xe0 [ 225.240895] __kmalloc+0x15b/0x7c0 [ 225.244423] snd_rawmidi_output_params+0x176/0x440 [ 225.249346] snd_rawmidi_ioctl+0x51c/0x620 [ 225.253572] do_vfs_ioctl+0x75a/0xfe0 [ 225.257360] SyS_ioctl+0x7f/0xb0 [ 225.260724] do_syscall_64+0x1d5/0x640 [ 225.264606] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 225.269781] [ 225.271400] Freed by task 0: [ 225.274408] (stack is not available) [ 225.278371] [ 225.279989] The buggy address belongs to the object at ffff888093062ec0 [ 225.279989] which belongs to the cache kmalloc-4096 of size 4096 [ 225.292837] The buggy address is located 0 bytes inside of [ 225.292837] 4096-byte region [ffff888093062ec0, ffff888093063ec0) [ 225.304614] The buggy address belongs to the page: [ 225.309536] page:ffffea00024c1880 count:1 mapcount:0 mapping:ffff888093062ec0 index:0x0 compound_mapcount: 0 [ 225.319509] flags: 0xfffe0000008100(slab|head) [ 225.324084] raw: 00fffe0000008100 ffff888093062ec0 0000000000000000 0000000100000001 [ 225.331956] raw: ffffea000250f2a0 ffff88812fe54a48 ffff88812fe56dc0 0000000000000000 [ 225.339825] page dumped because: kasan: bad access detected [ 225.345523] [ 225.347142] Memory state around the buggy address: [ 225.352075] ffff888093063580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 225.359428] ffff888093063600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 225.366783] >ffff888093063680: 00 00 00 00 00 00 00 00 00 00 00 00 02 fc fc fc [ 225.374140] ^ [ 225.380628] ffff888093063700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 225.387988] ffff888093063780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 225.395339] ================================================================== [ 225.402689] Disabling lock debugging due to kernel taint executing program executing program executing program executing program executing program [ 226.205932] Kernel panic - not syncing: panic_on_warn set ... [ 226.205932] [ 226.213346] CPU: 1 PID: 7129 Comm: syz-executor760 Tainted: G B 4.14.176-syzkaller #0 [ 226.222433] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 226.231799] Call Trace: [ 226.234387] dump_stack+0x13e/0x194 [ 226.238006] panic+0x1f9/0x42d [ 226.241187] ? add_taint.cold+0x16/0x16 [ 226.245163] ? preempt_schedule_common+0x4a/0xc0 [ 226.249923] ? _copy_from_user+0xaf/0x100 [ 226.254065] ? ___preempt_schedule+0x16/0x18 [ 226.258470] ? _copy_from_user+0xaf/0x100 [ 226.262623] kasan_end_report+0x43/0x49 [ 226.266593] kasan_report.cold+0x12f/0x2ae [ 226.270822] _copy_from_user+0xaf/0x100 [ 226.274790] snd_rawmidi_kernel_write1+0x2e3/0x680 [ 226.279718] snd_rawmidi_write+0x275/0x970 [ 226.284063] ? snd_rawmidi_release+0xf0/0xf0 [ 226.288470] ? trace_hardirqs_on+0x10/0x10 [ 226.292707] ? lock_acquire+0x170/0x3f0 [ 226.296682] ? save_trace+0x290/0x290 [ 226.300477] __vfs_write+0xe4/0x630 [ 226.304109] ? snd_rawmidi_release+0xf0/0xf0 [ 226.308513] ? kernel_read+0x110/0x110 [ 226.312399] ? __inode_security_revalidate+0xcf/0x120 [ 226.317585] ? avc_policy_seqno+0x5/0x10 [ 226.321639] ? selinux_file_permission+0x7a/0x440 [ 226.326476] ? security_file_permission+0x82/0x1e0 [ 226.331398] ? rw_verify_area+0xe1/0x2a0 [ 226.335448] vfs_write+0x192/0x4e0 [ 226.338977] SyS_write+0xf2/0x210 [ 226.342418] ? SyS_read+0x210/0x210 [ 226.346035] ? __do_page_fault+0x35b/0xb40 [ 226.350257] ? do_syscall_64+0x4c/0x640 [ 226.354245] ? SyS_read+0x210/0x210 [ 226.357866] do_syscall_64+0x1d5/0x640 [ 226.361747] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 226.366928] RIP: 0033:0x44af19 [ 226.370102] RSP: 002b:00007f47c691fdb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 226.377803] RAX: ffffffffffffffda RBX: 00000000006dcc28 RCX: 000000000044af19 [ 226.385060] RDX: 0000000020000339 RSI: 00000000200001c0 RDI: 0000000000000003 [ 226.392321] RBP: 00000000006dcc20 R08: 0000000000000000 R09: 0000000000000000 [ 226.399667] R10: 00007f47c6920700 R11: 0000000000000246 R12: 00000000006dcc2c [ 226.406927] R13: 00007ffdafa2281f R14: 00007f47c69209c0 R15: 20c49ba5e353f7cf [ 226.415573] Kernel Offset: disabled [ 226.419200] Rebooting in 86400 seconds..