[ 35.996013][ T27] audit: type=1800 audit(1552737427.602:27): pid=7563 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 res=0 [ 36.017745][ T27] audit: type=1800 audit(1552737427.602:28): pid=7563 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 periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 36.862228][ T27] audit: type=1800 audit(1552737428.522:29): pid=7563 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.889820][ T27] audit: type=1800 audit(1552737428.522:30): pid=7563 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.189' (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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program 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: [ 67.343411][ T9813] ================================================================== [ 67.351656][ T9813] BUG: KASAN: slab-out-of-bounds in linear_transfer+0x6de/0x970 [ 67.359290][ T9813] Read of size 1 at addr ffff88808dd60fb8 by task syz-executor387/9813 [ 67.367520][ T9813] [ 67.369857][ T9813] CPU: 1 PID: 9813 Comm: syz-executor387 Not tainted 5.0.0-next-20190306 #4 [ 67.378524][ T9813] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 67.388575][ T9813] Call Trace: [ 67.391863][ T9813] dump_stack+0x172/0x1f0 [ 67.396176][ T9813] ? linear_transfer+0x6de/0x970 [ 67.401093][ T9813] print_address_description.cold+0x7c/0x20d [ 67.407051][ T9813] ? linear_transfer+0x6de/0x970 [ 67.411965][ T9813] ? linear_transfer+0x6de/0x970 [ 67.416924][ T9813] kasan_report.cold+0x1b/0x40 [ 67.421667][ T9813] ? linear_transfer+0x6de/0x970 [ 67.426589][ T9813] check_memory_region+0x123/0x190 [ 67.431695][ T9813] memcpy+0x24/0x50 [ 67.435502][ T9813] linear_transfer+0x6de/0x970 [ 67.440246][ T9813] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 67.446471][ T9813] ? snd_pcm_plugin_build_copy+0x410/0x410 [ 67.452254][ T9813] ? io_capture_transfer+0x1fd/0x330 [ 67.457515][ T9813] ? rate_dst_frames+0x2e0/0x2e0 [ 67.462432][ T9813] snd_pcm_plug_read_transfer+0x1a1/0x2f0 [ 67.468138][ T9813] ? snd_pcm_plug_write_transfer+0x400/0x400 [ 67.474098][ T9813] ? snd_pcm_format_physical_width+0x75/0x90 [ 67.480318][ T9813] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 67.486013][ T9813] ? snd_pcm_plug_client_channels_buf+0x212/0x450 [ 67.492410][ T9813] snd_pcm_oss_read2+0x1f0/0x3f0 [ 67.497326][ T9813] ? snd_pcm_oss_read3+0x420/0x420 [ 67.502420][ T9813] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 67.508641][ T9813] snd_pcm_oss_read+0x53a/0x6a0 [ 67.513473][ T9813] __vfs_read+0x8d/0x110 [ 67.517690][ T9813] ? snd_pcm_oss_read2+0x3f0/0x3f0 [ 67.522802][ T9813] vfs_read+0x194/0x3e0 [ 67.526942][ T9813] ksys_read+0xea/0x1f0 [ 67.531077][ T9813] ? kernel_write+0x120/0x120 [ 67.535732][ T9813] ? do_syscall_64+0x26/0x610 [ 67.540386][ T9813] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 67.546426][ T9813] ? do_syscall_64+0x26/0x610 [ 67.551080][ T9813] __x64_sys_read+0x73/0xb0 [ 67.555560][ T9813] do_syscall_64+0x103/0x610 [ 67.560131][ T9813] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 67.566000][ T9813] RIP: 0033:0x446839 [ 67.569876][ T9813] 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 [ 67.589475][ T9813] RSP: 002b:00007ff6761b7db8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 67.597865][ T9813] RAX: ffffffffffffffda RBX: 00000000006dbc38 RCX: 0000000000446839 [ 67.605826][ T9813] RDX: 0000000000001000 RSI: 00000000200012c0 RDI: 0000000000000003 [ 67.613772][ T9813] RBP: 00000000006dbc30 R08: 0000000000000000 R09: 0000000000000000 [ 67.621744][ T9813] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc3c [ 67.629693][ T9813] R13: 00007ffe7aaca28f R14: 00007ff6761b89c0 R15: 0000000000000000 [ 67.637687][ T9813] [ 67.639995][ T9813] Allocated by task 9798: [ 67.644356][ T9813] save_stack+0x45/0xd0 [ 67.648488][ T9813] __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 67.654095][ T9813] kasan_kmalloc+0x9/0x10 [ 67.658402][ T9813] __kmalloc_node+0x4e/0x70 [ 67.662881][ T9813] kvmalloc_node+0x68/0x100 [ 67.667361][ T9813] snd_pcm_plugin_alloc+0x585/0x770 [ 67.672534][ T9813] snd_pcm_plug_alloc+0x148/0x330 [ 67.677532][ T9813] snd_pcm_oss_change_params_locked+0x2118/0x3750 [ 67.683921][ T9813] snd_pcm_oss_change_params+0x7b/0xd0 [ 67.689357][ T9813] snd_pcm_oss_get_active_substream+0x136/0x190 [ 67.695591][ T9813] snd_pcm_oss_ioctl+0x8f7/0x3430 [ 67.700590][ T9813] do_vfs_ioctl+0xd6e/0x1390 [ 67.705154][ T9813] ksys_ioctl+0xab/0xd0 [ 67.709286][ T9813] __x64_sys_ioctl+0x73/0xb0 [ 67.713856][ T9813] do_syscall_64+0x103/0x610 [ 67.718437][ T9813] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 67.724573][ T9813] [ 67.726892][ T9813] Freed by task 7750: [ 67.730854][ T9813] save_stack+0x45/0xd0 [ 67.734983][ T9813] __kasan_slab_free+0x102/0x150 [ 67.739893][ T9813] kasan_slab_free+0xe/0x10 [ 67.744371][ T9813] kfree+0xcf/0x230 [ 67.748155][ T9813] tomoyo_realpath_from_path+0x1d1/0x730 [ 67.753761][ T9813] tomoyo_realpath_nofollow+0xc8/0xdb [ 67.759117][ T9813] tomoyo_find_next_domain+0x28c/0x1f8a [ 67.764636][ T9813] tomoyo_bprm_check_security+0x12a/0x1b0 [ 67.770332][ T9813] security_bprm_check+0x69/0xb0 [ 67.775258][ T9813] search_binary_handler+0x77/0x570 [ 67.780432][ T9813] __do_execve_file.isra.0+0x1394/0x23f0 [ 67.786055][ T9813] do_execve+0x33/0x40 [ 67.790103][ T9813] call_usermodehelper_exec_async+0x5b5/0x740 [ 67.796142][ T9813] ret_from_fork+0x3a/0x50 [ 67.800528][ T9813] [ 67.802834][ T9813] The buggy address belongs to the object at ffff88808dd60400 [ 67.802834][ T9813] which belongs to the cache kmalloc-4k of size 4096 [ 67.816863][ T9813] The buggy address is located 3000 bytes inside of [ 67.816863][ T9813] 4096-byte region [ffff88808dd60400, ffff88808dd61400) [ 67.830282][ T9813] The buggy address belongs to the page: [ 67.835910][ T9813] page:ffffea0002375800 count:1 mapcount:0 mapping:ffff88812c3f0dc0 index:0x0 compound_mapcount: 0 [ 67.846554][ T9813] flags: 0x1fffc0000010200(slab|head) [ 67.851905][ T9813] raw: 01fffc0000010200 ffffea000237ab08 ffffea000239c808 ffff88812c3f0dc0 [ 67.860468][ T9813] raw: 0000000000000000 ffff88808dd60400 0000000100000001 0000000000000000 [ 67.869021][ T9813] page dumped because: kasan: bad access detected [ 67.875401][ T9813] [ 67.877703][ T9813] Memory state around the buggy address: [ 67.883309][ T9813] ffff88808dd60e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 67.891346][ T9813] ffff88808dd60f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 67.899384][ T9813] >ffff88808dd60f80: 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc [ 67.907418][ T9813] ^ [ 67.913286][ T9813] ffff88808dd61000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 67.922899][ T9813] ffff88808dd61080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 67.930936][ T9813] ================================================================== [ 67.938999][ T9813] Disabling lock debugging due to kernel taint [ 67.949354][ T9813] Kernel panic - not syncing: panic_on_warn set ... [ 67.955958][ T9813] CPU: 1 PID: 9813 Comm: syz-executor387 Tainted: G B 5.0.0-next-20190306 #4 [ 67.966013][ T9813] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 67.976067][ T9813] Call Trace: [ 67.979364][ T9813] dump_stack+0x172/0x1f0 [ 67.983760][ T9813] panic+0x2cb/0x65c [ 67.987672][ T9813] ? __warn_printk+0xf3/0xf3 [ 67.992264][ T9813] ? linear_transfer+0x6de/0x970 [ 67.997213][ T9813] ? preempt_schedule+0x4b/0x60 [ 68.002094][ T9813] ? ___preempt_schedule+0x16/0x18 [ 68.007210][ T9813] ? trace_hardirqs_on+0x5e/0x230 [ 68.012242][ T9813] ? linear_transfer+0x6de/0x970 [ 68.017185][ T9813] end_report+0x47/0x4f [ 68.021350][ T9813] ? linear_transfer+0x6de/0x970 [ 68.026291][ T9813] kasan_report.cold+0xe/0x40 [ 68.030977][ T9813] ? linear_transfer+0x6de/0x970 [ 68.035919][ T9813] check_memory_region+0x123/0x190 [ 68.041037][ T9813] memcpy+0x24/0x50 [ 68.044850][ T9813] linear_transfer+0x6de/0x970 [ 68.049622][ T9813] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 68.055876][ T9813] ? snd_pcm_plugin_build_copy+0x410/0x410 [ 68.061687][ T9813] ? io_capture_transfer+0x1fd/0x330 [ 68.066971][ T9813] ? rate_dst_frames+0x2e0/0x2e0 [ 68.071911][ T9813] snd_pcm_plug_read_transfer+0x1a1/0x2f0 [ 68.077631][ T9813] ? snd_pcm_plug_write_transfer+0x400/0x400 [ 68.083641][ T9813] ? snd_pcm_format_physical_width+0x75/0x90 [ 68.089629][ T9813] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 68.095355][ T9813] ? snd_pcm_plug_client_channels_buf+0x212/0x450 [ 68.101792][ T9813] snd_pcm_oss_read2+0x1f0/0x3f0 [ 68.106737][ T9813] ? snd_pcm_oss_read3+0x420/0x420 [ 68.111856][ T9813] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 68.118133][ T9813] snd_pcm_oss_read+0x53a/0x6a0 [ 68.122998][ T9813] __vfs_read+0x8d/0x110 [ 68.127244][ T9813] ? snd_pcm_oss_read2+0x3f0/0x3f0 [ 68.132360][ T9813] vfs_read+0x194/0x3e0 [ 68.136530][ T9813] ksys_read+0xea/0x1f0 [ 68.140688][ T9813] ? kernel_write+0x120/0x120 [ 68.145377][ T9813] ? do_syscall_64+0x26/0x610 [ 68.150058][ T9813] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 68.156127][ T9813] ? do_syscall_64+0x26/0x610 [ 68.160818][ T9813] __x64_sys_read+0x73/0xb0 [ 68.165334][ T9813] do_syscall_64+0x103/0x610 [ 68.169928][ T9813] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 68.175822][ T9813] RIP: 0033:0x446839 [ 68.179720][ T9813] 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 [ 68.199333][ T9813] RSP: 002b:00007ff6761b7db8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 68.207753][ T9813] RAX: ffffffffffffffda RBX: 00000000006dbc38 RCX: 0000000000446839 [ 68.215745][ T9813] RDX: 0000000000001000 RSI: 00000000200012c0 RDI: 0000000000000003 [ 68.223727][ T9813] RBP: 00000000006dbc30 R08: 0000000000000000 R09: 0000000000000000 [ 68.231726][ T9813] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc3c [ 68.239698][ T9813] R13: 00007ffe7aaca28f R14: 00007ff6761b89c0 R15: 0000000000000000 [ 68.248414][ T9813] Kernel Offset: disabled [ 68.252731][ T9813] Rebooting in 86400 seconds..