[....] Starting enhanced syslogd: rsyslogd[ 10.790186] audit: type=1400 audit(1516048182.685:4): avc: denied { syslog } for pid=3184 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 mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] 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.240' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 50.909702] ================================================================== [ 50.910884] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 50.911869] Read of size 8 at addr ffff8801ca5ee140 by task syzkaller248655/3356 [ 50.912958] [ 50.913213] CPU: 1 PID: 3356 Comm: syzkaller248655 Not tainted 4.9.76-g8dec074 #13 [ 50.914291] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 50.915554] ffff8801c7527ab0 ffffffff81d93169 ffffea0007297b80 ffff8801ca5ee140 [ 50.916818] 0000000000000000 ffff8801ca5ee140 ffff8801c7fb4438 ffff8801c7527ae8 [ 50.918117] ffffffff8153cb43 ffff8801ca5ee140 0000000000000008 0000000000000000 [ 50.919393] Call Trace: [ 50.919816] [] dump_stack+0xc1/0x128 [ 50.920570] [] print_address_description+0x73/0x280 [ 50.921495] [] kasan_report+0x275/0x360 [ 50.922288] [] ? sg_remove_request+0x103/0x120 [ 50.923112] [] __asan_report_load8_noabort+0x14/0x20 [ 50.924112] [] sg_remove_request+0x103/0x120 [ 50.924925] [] sg_finish_rem_req+0x295/0x340 [ 50.925749] [] sg_read+0xa1c/0x1440 [ 50.926471] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 50.927418] [] ? fasync_insert_entry+0x147/0x2e0 [ 50.928581] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 50.929497] [] __vfs_read+0x103/0x670 [ 50.932777] [] ? default_llseek+0x290/0x290 [ 50.938734] [] ? fsnotify+0x86/0xf30 [ 50.944070] [] ? fsnotify+0xf30/0xf30 [ 50.949493] [] ? avc_policy_seqno+0x9/0x20 [ 50.955522] [] ? selinux_file_permission+0x82/0x460 [ 50.962159] [] ? security_file_permission+0x89/0x1e0 [ 50.968886] [] ? rw_verify_area+0xe5/0x2b0 [ 50.974752] [] vfs_read+0x11e/0x380 [ 50.980005] [] SyS_read+0xd9/0x1b0 [ 50.985179] [] ? vfs_copy_file_range+0x740/0x740 [ 50.991571] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 50.998384] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 51.004936] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 51.011494] [ 51.013093] Allocated by task 0: [ 51.016429] (stack is not available) [ 51.020112] [ 51.021707] Freed by task 0: [ 51.024691] (stack is not available) [ 51.028373] [ 51.029973] The buggy address belongs to the object at ffff8801ca5ee100 [ 51.029973] which belongs to the cache fasync_cache of size 96 [ 51.042607] The buggy address is located 64 bytes inside of [ 51.042607] 96-byte region [ffff8801ca5ee100, ffff8801ca5ee160) [ 51.054292] The buggy address belongs to the page: [ 51.059200] page:ffffea0007297b80 count:1 mapcount:0 mapping: (null) index:0x0 [ 51.068201] flags: 0x8000000000000080(slab) [ 51.072492] page dumped because: kasan: bad access detected [ 51.078171] [ 51.079767] Memory state around the buggy address: [ 51.084666] ffff8801ca5ee000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 51.091998] ffff8801ca5ee080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.099327] >ffff8801ca5ee100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.106667] ^ [ 51.112088] ffff8801ca5ee180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.119418] ffff8801ca5ee200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.126756] ================================================================== [ 51.134086] Disabling lock debugging due to kernel taint [ 51.139699] Kernel panic - not syncing: panic_on_warn set ... [ 51.139699] [ 51.147059] CPU: 1 PID: 3356 Comm: syzkaller248655 Tainted: G B 4.9.76-g8dec074 #13 [ 51.155961] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 51.165295] ffff8801c7527a08 ffffffff81d93169 ffffffff84195c2f ffff8801c7527ae0 [ 51.173280] 0000000000000000 ffff8801ca5ee140 ffff8801c7fb4438 ffff8801c7527ad0 [ 51.181280] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 51.189279] Call Trace: [ 51.191852] [] dump_stack+0xc1/0x128 [ 51.197193] [] panic+0x1bc/0x3a8 [ 51.202191] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 51.210399] [] ? preempt_schedule+0x25/0x30 [ 51.216346] [] ? ___preempt_schedule+0x16/0x18 [ 51.222554] [] kasan_end_report+0x50/0x50 [ 51.228328] [] kasan_report+0x167/0x360 [ 51.233924] [] ? sg_remove_request+0x103/0x120 [ 51.240130] [] __asan_report_load8_noabort+0x14/0x20 [ 51.246874] [] sg_remove_request+0x103/0x120 [ 51.252904] [] sg_finish_rem_req+0x295/0x340 [ 51.258933] [] sg_read+0xa1c/0x1440 [ 51.264181] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 51.270818] [] ? fasync_insert_entry+0x147/0x2e0 [ 51.277210] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 51.283863] [] __vfs_read+0x103/0x670 [ 51.289291] [] ? default_llseek+0x290/0x290 [ 51.295233] [] ? fsnotify+0x86/0xf30 [ 51.300576] [] ? fsnotify+0xf30/0xf30 [ 51.306001] [] ? avc_policy_seqno+0x9/0x20 [ 51.311856] [] ? selinux_file_permission+0x82/0x460 [ 51.318496] [] ? security_file_permission+0x89/0x1e0 [ 51.325221] [] ? rw_verify_area+0xe5/0x2b0 [ 51.331089] [] vfs_read+0x11e/0x380 [ 51.336339] [] SyS_read+0xd9/0x1b0 [ 51.341502] [] ? vfs_copy_file_range+0x740/0x740 [ 51.347881] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 51.354702] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 51.361255] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 51.368216] Dumping ftrace buffer: [ 51.371739] (ftrace buffer empty) [ 51.375420] Kernel Offset: disabled [ 51.379287] Rebooting in 86400 seconds..