[....] Starting enhanced syslogd: rsyslogd[ 13.847253] audit: type=1400 audit(1517284402.209:4): avc: denied { syslog } for pid=3902 comm="rsyslogd" capability=34 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=1 [?25l[?1c7[ ok 8[?25h[?0c. [....] 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 Warning: Permanently added '10.128.0.34' (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 syzkaller login: [ 26.586224] ================================================================== [ 26.593620] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 26.600691] Read of size 8 at addr ffff8801bd9d1d40 by task syzkaller007288/4060 [ 26.608195] [ 26.609802] CPU: 0 PID: 4060 Comm: syzkaller007288 Not tainted 4.9.78-g7be1985 #24 [ 26.617478] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.626804] ffff8801d3e4fab0 ffffffff81d94409 ffffea0006f67440 ffff8801bd9d1d40 [ 26.634781] 0000000000000000 ffff8801bd9d1d40 ffff8801d51d4438 ffff8801d3e4fae8 [ 26.642758] ffffffff8153dc73 ffff8801bd9d1d40 0000000000000008 0000000000000000 [ 26.650729] Call Trace: [ 26.653293] [] dump_stack+0xc1/0x128 [ 26.658632] [] print_address_description+0x73/0x280 [ 26.665269] [] kasan_report+0x275/0x360 [ 26.670867] [] ? sg_remove_request+0x103/0x120 [ 26.677069] [] __asan_report_load8_noabort+0x14/0x20 [ 26.683793] [] sg_remove_request+0x103/0x120 [ 26.689821] [] sg_finish_rem_req+0x295/0x340 [ 26.695847] [] sg_read+0xa16/0x1440 [ 26.701094] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 26.707731] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 26.714713] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 26.721352] [] __vfs_read+0x103/0x670 [ 26.726773] [] ? default_llseek+0x290/0x290 [ 26.732715] [] ? fsnotify+0x86/0xf30 [ 26.738047] [] ? fsnotify+0xf30/0xf30 [ 26.743473] [] ? avc_policy_seqno+0x9/0x20 [ 26.749329] [] ? selinux_file_permission+0x82/0x460 [ 26.755971] [] ? security_file_permission+0x89/0x1e0 [ 26.762695] [] ? rw_verify_area+0xe5/0x2b0 [ 26.768550] [] vfs_read+0x11e/0x380 [ 26.773798] [] SyS_read+0xd9/0x1b0 [ 26.778967] [] ? vfs_copy_file_range+0x740/0x740 [ 26.785346] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 26.792161] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.798714] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 26.805261] [ 26.806861] Allocated by task 0: [ 26.810193] (stack is not available) [ 26.813874] [ 26.815472] Freed by task 0: [ 26.818457] (stack is not available) [ 26.822745] [ 26.824344] The buggy address belongs to the object at ffff8801bd9d1d00 [ 26.824344] which belongs to the cache fasync_cache of size 96 [ 26.836973] The buggy address is located 64 bytes inside of [ 26.836973] 96-byte region [ffff8801bd9d1d00, ffff8801bd9d1d60) [ 26.848643] The buggy address belongs to the page: [ 26.853543] page:ffffea0006f67440 count:1 mapcount:0 mapping: (null) index:0x0 [ 26.861770] flags: 0x8000000000000080(slab) [ 26.866059] page dumped because: kasan: bad access detected [ 26.871737] [ 26.873336] Memory state around the buggy address: [ 26.878236] ffff8801bd9d1c00: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 26.885566] ffff8801bd9d1c80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.892896] >ffff8801bd9d1d00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.900223] ^ [ 26.905642] ffff8801bd9d1d80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.912971] ffff8801bd9d1e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.920297] ================================================================== [ 26.927625] Disabling lock debugging due to kernel taint [ 26.935044] Kernel panic - not syncing: panic_on_warn set ... [ 26.935044] [ 26.942421] CPU: 0 PID: 4060 Comm: syzkaller007288 Tainted: G B 4.9.78-g7be1985 #24 [ 26.951316] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.960644] ffff8801d3e4fa08 ffffffff81d94409 ffffffff841971bf ffff8801d3e4fae0 [ 26.968615] 0000000000000000 ffff8801bd9d1d40 ffff8801d51d4438 ffff8801d3e4fad0 [ 26.976586] ffffffff8142f4a1 0000000041b58ab3 ffffffff8418ac30 ffffffff8142f2e5 [ 26.984560] Call Trace: [ 26.987126] [] dump_stack+0xc1/0x128 [ 26.992467] [] panic+0x1bc/0x3a8 [ 26.997457] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 27.005658] [] ? preempt_schedule+0x25/0x30 [ 27.011602] [] ? ___preempt_schedule+0x16/0x18 [ 27.017806] [] kasan_end_report+0x50/0x50 [ 27.023575] [] kasan_report+0x167/0x360 [ 27.029170] [] ? sg_remove_request+0x103/0x120 [ 27.035373] [] __asan_report_load8_noabort+0x14/0x20 [ 27.042097] [] sg_remove_request+0x103/0x120 [ 27.048124] [] sg_finish_rem_req+0x295/0x340 [ 27.054155] [] sg_read+0xa16/0x1440 [ 27.059402] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.066045] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 27.073029] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.079667] [] __vfs_read+0x103/0x670 [ 27.085088] [] ? default_llseek+0x290/0x290 [ 27.091031] [] ? fsnotify+0x86/0xf30 [ 27.096363] [] ? fsnotify+0xf30/0xf30 [ 27.101786] [] ? avc_policy_seqno+0x9/0x20 [ 27.107640] [] ? selinux_file_permission+0x82/0x460 [ 27.114276] [] ? security_file_permission+0x89/0x1e0 [ 27.121520] [] ? rw_verify_area+0xe5/0x2b0 [ 27.127374] [] vfs_read+0x11e/0x380 [ 27.132621] [] SyS_read+0xd9/0x1b0 [ 27.137783] [] ? vfs_copy_file_range+0x740/0x740 [ 27.144163] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.150975] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.157529] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 27.164548] Dumping ftrace buffer: [ 27.168063] (ftrace buffer empty) [ 27.171743] Kernel Offset: disabled [ 27.175339] Rebooting in 86400 seconds..