[....] Starting enhanced syslogd: rsyslogd[ 10.366377] audit: type=1400 audit(1515842894.879:4): avc: denied { syslog } for pid=3177 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.208' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 41.839372] ================================================================== [ 41.840483] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 41.841424] Read of size 8 at addr ffff8801c8d7f140 by task syzkaller799581/3349 [ 41.842422] [ 41.842651] CPU: 1 PID: 3349 Comm: syzkaller799581 Not tainted 4.9.76-g8e170a5 #21 [ 41.843656] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.844888] ffff8801c6caf940 ffffffff81d93149 ffffea0007235fc0 ffff8801c8d7f140 [ 41.846016] 0000000000000000 ffff8801c8d7f140 ffff8801c864a338 ffff8801c6caf978 [ 41.847161] ffffffff8153cb43 ffff8801c8d7f140 0000000000000008 0000000000000000 [ 41.848287] Call Trace: [ 41.848643] [] dump_stack+0xc1/0x128 [ 41.849363] [] print_address_description+0x73/0x280 [ 41.850250] [] kasan_report+0x275/0x360 [ 41.850990] [] ? sg_remove_request+0x103/0x120 [ 41.851810] [] __asan_report_load8_noabort+0x14/0x20 [ 41.852695] [] sg_remove_request+0x103/0x120 [ 41.853507] [] sg_finish_rem_req+0x295/0x340 [ 41.854383] [] sg_read+0xa1c/0x1440 [ 41.855082] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 41.855974] [] ? fsnotify+0xf30/0xf30 [ 41.856695] [] ? avc_policy_seqno+0x9/0x20 [ 41.857469] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 41.858392] [] ? security_file_permission+0x89/0x1e0 [ 41.859342] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 41.865417] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 41.872048] [] compat_do_readv_writev+0x522/0x760 [ 41.878662] [] ? do_pwritev+0x1a0/0x1a0 [ 41.884259] [] ? __lru_cache_add+0x187/0x250 [ 41.890286] [] ? _raw_spin_unlock+0x2c/0x50 [ 41.896220] [] ? handle_mm_fault+0x6ee/0x2530 [ 41.902331] [] ? __pmd_alloc+0x410/0x410 [ 41.908010] [] compat_readv+0xe3/0x150 [ 41.913514] [] do_compat_readv+0xf4/0x1d0 [ 41.919275] [] ? compat_readv+0x150/0x150 [ 41.925036] [] compat_SyS_readv+0x26/0x30 [ 41.930798] [] ? SyS_pwritev2+0x80/0x80 [ 41.936386] [] do_fast_syscall_32+0x2f7/0x890 [ 41.942494] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 41.949122] [] entry_SYSENTER_compat+0x74/0x83 [ 41.955315] [ 41.956906] Allocated by task 0: [ 41.960234] (stack is not available) [ 41.963906] [ 41.965494] Freed by task 0: [ 41.968473] (stack is not available) [ 41.972147] [ 41.973739] The buggy address belongs to the object at ffff8801c8d7f100 [ 41.973739] which belongs to the cache fasync_cache of size 96 [ 41.986364] The buggy address is located 64 bytes inside of [ 41.986364] 96-byte region [ffff8801c8d7f100, ffff8801c8d7f160) [ 41.998024] The buggy address belongs to the page: [ 42.002917] page:ffffea0007235fc0 count:1 mapcount:0 mapping: (null) index:0x0 [ 42.011132] flags: 0x8000000000000080(slab) [ 42.015416] page dumped because: kasan: bad access detected [ 42.021087] [ 42.022676] Memory state around the buggy address: [ 42.027566] ffff8801c8d7f000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 42.034893] ffff8801c8d7f080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.042214] >ffff8801c8d7f100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.049533] ^ [ 42.054947] ffff8801c8d7f180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.062270] ffff8801c8d7f200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.069597] ================================================================== [ 42.076915] Disabling lock debugging due to kernel taint [ 42.082598] Kernel panic - not syncing: panic_on_warn set ... [ 42.082598] [ 42.089933] CPU: 1 PID: 3349 Comm: syzkaller799581 Tainted: G B 4.9.76-g8e170a5 #21 [ 42.098828] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.108149] ffff8801c6caf898 ffffffff81d93149 ffffffff84195c17 ffff8801c6caf970 [ 42.116098] 0000000000000000 ffff8801c8d7f140 ffff8801c864a338 ffff8801c6caf960 [ 42.124041] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 42.131975] Call Trace: [ 42.134531] [] dump_stack+0xc1/0x128 [ 42.139860] [] panic+0x1bc/0x3a8 [ 42.144847] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 42.153041] [] ? preempt_schedule+0x25/0x30 [ 42.158974] [] ? ___preempt_schedule+0x16/0x18 [ 42.165350] [] kasan_end_report+0x50/0x50 [ 42.171112] [] kasan_report+0x167/0x360 [ 42.176698] [] ? sg_remove_request+0x103/0x120 [ 42.182892] [] __asan_report_load8_noabort+0x14/0x20 [ 42.189613] [] sg_remove_request+0x103/0x120 [ 42.195636] [] sg_finish_rem_req+0x295/0x340 [ 42.201661] [] sg_read+0xa1c/0x1440 [ 42.206901] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 42.213529] [] ? fsnotify+0xf30/0xf30 [ 42.218943] [] ? avc_policy_seqno+0x9/0x20 [ 42.224792] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 42.231769] [] ? security_file_permission+0x89/0x1e0 [ 42.238498] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 42.245128] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 42.251756] [] compat_do_readv_writev+0x522/0x760 [ 42.258214] [] ? do_pwritev+0x1a0/0x1a0 [ 42.263805] [] ? __lru_cache_add+0x187/0x250 [ 42.269828] [] ? _raw_spin_unlock+0x2c/0x50 [ 42.275775] [] ? handle_mm_fault+0x6ee/0x2530 [ 42.281896] [] ? __pmd_alloc+0x410/0x410 [ 42.287579] [] compat_readv+0xe3/0x150 [ 42.293080] [] do_compat_readv+0xf4/0x1d0 [ 42.298841] [] ? compat_readv+0x150/0x150 [ 42.304604] [] compat_SyS_readv+0x26/0x30 [ 42.310365] [] ? SyS_pwritev2+0x80/0x80 [ 42.315955] [] do_fast_syscall_32+0x2f7/0x890 [ 42.322063] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 42.328693] [] entry_SYSENTER_compat+0x74/0x83 [ 42.335244] Dumping ftrace buffer: [ 42.338747] (ftrace buffer empty) [ 42.342424] Kernel Offset: disabled [ 42.346017] Rebooting in 86400 seconds..