[ 38.640621] audit: type=1800 audit(1575438372.681:31): pid=7508 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2469 res=0 [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 44.105844] kauditd_printk_skb: 3 callbacks suppressed [ 44.105858] audit: type=1400 audit(1575438378.161:35): avc: denied { map } for pid=7685 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 Warning: Permanently added '10.128.0.142' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program [ 51.381306] audit: type=1400 audit(1575438385.441:36): avc: denied { map } for pid=7697 comm="syz-executor518" path="/root/syz-executor518628711" 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 [ 51.439120] hrtimer: interrupt took 37184 ns executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 57.447258] ================================================================== [ 57.454809] BUG: KASAN: slab-out-of-bounds in linear_transfer+0x6de/0x940 [ 57.461807] Read of size 1 at addr ffff888087d97940 by task syz-executor518/8231 [ 57.469332] [ 57.470989] CPU: 0 PID: 8231 Comm: syz-executor518 Not tainted 4.19.87-syzkaller #0 [ 57.478768] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 57.488121] Call Trace: [ 57.490705] dump_stack+0x197/0x210 [ 57.494337] ? linear_transfer+0x6de/0x940 [ 57.498561] print_address_description.cold+0x7c/0x20d [ 57.503829] ? linear_transfer+0x6de/0x940 [ 57.508058] kasan_report.cold+0x8c/0x2ba [ 57.512203] check_memory_region+0x123/0x190 [ 57.516618] memcpy+0x24/0x50 [ 57.519732] linear_transfer+0x6de/0x940 [ 57.523796] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 57.529334] ? snd_pcm_plugin_build_copy.cold+0x9e/0x9e [ 57.534783] ? io_capture_transfer+0x1fd/0x300 [ 57.539650] ? rate_dst_frames+0x2b0/0x2b0 [ 57.543890] snd_pcm_plug_read_transfer+0x197/0x2e0 [ 57.548911] ? snd_pcm_plug_write_transfer+0x3e0/0x3e0 [ 57.554174] ? snd_pcm_format_physical_width+0x75/0x90 [ 57.559454] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 57.564519] ? snd_pcm_plug_client_channels_buf+0x340/0x430 [ 57.570331] snd_pcm_oss_read2+0x1f0/0x3f0 [ 57.574607] ? snd_pcm_oss_read3+0x420/0x420 [ 57.579107] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 57.584635] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 57.590178] snd_pcm_oss_read+0x53a/0x6a0 [ 57.594335] __vfs_read+0x114/0x800 [ 57.597972] ? snd_pcm_oss_read2+0x3f0/0x3f0 [ 57.602389] ? vfs_copy_file_range+0xba0/0xba0 [ 57.607224] ? __inode_security_revalidate+0xda/0x120 [ 57.612500] ? avc_policy_seqno+0xd/0x70 [ 57.616552] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 57.621569] ? security_file_permission+0x89/0x230 [ 57.626492] ? rw_verify_area+0x118/0x360 [ 57.630632] vfs_read+0x194/0x3d0 [ 57.634096] ksys_read+0x14f/0x2d0 [ 57.637640] ? kernel_write+0x120/0x120 [ 57.641612] ? do_syscall_64+0x26/0x620 [ 57.645606] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 57.650959] ? do_syscall_64+0x26/0x620 [ 57.654926] __x64_sys_read+0x73/0xb0 [ 57.658792] do_syscall_64+0xfd/0x620 [ 57.662597] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 57.667776] RIP: 0033:0x44a6f9 [ 57.670974] 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 7b cb fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 57.689872] RSP: 002b:00007f0fed3dedb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 57.698060] RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 000000000044a6f9 [ 57.705334] RDX: 0000000000000313 RSI: 0000000020000380 RDI: 0000000000000006 [ 57.712712] RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 [ 57.719989] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c [ 57.727266] R13: 00007ffee744fbff R14: 00007f0fed3df9c0 R15: 0000000000000000 [ 57.734534] [ 57.736148] Allocated by task 8236: [ 57.739786] save_stack+0x45/0xd0 [ 57.743332] kasan_kmalloc+0xce/0xf0 [ 57.747304] __kmalloc_node+0x51/0x80 [ 57.751114] kvmalloc_node+0x68/0x100 [ 57.754913] snd_pcm_plugin_alloc+0x594/0x760 [ 57.759485] snd_pcm_plug_alloc+0x146/0x2f0 [ 57.763821] snd_pcm_oss_change_params_locked+0x210f/0x3750 [ 57.769519] snd_pcm_oss_change_params+0x7b/0xd0 [ 57.774283] snd_pcm_oss_get_active_substream+0x136/0x190 [ 57.779820] snd_pcm_oss_ioctl+0x13df/0x3390 [ 57.784726] do_vfs_ioctl+0xd5f/0x1380 [ 57.788704] ksys_ioctl+0xab/0xd0 [ 57.792152] __x64_sys_ioctl+0x73/0xb0 [ 57.796231] do_syscall_64+0xfd/0x620 [ 57.800025] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 57.805201] [ 57.806817] Freed by task 5395: [ 57.810089] save_stack+0x45/0xd0 [ 57.813532] __kasan_slab_free+0x102/0x150 [ 57.817852] kasan_slab_free+0xe/0x10 [ 57.821697] kfree+0xcf/0x220 [ 57.824803] security_context_to_sid_core.isra.0+0x2e4/0x5b0 [ 57.830591] security_context_to_sid_force+0x3c/0x50 [ 57.839784] selinux_inode_post_setxattr+0x119/0x360 [ 57.844969] security_inode_post_setxattr+0xd1/0x150 [ 57.850061] __vfs_setxattr_noperm+0x343/0x410 [ 57.854634] vfs_setxattr+0xda/0x100 [ 57.858349] setxattr+0x26f/0x380 [ 57.861796] path_setxattr+0x197/0x1b0 [ 57.865666] __x64_sys_lsetxattr+0xc1/0x150 [ 57.869979] do_syscall_64+0xfd/0x620 [ 57.873860] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 57.879041] [ 57.880667] The buggy address belongs to the object at ffff888087d97900 [ 57.880667] which belongs to the cache kmalloc-64 of size 64 [ 57.893248] The buggy address is located 0 bytes to the right of [ 57.893248] 64-byte region [ffff888087d97900, ffff888087d97940) [ 57.905368] The buggy address belongs to the page: [ 57.910379] page:ffffea00021f65c0 count:1 mapcount:0 mapping:ffff88812c31c340 index:0x0 [ 57.918507] flags: 0xfffe0000000100(slab) [ 57.922642] raw: 00fffe0000000100 ffffea00028467c8 ffffea00027d6188 ffff88812c31c340 [ 57.930621] raw: 0000000000000000 ffff888087d97000 0000000100000020 0000000000000000 [ 57.938494] page dumped because: kasan: bad access detected [ 57.944198] [ 57.945813] Memory state around the buggy address: [ 57.950736] ffff888087d97800: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 57.958970] ffff888087d97880: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc [ 57.966498] >ffff888087d97900: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 57.973851] ^ [ 57.979288] ffff888087d97980: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 57.986735] ffff888087d97a00: 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc executing program [ 57.994082] ================================================================== [ 58.001422] Disabling lock debugging due to kernel taint [ 58.009629] Kernel panic - not syncing: panic_on_warn set ... [ 58.009629] [ 58.017012] CPU: 0 PID: 8231 Comm: syz-executor518 Tainted: G B 4.19.87-syzkaller #0 [ 58.026211] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.035563] Call Trace: [ 58.038184] dump_stack+0x197/0x210 [ 58.041828] ? linear_transfer+0x6de/0x940 [ 58.046063] panic+0x26a/0x50e [ 58.049415] ? __warn_printk+0xf3/0xf3 [ 58.053304] ? linear_transfer+0x6de/0x940 [ 58.057664] ? preempt_schedule+0x4b/0x60 [ 58.061906] ? ___preempt_schedule+0x16/0x18 [ 58.066299] ? trace_hardirqs_on+0x5e/0x220 [ 58.070617] ? linear_transfer+0x6de/0x940 [ 58.074964] kasan_end_report+0x47/0x4f [ 58.078929] kasan_report.cold+0xa9/0x2ba [ 58.083161] check_memory_region+0x123/0x190 [ 58.087580] memcpy+0x24/0x50 [ 58.091534] linear_transfer+0x6de/0x940 [ 58.095678] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 58.101218] ? snd_pcm_plugin_build_copy.cold+0x9e/0x9e [ 58.106588] ? io_capture_transfer+0x1fd/0x300 [ 58.111179] ? rate_dst_frames+0x2b0/0x2b0 [ 58.115487] snd_pcm_plug_read_transfer+0x197/0x2e0 [ 58.120498] ? snd_pcm_plug_write_transfer+0x3e0/0x3e0 [ 58.125766] ? snd_pcm_format_physical_width+0x75/0x90 [ 58.131129] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 58.136135] ? snd_pcm_plug_client_channels_buf+0x340/0x430 [ 58.142359] snd_pcm_oss_read2+0x1f0/0x3f0 [ 58.146631] ? snd_pcm_oss_read3+0x420/0x420 [ 58.151035] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 58.156825] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 58.162355] snd_pcm_oss_read+0x53a/0x6a0 [ 58.166497] __vfs_read+0x114/0x800 [ 58.170127] ? snd_pcm_oss_read2+0x3f0/0x3f0 [ 58.174522] ? vfs_copy_file_range+0xba0/0xba0 [ 58.179113] ? __inode_security_revalidate+0xda/0x120 [ 58.184384] ? avc_policy_seqno+0xd/0x70 [ 58.188460] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 58.193485] ? security_file_permission+0x89/0x230 [ 58.198494] ? rw_verify_area+0x118/0x360 [ 58.202740] vfs_read+0x194/0x3d0 [ 58.206211] ksys_read+0x14f/0x2d0 [ 58.209889] ? kernel_write+0x120/0x120 [ 58.214047] ? do_syscall_64+0x26/0x620 [ 58.218097] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.223536] ? do_syscall_64+0x26/0x620 [ 58.227510] __x64_sys_read+0x73/0xb0 [ 58.231398] do_syscall_64+0xfd/0x620 [ 58.235379] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.240648] RIP: 0033:0x44a6f9 [ 58.243889] 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 7b cb fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 58.262866] RSP: 002b:00007f0fed3dedb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 58.270560] RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 000000000044a6f9 [ 58.277903] RDX: 0000000000000313 RSI: 0000000020000380 RDI: 0000000000000006 [ 58.285162] RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 [ 58.292429] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c [ 58.299740] R13: 00007ffee744fbff R14: 00007f0fed3df9c0 R15: 0000000000000000 [ 58.309058] Kernel Offset: disabled [ 58.313138] Rebooting in 86400 seconds..