[....] Starting enhanced syslogd: rsyslogd[ 13.472181] audit: type=1400 audit(1515622220.778:4): avc: denied { syslog } for pid=3176 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.15.196' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 25.482296] ================================================================== [ 25.489681] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 25.496751] Read of size 8 at addr ffff8801ca998140 by task syzkaller294176/3331 [ 25.504246] [ 25.505844] CPU: 1 PID: 3331 Comm: syzkaller294176 Not tainted 4.9.76-g9154940 #20 [ 25.513512] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.522833] ffff8801cd817a50 ffffffff81d93149 ffffea00072a6600 ffff8801ca998140 [ 25.530789] 0000000000000000 ffff8801ca998140 ffff8801ca1cc438 ffff8801cd817a88 [ 25.538736] ffffffff8153cb43 ffff8801ca998140 0000000000000008 0000000000000000 [ 25.546686] Call Trace: [ 25.549241] [] dump_stack+0xc1/0x128 [ 25.554578] [] print_address_description+0x73/0x280 [ 25.561217] [] kasan_report+0x275/0x360 [ 25.566810] [] ? sg_remove_request+0x103/0x120 [ 25.573007] [] __asan_report_load8_noabort+0x14/0x20 [ 25.579724] [] sg_remove_request+0x103/0x120 [ 25.585746] [] sg_finish_rem_req+0x295/0x340 [ 25.591767] [] sg_read+0xa1c/0x1440 [ 25.597008] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.603651] [] ? __raw_spin_lock_init+0x1c/0x100 [ 25.610022] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 25.616824] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.623453] [] __vfs_read+0x103/0x670 [ 25.628868] [] ? default_llseek+0x290/0x290 [ 25.634803] [] ? fsnotify+0x86/0xf30 [ 25.640130] [] ? fsnotify+0xf30/0xf30 [ 25.645545] [] ? avc_policy_seqno+0x9/0x20 [ 25.651402] [] ? selinux_file_permission+0x82/0x460 [ 25.658034] [] ? security_file_permission+0x89/0x1e0 [ 25.664752] [] ? rw_verify_area+0xe5/0x2b0 [ 25.670601] [] vfs_read+0x11e/0x380 [ 25.675840] [] SyS_read+0xd9/0x1b0 [ 25.680994] [] ? vfs_copy_file_range+0x740/0x740 [ 25.687370] [] ? do_fast_syscall_32+0xcf/0x890 [ 25.693565] [] ? vfs_copy_file_range+0x740/0x740 [ 25.699933] [] do_fast_syscall_32+0x2f7/0x890 [ 25.706050] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.712693] [] entry_SYSENTER_compat+0x74/0x83 [ 25.718890] [ 25.720484] Allocated by task 0: [ 25.723809] (stack is not available) [ 25.727484] [ 25.729076] Freed by task 0: [ 25.732061] (stack is not available) [ 25.735737] [ 25.737329] The buggy address belongs to the object at ffff8801ca998100 [ 25.737329] which belongs to the cache fasync_cache of size 96 [ 25.749948] The buggy address is located 64 bytes inside of [ 25.749948] 96-byte region [ffff8801ca998100, ffff8801ca998160) [ 25.761611] The buggy address belongs to the page: [ 25.766505] page:ffffea00072a6600 count:1 mapcount:0 mapping: (null) index:0x0 [ 25.774722] flags: 0x8000000000000080(slab) [ 25.779002] page dumped because: kasan: bad access detected [ 25.784671] [ 25.786262] Memory state around the buggy address: [ 25.791159] ffff8801ca998000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 25.798490] ffff8801ca998080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.805817] >ffff8801ca998100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.813136] ^ [ 25.818549] ffff8801ca998180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.825871] ffff8801ca998200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.833193] ================================================================== [ 25.840516] Disabling lock debugging due to kernel taint [ 25.846185] Kernel panic - not syncing: panic_on_warn set ... [ 25.846185] [ 25.853532] CPU: 1 PID: 3331 Comm: syzkaller294176 Tainted: G B 4.9.76-g9154940 #20 [ 25.862593] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.871914] ffff8801cd8179a8 ffffffff81d93149 ffffffff84195c17 ffff8801cd817a80 [ 25.879853] 0000000000000000 ffff8801ca998140 ffff8801ca1cc438 ffff8801cd817a70 [ 25.887798] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 25.895752] Call Trace: [ 25.898303] [] dump_stack+0xc1/0x128 [ 25.903638] [] panic+0x1bc/0x3a8 [ 25.908619] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 25.916812] [] ? preempt_schedule+0x25/0x30 [ 25.922749] [] ? ___preempt_schedule+0x16/0x18 [ 25.928961] [] kasan_end_report+0x50/0x50 [ 25.934809] [] kasan_report+0x167/0x360 [ 25.940396] [] ? sg_remove_request+0x103/0x120 [ 25.946592] [] __asan_report_load8_noabort+0x14/0x20 [ 25.953308] [] sg_remove_request+0x103/0x120 [ 25.959332] [] sg_finish_rem_req+0x295/0x340 [ 25.965352] [] sg_read+0xa1c/0x1440 [ 25.970605] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.977240] [] ? __raw_spin_lock_init+0x1c/0x100 [ 25.983609] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 25.990413] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 25.997058] [] __vfs_read+0x103/0x670 [ 26.002491] [] ? default_llseek+0x290/0x290 [ 26.008439] [] ? fsnotify+0x86/0xf30 [ 26.013765] [] ? fsnotify+0xf30/0xf30 [ 26.019194] [] ? avc_policy_seqno+0x9/0x20 [ 26.025043] [] ? selinux_file_permission+0x82/0x460 [ 26.031670] [] ? security_file_permission+0x89/0x1e0 [ 26.038386] [] ? rw_verify_area+0xe5/0x2b0 [ 26.044234] [] vfs_read+0x11e/0x380 [ 26.049474] [] SyS_read+0xd9/0x1b0 [ 26.054628] [] ? vfs_copy_file_range+0x740/0x740 [ 26.060999] [] ? do_fast_syscall_32+0xcf/0x890 [ 26.067197] [] ? vfs_copy_file_range+0x740/0x740 [ 26.073565] [] do_fast_syscall_32+0x2f7/0x890 [ 26.079672] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.086319] [] entry_SYSENTER_compat+0x74/0x83 [ 26.093009] Dumping ftrace buffer: [ 26.096518] (ftrace buffer empty) [ 26.100193] Kernel Offset: disabled [ 26.103785] Rebooting in 86400 seconds..