[....] Starting enhanced syslogd: rsyslogd[ 10.731381] audit: type=1400 audit(1517133925.338:4): avc: denied { syslog } for pid=3171 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 mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] 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.37' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 20.041275] ================================================================== [ 20.042382] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 20.043344] Read of size 8 at addr ffff8801cb8b2140 by task syzkaller892420/3320 [ 20.044344] [ 20.044580] CPU: 0 PID: 3320 Comm: syzkaller892420 Not tainted 4.9.78-g68d447c #23 [ 20.045666] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.046910] ffff8801c95cf9b0 ffffffff81d943a9 ffffea00072e2c80 ffff8801cb8b2140 [ 20.048053] 0000000000000000 ffff8801cb8b2140 ffff8801c8994438 ffff8801c95cf9e8 [ 20.049223] ffffffff8153dc23 ffff8801cb8b2140 0000000000000008 0000000000000000 [ 20.050441] Call Trace: [ 20.050818] [] dump_stack+0xc1/0x128 [ 20.051533] [] print_address_description+0x73/0x280 [ 20.052473] [] kasan_report+0x275/0x360 [ 20.053229] [] ? sg_remove_request+0x103/0x120 [ 20.054050] [] __asan_report_load8_noabort+0x14/0x20 [ 20.054937] [] sg_remove_request+0x103/0x120 [ 20.055740] [] sg_finish_rem_req+0x295/0x340 [ 20.056538] [] sg_read+0xa16/0x1440 [ 20.057237] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 20.058131] [] ? fsnotify+0xf30/0xf30 [ 20.058866] [] ? avc_policy_seqno+0x9/0x20 [ 20.059644] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 20.060584] [] ? security_file_permission+0x89/0x1e0 [ 20.062028] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 20.068667] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 20.075299] [] do_readv_writev+0x520/0x750 [ 20.081150] [] ? vfs_write+0x530/0x530 [ 20.086656] [] ? _raw_spin_unlock+0x2c/0x50 [ 20.092595] [] ? __pmd_alloc+0x410/0x410 [ 20.098276] [] ? __do_page_fault+0x5ec/0xd40 [ 20.104302] [] vfs_readv+0x84/0xc0 [ 20.109471] [] do_readv+0xe6/0x250 [ 20.114631] [] ? vfs_readv+0xc0/0xc0 [ 20.119963] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 20.126597] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.133404] [] SyS_readv+0x27/0x30 [ 20.138560] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 20.145103] [ 20.146699] Allocated by task 0: [ 20.150027] (stack is not available) [ 20.153704] [ 20.155298] Freed by task 0: [ 20.158281] (stack is not available) [ 20.161968] [ 20.163564] The buggy address belongs to the object at ffff8801cb8b2100 [ 20.163564] which belongs to the cache fasync_cache of size 96 [ 20.176186] The buggy address is located 64 bytes inside of [ 20.176186] 96-byte region [ffff8801cb8b2100, ffff8801cb8b2160) [ 20.187854] The buggy address belongs to the page: [ 20.192750] page:ffffea00072e2c80 count:1 mapcount:0 mapping: (null) index:0x0 [ 20.200973] flags: 0x8000000000000080(slab) [ 20.205258] page dumped because: kasan: bad access detected [ 20.210930] [ 20.212528] Memory state around the buggy address: [ 20.217499] ffff8801cb8b2000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 20.224826] ffff8801cb8b2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.232156] >ffff8801cb8b2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.239481] ^ [ 20.244895] ffff8801cb8b2180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.252220] ffff8801cb8b2200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.259544] ================================================================== [ 20.266868] Disabling lock debugging due to kernel taint [ 20.272588] Kernel panic - not syncing: panic_on_warn set ... [ 20.272588] [ 20.279936] CPU: 0 PID: 3320 Comm: syzkaller892420 Tainted: G B 4.9.78-g68d447c #23 [ 20.288826] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.298149] ffff8801c95cf908 ffffffff81d943a9 ffffffff841971bf ffff8801c95cf9e0 [ 20.306112] 0000000000000000 ffff8801cb8b2140 ffff8801c8994438 ffff8801c95cf9d0 [ 20.314069] ffffffff8142f451 0000000041b58ab3 ffffffff8418ac30 ffffffff8142f295 [ 20.322023] Call Trace: [ 20.324579] [] dump_stack+0xc1/0x128 [ 20.329910] [] panic+0x1bc/0x3a8 [ 20.334894] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 20.343092] [] ? preempt_schedule+0x25/0x30 [ 20.349031] [] ? ___preempt_schedule+0x16/0x18 [ 20.355230] [] kasan_end_report+0x50/0x50 [ 20.360994] [] kasan_report+0x167/0x360 [ 20.366592] [] ? sg_remove_request+0x103/0x120 [ 20.372794] [] __asan_report_load8_noabort+0x14/0x20 [ 20.379512] [] sg_remove_request+0x103/0x120 [ 20.385552] [] sg_finish_rem_req+0x295/0x340 [ 20.391578] [] sg_read+0xa16/0x1440 [ 20.396822] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 20.403471] [] ? fsnotify+0xf30/0xf30 [ 20.408893] [] ? avc_policy_seqno+0x9/0x20 [ 20.414744] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 20.421725] [] ? security_file_permission+0x89/0x1e0 [ 20.428451] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 20.435082] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 20.441714] [] do_readv_writev+0x520/0x750 [ 20.447565] [] ? vfs_write+0x530/0x530 [ 20.453071] [] ? _raw_spin_unlock+0x2c/0x50 [ 20.459017] [] ? __pmd_alloc+0x410/0x410 [ 20.464698] [] ? __do_page_fault+0x5ec/0xd40 [ 20.470730] [] vfs_readv+0x84/0xc0 [ 20.475885] [] do_readv+0xe6/0x250 [ 20.481050] [] ? vfs_readv+0xc0/0xc0 [ 20.486380] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 20.493013] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.499818] [] SyS_readv+0x27/0x30 [ 20.504974] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 20.512026] Dumping ftrace buffer: [ 20.515537] (ftrace buffer empty) [ 20.519220] Kernel Offset: disabled [ 20.522816] Rebooting in 86400 seconds..