[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [ 36.111119][ T27] audit: type=1800 audit(1552747540.609:28): pid=7535 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="ssh" dev="sda1" ino=2417 res=0 [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 36.828303][ T27] audit: type=1800 audit(1552747541.329:29): pid=7535 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 36.848498][ T27] audit: type=1800 audit(1552747541.329:30): pid=7535 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 [....] startpar: service(s) returned failure: ssh ...[?25l[?1c7[FAIL8[?25h[?0c failed! Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.4' (ECDSA) to the list of known hosts. 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 syzkaller login: [ 76.849720][ T8803] ================================================================== [ 76.858156][ T8803] BUG: KASAN: slab-out-of-bounds in linear_transfer+0x6de/0x970 [ 76.866001][ T8803] Read of size 1 at addr ffff88809789f838 by task syz-executor488/8803 [ 76.874346][ T8803] [ 76.876687][ T8803] CPU: 0 PID: 8803 Comm: syz-executor488 Not tainted 5.0.0+ #25 [ 76.884334][ T8803] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 76.894394][ T8803] Call Trace: [ 76.897683][ T8803] dump_stack+0x172/0x1f0 [ 76.902115][ T8803] ? linear_transfer+0x6de/0x970 [ 76.907046][ T8803] print_address_description.cold+0x7c/0x20d [ 76.913069][ T8803] ? linear_transfer+0x6de/0x970 [ 76.918008][ T8803] ? linear_transfer+0x6de/0x970 [ 76.922940][ T8803] kasan_report.cold+0x1b/0x40 [ 76.927779][ T8803] ? linear_transfer+0x6de/0x970 [ 76.932714][ T8803] check_memory_region+0x123/0x190 [ 76.937856][ T8803] memcpy+0x24/0x50 [ 76.941666][ T8803] linear_transfer+0x6de/0x970 executing program executing program [ 76.946436][ T8803] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 76.952704][ T8803] ? snd_pcm_plugin_build_copy+0x410/0x410 [ 76.958533][ T8803] ? io_capture_transfer+0x1fd/0x330 [ 76.963826][ T8803] ? rate_dst_frames+0x2e0/0x2e0 [ 76.968788][ T8803] snd_pcm_plug_read_transfer+0x1a1/0x2f0 [ 76.974526][ T8803] ? snd_pcm_plug_write_transfer+0x400/0x400 [ 76.980517][ T8803] ? snd_pcm_format_physical_width+0x75/0x90 [ 76.986518][ T8803] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 76.992282][ T8803] ? snd_pcm_plug_client_channels_buf+0x212/0x450 [ 76.998711][ T8803] snd_pcm_oss_read2+0x1f0/0x3f0 [ 77.003745][ T8803] ? snd_pcm_oss_read3+0x420/0x420 [ 77.008875][ T8803] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 77.015130][ T8803] snd_pcm_oss_read+0x53a/0x6a0 [ 77.020222][ T8803] __vfs_read+0x8d/0x110 [ 77.024586][ T8803] ? snd_pcm_oss_read2+0x3f0/0x3f0 [ 77.029727][ T8803] vfs_read+0x194/0x3e0 [ 77.033908][ T8803] ksys_read+0xea/0x1f0 [ 77.038098][ T8803] ? kernel_write+0x120/0x120 [ 77.042795][ T8803] ? do_syscall_64+0x26/0x610 [ 77.047501][ T8803] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 77.053565][ T8803] ? do_syscall_64+0x26/0x610 [ 77.058347][ T8803] __x64_sys_read+0x73/0xb0 [ 77.062871][ T8803] do_syscall_64+0x103/0x610 [ 77.067483][ T8803] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 77.073380][ T8803] RIP: 0033:0x446839 [ 77.077458][ T8803] Code: e8 0c e8 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 5b 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00 executing program executing program [ 77.097493][ T8803] RSP: 002b:00007f0130638db8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 77.105918][ T8803] RAX: ffffffffffffffda RBX: 00000000006dbc48 RCX: 0000000000446839 [ 77.117420][ T8803] RDX: 0000000000001000 RSI: 00000000200012c0 RDI: 0000000000000003 [ 77.125394][ T8803] RBP: 00000000006dbc40 R08: 00007f0130639700 R09: 0000000000000000 [ 77.133403][ T8803] R10: 00007f0130639700 R11: 0000000000000246 R12: 00000000006dbc4c [ 77.141388][ T8803] R13: 00007ffe0426e0bf R14: 00007f01306399c0 R15: 0000000000000001 executing program [ 77.149482][ T8803] [ 77.152197][ T8803] Allocated by task 8769: [ 77.156538][ T8803] save_stack+0x45/0xd0 [ 77.160706][ T8803] __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 77.166347][ T8803] kasan_kmalloc+0x9/0x10 [ 77.170703][ T8803] __kmalloc_node+0x4e/0x70 [ 77.175225][ T8803] kvmalloc_node+0x68/0x100 [ 77.179742][ T8803] snd_pcm_plugin_alloc+0x585/0x770 [ 77.184958][ T8803] snd_pcm_plug_alloc+0x148/0x330 [ 77.190063][ T8803] snd_pcm_oss_change_params_locked+0x2118/0x3750 [ 77.196496][ T8803] snd_pcm_oss_change_params+0x7b/0xd0 [ 77.213048][ T8803] snd_pcm_oss_get_active_substream+0x136/0x190 [ 77.219303][ T8803] snd_pcm_oss_ioctl+0x8f7/0x3430 [ 77.224338][ T8803] do_vfs_ioctl+0xd6e/0x1390 [ 77.228922][ T8803] ksys_ioctl+0xab/0xd0 [ 77.233076][ T8803] __x64_sys_ioctl+0x73/0xb0 [ 77.237762][ T8803] do_syscall_64+0x103/0x610 [ 77.242458][ T8803] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 77.248342][ T8803] [ 77.250680][ T8803] Freed by task 7160: executing program executing program [ 77.254667][ T8803] save_stack+0x45/0xd0 [ 77.258999][ T8803] __kasan_slab_free+0x102/0x150 [ 77.263995][ T8803] kasan_slab_free+0xe/0x10 [ 77.268511][ T8803] kfree+0xcf/0x230 [ 77.272317][ T8803] tomoyo_find_next_domain+0x73b/0x1f8a [ 77.277858][ T8803] tomoyo_bprm_check_security+0x12a/0x1b0 [ 77.283607][ T8803] security_bprm_check+0x69/0xb0 [ 77.288541][ T8803] search_binary_handler+0x77/0x570 [ 77.293784][ T8803] __do_execve_file.isra.0+0x1394/0x23f0 [ 77.299483][ T8803] __x64_sys_execve+0x8f/0xc0 [ 77.304159][ T8803] do_syscall_64+0x103/0x610 [ 77.308739][ T8803] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 77.316076][ T8803] [ 77.318445][ T8803] The buggy address belongs to the object at ffff88809789ec80 [ 77.318445][ T8803] which belongs to the cache kmalloc-4k of size 4096 [ 77.332678][ T8803] The buggy address is located 3000 bytes inside of [ 77.332678][ T8803] 4096-byte region [ffff88809789ec80, ffff88809789fc80) [ 77.346214][ T8803] The buggy address belongs to the page: [ 77.352229][ T8803] page:ffffea00025e2780 count:1 mapcount:0 mapping:ffff88812c3f0dc0 index:0x0 compound_mapcount: 0 [ 77.362898][ T8803] flags: 0x1fffc0000010200(slab|head) [ 77.368281][ T8803] raw: 01fffc0000010200 ffffea000227c288 ffffea00025fb708 ffff88812c3f0dc0 [ 77.376972][ T8803] raw: 0000000000000000 ffff88809789ec80 0000000100000001 0000000000000000 [ 77.385670][ T8803] page dumped because: kasan: bad access detected [ 77.392085][ T8803] [ 77.394401][ T8803] Memory state around the buggy address: [ 77.400046][ T8803] ffff88809789f700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 executing program executing program [ 77.408106][ T8803] ffff88809789f780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 77.416165][ T8803] >ffff88809789f800: 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc [ 77.424211][ T8803] ^ [ 77.430099][ T8803] ffff88809789f880: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 77.438170][ T8803] ffff88809789f900: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 77.446242][ T8803] ================================================================== executing program [ 77.454407][ T8803] Disabling lock debugging due to kernel taint executing program executing program [ 77.651596][ T8803] Kernel panic - not syncing: panic_on_warn set ... [ 77.658229][ T8803] CPU: 1 PID: 8803 Comm: syz-executor488 Tainted: G B 5.0.0+ #25 [ 77.667255][ T8803] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 77.677317][ T8803] Call Trace: [ 77.680617][ T8803] dump_stack+0x172/0x1f0 [ 77.684977][ T8803] panic+0x2cb/0x65c [ 77.688885][ T8803] ? __warn_printk+0xf3/0xf3 [ 77.693495][ T8803] ? linear_transfer+0x6de/0x970 [ 77.698652][ T8803] ? preempt_schedule+0x4b/0x60 [ 77.703567][ T8803] ? ___preempt_schedule+0x16/0x18 [ 77.708698][ T8803] ? trace_hardirqs_on+0x5e/0x230 [ 77.713707][ T8803] ? linear_transfer+0x6de/0x970 [ 77.718719][ T8803] end_report+0x47/0x4f [ 77.722858][ T8803] ? linear_transfer+0x6de/0x970 [ 77.727780][ T8803] kasan_report.cold+0xe/0x40 [ 77.732444][ T8803] ? linear_transfer+0x6de/0x970 [ 77.737366][ T8803] check_memory_region+0x123/0x190 [ 77.742533][ T8803] memcpy+0x24/0x50 [ 77.746327][ T8803] linear_transfer+0x6de/0x970 [ 77.751088][ T8803] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 77.757318][ T8803] ? snd_pcm_plugin_build_copy+0x410/0x410 [ 77.763106][ T8803] ? io_capture_transfer+0x1fd/0x330 [ 77.768650][ T8803] ? rate_dst_frames+0x2e0/0x2e0 [ 77.773578][ T8803] snd_pcm_plug_read_transfer+0x1a1/0x2f0 [ 77.779283][ T8803] ? snd_pcm_plug_write_transfer+0x400/0x400 [ 77.785395][ T8803] ? snd_pcm_format_physical_width+0x75/0x90 [ 77.791361][ T8803] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 77.797069][ T8803] ? snd_pcm_plug_client_channels_buf+0x212/0x450 [ 77.803514][ T8803] snd_pcm_oss_read2+0x1f0/0x3f0 [ 77.808454][ T8803] ? snd_pcm_oss_read3+0x420/0x420 [ 77.813559][ T8803] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 77.819809][ T8803] snd_pcm_oss_read+0x53a/0x6a0 [ 77.824649][ T8803] __vfs_read+0x8d/0x110 [ 77.828876][ T8803] ? snd_pcm_oss_read2+0x3f0/0x3f0 [ 77.833974][ T8803] vfs_read+0x194/0x3e0 [ 77.838122][ T8803] ksys_read+0xea/0x1f0 [ 77.842262][ T8803] ? kernel_write+0x120/0x120 [ 77.846923][ T8803] ? do_syscall_64+0x26/0x610 [ 77.851585][ T8803] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 77.857719][ T8803] ? do_syscall_64+0x26/0x610 [ 77.862399][ T8803] __x64_sys_read+0x73/0xb0 [ 77.866898][ T8803] do_syscall_64+0x103/0x610 [ 77.871479][ T8803] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 77.877359][ T8803] RIP: 0033:0x446839 [ 77.881315][ T8803] Code: e8 0c e8 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 5b 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 77.901081][ T8803] RSP: 002b:00007f0130638db8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 77.909509][ T8803] RAX: ffffffffffffffda RBX: 00000000006dbc48 RCX: 0000000000446839 [ 77.917521][ T8803] RDX: 0000000000001000 RSI: 00000000200012c0 RDI: 0000000000000003 [ 77.925543][ T8803] RBP: 00000000006dbc40 R08: 00007f0130639700 R09: 0000000000000000 [ 77.933521][ T8803] R10: 00007f0130639700 R11: 0000000000000246 R12: 00000000006dbc4c [ 77.941513][ T8803] R13: 00007ffe0426e0bf R14: 00007f01306399c0 R15: 0000000000000001 [ 77.950323][ T8803] Kernel Offset: disabled [ 77.954653][ T8803] Rebooting in 86400 seconds..