[....] Starting enhanced syslogd: rsyslogd[ 13.155892] audit: type=1400 audit(1517525957.106:4): avc: denied { syslog } for pid=3904 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.61' (ECDSA) to the list of known hosts. executing program executing program executing program executing program syzkaller login: [ 41.474392] ================================================================== [ 41.481780] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 41.488848] Read of size 8 at addr ffff8801bf00f1c0 by task syzkaller863239/4072 [ 41.496360] [ 41.497962] CPU: 1 PID: 4072 Comm: syzkaller863239 Not tainted 4.9.79-g71f1469 #25 [ 41.505643] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.514970] ffff8801d309f9b0 ffffffff81d94829 ffffea0006fc03c0 ffff8801bf00f1c0 [ 41.522949] 0000000000000000 ffff8801bf00f1c0 ffff8801c449a338 ffff8801d309f9e8 [ 41.530928] ffffffff8153e083 ffff8801bf00f1c0 0000000000000008 0000000000000000 [ 41.538915] Call Trace: [ 41.541473] [] dump_stack+0xc1/0x128 [ 41.546806] [] print_address_description+0x73/0x280 [ 41.553441] [] kasan_report+0x275/0x360 [ 41.559032] [] ? sg_remove_request+0x103/0x120 [ 41.565233] [] __asan_report_load8_noabort+0x14/0x20 [ 41.571962] [] sg_remove_request+0x103/0x120 [ 41.577989] [] sg_finish_rem_req+0x295/0x340 [ 41.584016] [] sg_read+0xa16/0x1440 [ 41.589259] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 41.595938] [] ? fsnotify+0xf30/0xf30 [ 41.601360] [] ? avc_policy_seqno+0x9/0x20 [ 41.607221] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 41.614202] [] ? security_file_permission+0x89/0x1e0 [ 41.620923] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 41.627555] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 41.634194] [] do_readv_writev+0x520/0x750 [ 41.640049] [] ? vfs_write+0x530/0x530 [ 41.645557] [] ? __fget+0x201/0x3a0 [ 41.651323] [] ? __fget+0x228/0x3a0 [ 41.656568] [] ? __fget+0x47/0x3a0 [ 41.661724] [] vfs_readv+0x84/0xc0 [ 41.666883] [] do_readv+0xe6/0x250 [ 41.672045] [] ? vfs_readv+0xc0/0xc0 [ 41.677377] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 41.684015] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 41.690832] [] SyS_readv+0x27/0x30 [ 41.695990] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 41.702544] [ 41.704142] Allocated by task 0: [ 41.707473] (stack is not available) [ 41.711150] [ 41.712747] Freed by task 0: [ 41.715730] (stack is not available) [ 41.719410] [ 41.721006] The buggy address belongs to the object at ffff8801bf00f180 [ 41.721006] which belongs to the cache fasync_cache of size 96 [ 41.733628] The buggy address is located 64 bytes inside of [ 41.733628] 96-byte region [ffff8801bf00f180, ffff8801bf00f1e0) [ 41.745295] The buggy address belongs to the page: [ 41.750191] page:ffffea0006fc03c0 count:1 mapcount:0 mapping: (null) index:0x0 [ 41.758420] flags: 0x8000000000000080(slab) [ 41.762710] page dumped because: kasan: bad access detected [ 41.768393] [ 41.769989] Memory state around the buggy address: [ 41.774889] ffff8801bf00f080: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 41.782215] ffff8801bf00f100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 41.789540] >ffff8801bf00f180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 41.796869] ^ [ 41.802288] ffff8801bf00f200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 41.809622] ffff8801bf00f280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 41.816950] ================================================================== [ 41.824273] Disabling lock debugging due to kernel taint [ 41.831249] Kernel panic - not syncing: panic_on_warn set ... [ 41.831249] [ 41.838610] CPU: 1 PID: 4072 Comm: syzkaller863239 Tainted: G B 4.9.79-g71f1469 #25 [ 41.847500] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.856835] ffff8801d309f908 ffffffff81d94829 ffffffff8419709f ffff8801d309f9e0 [ 41.864803] 0000000000000000 ffff8801bf00f1c0 ffff8801c449a338 ffff8801d309f9d0 [ 41.872775] ffffffff8142f531 0000000041b58ab3 ffffffff8418ab10 ffffffff8142f375 [ 41.880744] Call Trace: [ 41.883306] [] dump_stack+0xc1/0x128 [ 41.888642] [] panic+0x1bc/0x3a8 [ 41.893631] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 41.901830] [] ? preempt_schedule+0x25/0x30 [ 41.907770] [] ? ___preempt_schedule+0x16/0x18 [ 41.913972] [] kasan_end_report+0x50/0x50 [ 41.919735] [] kasan_report+0x167/0x360 [ 41.925337] [] ? sg_remove_request+0x103/0x120 [ 41.931538] [] __asan_report_load8_noabort+0x14/0x20 [ 41.938267] [] sg_remove_request+0x103/0x120 [ 41.944293] [] sg_finish_rem_req+0x295/0x340 [ 41.950326] [] sg_read+0xa16/0x1440 [ 41.955572] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 41.962214] [] ? fsnotify+0xf30/0xf30 [ 41.967642] [] ? avc_policy_seqno+0x9/0x20 [ 41.973497] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 41.980480] [] ? security_file_permission+0x89/0x1e0 [ 41.987202] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 41.993845] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 42.000488] [] do_readv_writev+0x520/0x750 [ 42.006342] [] ? vfs_write+0x530/0x530 [ 42.011865] [] ? __fget+0x201/0x3a0 [ 42.017107] [] ? __fget+0x228/0x3a0 [ 42.022367] [] ? __fget+0x47/0x3a0 [ 42.027525] [] vfs_readv+0x84/0xc0 [ 42.032686] [] do_readv+0xe6/0x250 [ 42.037842] [] ? vfs_readv+0xc0/0xc0 [ 42.043177] [] ? entry_SYSCALL_64_fastpath+0x5/0xe8 [ 42.049811] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 42.056618] [] SyS_readv+0x27/0x30 [ 42.061776] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 42.068676] Dumping ftrace buffer: [ 42.072184] (ftrace buffer empty) [ 42.075864] Kernel Offset: disabled [ 42.079471] Rebooting in 86400 seconds..