[....] Starting enhanced syslogd: rsyslogd[ 11.089636] audit: type=1400 audit(1516059896.773:4): avc: denied { syslog } for pid=3170 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.10' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 18.685148] ================================================================== [ 18.686285] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 18.687237] Read of size 8 at addr ffff8801cd238140 by task syzkaller216158/3318 [ 18.688220] [ 18.688455] CPU: 0 PID: 3318 Comm: syzkaller216158 Not tainted 4.9.76-g8dec074 #23 [ 18.689476] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 18.690748] ffff8801c897fa50 ffffffff81d93169 ffffea0007348e00 ffff8801cd238140 [ 18.691956] 0000000000000000 ffff8801cd238140 ffff8801c94fa338 ffff8801c897fa88 [ 18.693129] ffffffff8153cb43 ffff8801cd238140 0000000000000008 0000000000000000 [ 18.694260] Call Trace: [ 18.694617] [] dump_stack+0xc1/0x128 [ 18.695329] [] print_address_description+0x73/0x280 [ 18.696203] [] kasan_report+0x275/0x360 [ 18.696946] [] ? sg_remove_request+0x103/0x120 [ 18.697796] [] __asan_report_load8_noabort+0x14/0x20 [ 18.698731] [] sg_remove_request+0x103/0x120 [ 18.699563] [] sg_finish_rem_req+0x295/0x340 [ 18.700403] [] sg_read+0xa1c/0x1440 [ 18.701100] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.701979] [] ? __raw_spin_lock_init+0x1c/0x100 [ 18.702823] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 18.703773] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.704732] [] __vfs_read+0x103/0x670 [ 18.706950] [] ? default_llseek+0x290/0x290 [ 18.712888] [] ? fsnotify+0x86/0xf30 [ 18.718215] [] ? fsnotify+0xf30/0xf30 [ 18.723632] [] ? avc_policy_seqno+0x9/0x20 [ 18.729483] [] ? selinux_file_permission+0x82/0x460 [ 18.736118] [] ? security_file_permission+0x89/0x1e0 [ 18.743108] [] ? rw_verify_area+0xe5/0x2b0 [ 18.748965] [] vfs_read+0x11e/0x380 [ 18.754216] [] SyS_read+0xd9/0x1b0 [ 18.759375] [] ? vfs_copy_file_range+0x740/0x740 [ 18.765756] [] ? do_fast_syscall_32+0xcf/0x890 [ 18.771956] [] ? vfs_copy_file_range+0x740/0x740 [ 18.778327] [] do_fast_syscall_32+0x2f7/0x890 [ 18.784438] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 18.791075] [] entry_SYSENTER_compat+0x74/0x83 [ 18.797272] [ 18.798869] Allocated by task 0: [ 18.802207] (stack is not available) [ 18.805885] [ 18.807479] Freed by task 0: [ 18.810468] (stack is not available) [ 18.814148] [ 18.815753] The buggy address belongs to the object at ffff8801cd238100 [ 18.815753] which belongs to the cache fasync_cache of size 96 [ 18.828384] The buggy address is located 64 bytes inside of [ 18.828384] 96-byte region [ffff8801cd238100, ffff8801cd238160) [ 18.840049] The buggy address belongs to the page: [ 18.844951] page:ffffea0007348e00 count:1 mapcount:0 mapping: (null) index:0x0 [ 18.853269] flags: 0x8000000000000080(slab) [ 18.857554] page dumped because: kasan: bad access detected [ 18.863226] [ 18.864819] Memory state around the buggy address: [ 18.869715] ffff8801cd238000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 18.877041] ffff8801cd238080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.884373] >ffff8801cd238100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.891700] ^ [ 18.897120] ffff8801cd238180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.904445] ffff8801cd238200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 18.911767] ================================================================== [ 18.919091] Disabling lock debugging due to kernel taint [ 18.924562] Kernel panic - not syncing: panic_on_warn set ... [ 18.924562] [ 18.931929] CPU: 0 PID: 3318 Comm: syzkaller216158 Tainted: G B 4.9.76-g8dec074 #23 [ 18.940837] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 18.950161] ffff8801c897f9a8 ffffffff81d93169 ffffffff84195c2f ffff8801c897fa80 [ 18.958133] 0000000000000000 ffff8801cd238140 ffff8801c94fa338 ffff8801c897fa70 [ 18.966096] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 18.974055] Call Trace: [ 18.976615] [] dump_stack+0xc1/0x128 [ 18.981947] [] panic+0x1bc/0x3a8 [ 18.986931] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 18.995135] [] ? preempt_schedule+0x25/0x30 [ 19.001685] [] ? ___preempt_schedule+0x16/0x18 [ 19.007890] [] kasan_end_report+0x50/0x50 [ 19.013653] [] kasan_report+0x167/0x360 [ 19.019243] [] ? sg_remove_request+0x103/0x120 [ 19.025443] [] __asan_report_load8_noabort+0x14/0x20 [ 19.032162] [] sg_remove_request+0x103/0x120 [ 19.038187] [] sg_finish_rem_req+0x295/0x340 [ 19.044228] [] sg_read+0xa1c/0x1440 [ 19.049471] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.056109] [] ? __raw_spin_lock_init+0x1c/0x100 [ 19.062483] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 19.069289] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.075923] [] __vfs_read+0x103/0x670 [ 19.081338] [] ? default_llseek+0x290/0x290 [ 19.087275] [] ? fsnotify+0x86/0xf30 [ 19.092604] [] ? fsnotify+0xf30/0xf30 [ 19.098023] [] ? avc_policy_seqno+0x9/0x20 [ 19.103876] [] ? selinux_file_permission+0x82/0x460 [ 19.110508] [] ? security_file_permission+0x89/0x1e0 [ 19.117232] [] ? rw_verify_area+0xe5/0x2b0 [ 19.123094] [] vfs_read+0x11e/0x380 [ 19.128349] [] SyS_read+0xd9/0x1b0 [ 19.133504] [] ? vfs_copy_file_range+0x740/0x740 [ 19.139874] [] ? do_fast_syscall_32+0xcf/0x890 [ 19.146072] [] ? vfs_copy_file_range+0x740/0x740 [ 19.152444] [] do_fast_syscall_32+0x2f7/0x890 [ 19.158555] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 19.165192] [] entry_SYSENTER_compat+0x74/0x83 [ 19.171833] Dumping ftrace buffer: [ 19.175339] (ftrace buffer empty) [ 19.179014] Kernel Offset: disabled [ 19.182607] Rebooting in 86400 seconds..