[....] Starting enhanced syslogd: rsyslogd[ 10.119718] audit: type=1400 audit(1516596825.341:4): avc: denied { syslog } for pid=3180 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.209' (ECDSA) to the list of known hosts. executing program executing program executing program syzkaller login: [ 20.340049] ================================================================== [ 20.341541] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 20.342531] Read of size 8 at addr ffff8801c9427140 by task syzkaller971540/3331 [ 20.343579] [ 20.343834] CPU: 1 PID: 3331 Comm: syzkaller971540 Not tainted 4.9.77-ge12a9c4 #18 [ 20.344918] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.346179] ffff8801c9927ab0 ffffffff81d941c9 ffffea00072509c0 ffff8801c9427140 [ 20.347789] 0000000000000000 ffff8801c9427140 ffff8801c862c438 ffff8801c9927ae8 [ 20.349034] ffffffff8153db93 ffff8801c9427140 0000000000000008 0000000000000000 [ 20.350240] Call Trace: [ 20.350620] [] dump_stack+0xc1/0x128 [ 20.351352] [] print_address_description+0x73/0x280 [ 20.352248] [] kasan_report+0x275/0x360 [ 20.352997] [] ? sg_remove_request+0x103/0x120 [ 20.353838] [] __asan_report_load8_noabort+0x14/0x20 [ 20.354759] [] sg_remove_request+0x103/0x120 [ 20.355576] [] sg_finish_rem_req+0x295/0x340 [ 20.356395] [] sg_read+0xa1c/0x1440 [ 20.357126] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.358030] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 20.358982] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.359880] [] __vfs_read+0x103/0x670 [ 20.363390] [] ? default_llseek+0x290/0x290 [ 20.369337] [] ? fsnotify+0x86/0xf30 [ 20.374670] [] ? fsnotify+0xf30/0xf30 [ 20.380091] [] ? avc_policy_seqno+0x9/0x20 [ 20.385949] [] ? selinux_file_permission+0x82/0x460 [ 20.392589] [] ? security_file_permission+0x89/0x1e0 [ 20.399318] [] ? rw_verify_area+0xe5/0x2b0 [ 20.405175] [] vfs_read+0x11e/0x380 [ 20.410446] [] SyS_read+0xd9/0x1b0 [ 20.415613] [] ? vfs_copy_file_range+0x740/0x740 [ 20.421995] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.428812] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 20.435366] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 20.441916] [ 20.443517] Allocated by task 0: [ 20.446851] (stack is not available) [ 20.450545] [ 20.452144] Freed by task 0: [ 20.455131] (stack is not available) [ 20.458814] [ 20.460416] The buggy address belongs to the object at ffff8801c9427100 [ 20.460416] which belongs to the cache fasync_cache of size 96 [ 20.473061] The buggy address is located 64 bytes inside of [ 20.473061] 96-byte region [ffff8801c9427100, ffff8801c9427160) [ 20.484736] The buggy address belongs to the page: [ 20.489641] page:ffffea00072509c0 count:1 mapcount:0 mapping: (null) index:0x0 [ 20.497874] flags: 0x8000000000000080(slab) [ 20.502167] page dumped because: kasan: bad access detected [ 20.507844] [ 20.509443] Memory state around the buggy address: [ 20.514344] ffff8801c9427000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 20.521675] ffff8801c9427080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.529006] >ffff8801c9427100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.536335] ^ [ 20.541756] ffff8801c9427180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.549086] ffff8801c9427200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.556414] ================================================================== [ 20.563742] Disabling lock debugging due to kernel taint [ 20.570461] Kernel panic - not syncing: panic_on_warn set ... [ 20.570461] [ 20.577841] CPU: 0 PID: 3331 Comm: syzkaller971540 Tainted: G B 4.9.77-ge12a9c4 #18 [ 20.586738] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 20.596066] ffff8801c9927a08 ffffffff81d941c9 ffffffff841970ff ffff8801c9927ae0 [ 20.604037] 0000000000000000 ffff8801c9427140 ffff8801c862c438 ffff8801c9927ad0 [ 20.612010] ffffffff8142f3c1 0000000041b58ab3 ffffffff8418ab70 ffffffff8142f205 [ 20.620000] Call Trace: [ 20.622560] [] dump_stack+0xc1/0x128 [ 20.627900] [] panic+0x1bc/0x3a8 [ 20.632887] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 20.641091] [] ? preempt_schedule+0x25/0x30 [ 20.647041] [] ? ___preempt_schedule+0x16/0x18 [ 20.653251] [] kasan_end_report+0x50/0x50 [ 20.659027] [] kasan_report+0x167/0x360 [ 20.664626] [] ? sg_remove_request+0x103/0x120 [ 20.670858] [] __asan_report_load8_noabort+0x14/0x20 [ 20.670866] [] sg_remove_request+0x103/0x120 [ 20.670875] [] sg_finish_rem_req+0x295/0x340 [ 20.670880] [] sg_read+0xa1c/0x1440 [ 20.670885] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.670894] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 20.670900] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 20.670907] [] __vfs_read+0x103/0x670 [ 20.670914] [] ? default_llseek+0x290/0x290 [ 20.670920] [] ? fsnotify+0x86/0xf30 [ 20.670925] [] ? fsnotify+0xf30/0xf30 [ 20.670934] [] ? avc_policy_seqno+0x9/0x20 [ 20.670940] [] ? selinux_file_permission+0x82/0x460 [ 20.670947] [] ? security_file_permission+0x89/0x1e0 [ 20.670954] [] ? rw_verify_area+0xe5/0x2b0 [ 20.670960] [] vfs_read+0x11e/0x380 [ 20.670967] [] SyS_read+0xd9/0x1b0 [ 20.670975] [] ? vfs_copy_file_range+0x740/0x740 [ 20.670982] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.670989] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 20.671002] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 20.678138] Dumping ftrace buffer: [ 20.678141] (ftrace buffer empty) [ 20.678143] Kernel Offset: disabled [ 20.810316] Rebooting in 86400 seconds..