[....] Starting enhanced syslogd: rsyslogd[ 10.698568] audit: type=1400 audit(1516061461.200:4): avc: denied { syslog } for pid=3172 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.236' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 19.810973] ================================================================== [ 19.812153] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 19.813108] Read of size 8 at addr ffff8801cd3d4140 by task syzkaller002175/3321 [ 19.814147] [ 19.814383] CPU: 0 PID: 3321 Comm: syzkaller002175 Not tainted 4.9.76-g8dec074 #13 [ 19.815469] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.816826] ffff8801c97e7ab0 ffffffff81d93169 ffffea000734f500 ffff8801cd3d4140 [ 19.818063] 0000000000000000 ffff8801cd3d4140 ffff8801cd59c438 ffff8801c97e7ae8 [ 19.819321] ffffffff8153cb43 ffff8801cd3d4140 0000000000000008 0000000000000000 [ 19.820523] Call Trace: [ 19.820886] [] dump_stack+0xc1/0x128 [ 19.821619] [] print_address_description+0x73/0x280 [ 19.822498] [] kasan_report+0x275/0x360 [ 19.823281] [] ? sg_remove_request+0x103/0x120 [ 19.824125] [] __asan_report_load8_noabort+0x14/0x20 [ 19.825030] [] sg_remove_request+0x103/0x120 [ 19.825848] [] sg_finish_rem_req+0x295/0x340 [ 19.826683] [] sg_read+0xa1c/0x1440 [ 19.827401] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.828299] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 19.829240] [] ? fasync_helper+0x37/0xb0 [ 19.830050] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.830943] [] __vfs_read+0x103/0x670 [ 19.835638] [] ? default_llseek+0x290/0x290 [ 19.841577] [] ? fsnotify+0x86/0xf30 [ 19.846907] [] ? fsnotify+0xf30/0xf30 [ 19.852329] [] ? avc_policy_seqno+0x9/0x20 [ 19.858182] [] ? selinux_file_permission+0x82/0x460 [ 19.864816] [] ? security_file_permission+0x89/0x1e0 [ 19.871540] [] ? rw_verify_area+0xe5/0x2b0 [ 19.877405] [] vfs_read+0x11e/0x380 [ 19.882650] [] SyS_read+0xd9/0x1b0 [ 19.887811] [] ? vfs_copy_file_range+0x740/0x740 [ 19.894188] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 19.901000] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 19.907559] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 19.914101] [ 19.915698] Allocated by task 0: [ 19.919028] (stack is not available) [ 19.922708] [ 19.924306] Freed by task 0: [ 19.927289] (stack is not available) [ 19.930966] [ 19.932571] The buggy address belongs to the object at ffff8801cd3d4100 [ 19.932571] which belongs to the cache fasync_cache of size 96 [ 19.945203] The buggy address is located 64 bytes inside of [ 19.945203] 96-byte region [ffff8801cd3d4100, ffff8801cd3d4160) [ 19.956878] The buggy address belongs to the page: [ 19.961780] page:ffffea000734f500 count:1 mapcount:0 mapping: (null) index:0x0 [ 19.970029] flags: 0x8000000000000080(slab) [ 19.974316] page dumped because: kasan: bad access detected [ 19.979990] [ 19.981587] Memory state around the buggy address: [ 19.986503] ffff8801cd3d4000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 19.993840] ffff8801cd3d4080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.001167] >ffff8801cd3d4100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.008494] ^ [ 20.013911] ffff8801cd3d4180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.021238] ffff8801cd3d4200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.028563] ================================================================== [ 20.035889] Disabling lock debugging due to kernel taint [ 20.041589] Kernel panic - not syncing: panic_on_warn set ... [ 20.041589] [ 20.048941] CPU: 0 PID: 3321 Comm: syzkaller002175 Tainted: G B 4.9.76-g8dec074 #13 [ 20.057836] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.067174] ffff8801c97e7a08 ffffffff81d93169 ffffffff84195c2f ffff8801c97e7ae0 [ 20.075179] 0000000000000000 ffff8801cd3d4140 ffff8801cd59c438 ffff8801c97e7ad0 [ 20.083894] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 20.091883] Call Trace: [ 20.094446] [] dump_stack+0xc1/0x128 [ 20.099782] [] panic+0x1bc/0x3a8 [ 20.104770] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 20.112971] [] ? preempt_schedule+0x25/0x30 [ 20.118916] [] ? ___preempt_schedule+0x16/0x18 [ 20.125117] [] kasan_end_report+0x50/0x50 [ 20.130895] [] kasan_report+0x167/0x360 [ 20.136489] [] ? sg_remove_request+0x103/0x120 [ 20.142691] [] __asan_report_load8_noabort+0x14/0x20 [ 20.149413] [] sg_remove_request+0x103/0x120 [ 20.155439] [] sg_finish_rem_req+0x295/0x340 [ 20.161466] [] sg_read+0xa1c/0x1440 [ 20.166715] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.173355] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 20.180351] [] ? fasync_helper+0x37/0xb0 [ 20.186030] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.192670] [] __vfs_read+0x103/0x670 [ 20.198093] [] ? default_llseek+0x290/0x290 [ 20.204034] [] ? fsnotify+0x86/0xf30 [ 20.209365] [] ? fsnotify+0xf30/0xf30 [ 20.214787] [] ? avc_policy_seqno+0x9/0x20 [ 20.220643] [] ? selinux_file_permission+0x82/0x460 [ 20.227280] [] ? security_file_permission+0x89/0x1e0 [ 20.234001] [] ? rw_verify_area+0xe5/0x2b0 [ 20.239855] [] vfs_read+0x11e/0x380 [ 20.245101] [] SyS_read+0xd9/0x1b0 [ 20.250262] [] ? vfs_copy_file_range+0x740/0x740 [ 20.256638] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.263445] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 20.269996] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 20.276922] Dumping ftrace buffer: [ 20.280445] (ftrace buffer empty) [ 20.284128] Kernel Offset: disabled [ 20.287726] Rebooting in 86400 seconds..