[....] Starting enhanced syslogd: rsyslogd[ 10.790085] audit: type=1400 audit(1515268604.539:4): avc: denied { syslog } for pid=3176 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.201' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 18.840517] ================================================================== [ 18.841610] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 18.842584] Read of size 8 at addr ffff8801c9939140 by task syzkaller800880/3324 [ 18.843565] [ 18.843798] CPU: 0 PID: 3324 Comm: syzkaller800880 Not tainted 4.9.75-g06fe41f #16 [ 18.844802] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 18.846020] ffff8801c8dffa50 ffffffff81d93049 ffffea0007264e40 ffff8801c9939140 [ 18.847143] 0000000000000000 ffff8801c9939140 ffff8801c8c68238 ffff8801c8dffa88 [ 18.848271] ffffffff8153ca53 ffff8801c9939140 0000000000000008 0000000000000000 [ 18.849408] Call Trace: [ 18.849766] [] dump_stack+0xc1/0x128 [ 18.850486] [] print_address_description+0x73/0x280 [ 18.851361] [] kasan_report+0x275/0x360 [ 18.852117] [] ? sg_remove_request+0x103/0x120 [ 18.852935] [] __asan_report_load8_noabort+0x14/0x20 [ 18.853819] [] sg_remove_request+0x103/0x120 [ 18.854618] [] sg_finish_rem_req+0x295/0x340 [ 18.855439] [] sg_read+0xa1c/0x1440 [ 18.856141] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.857019] [] ? __raw_spin_lock_init+0x1c/0x100 [ 18.857860] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 18.858755] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 18.859649] [] __vfs_read+0x103/0x670 [ 18.860396] [] ? default_llseek+0x290/0x290 [ 18.864911] [] ? fsnotify+0x86/0xf30 [ 18.870237] [] ? fsnotify+0xf30/0xf30 [ 18.875656] [] ? avc_policy_seqno+0x9/0x20 [ 18.881501] [] ? selinux_file_permission+0x82/0x460 [ 18.888130] [] ? security_file_permission+0x89/0x1e0 [ 18.894846] [] ? rw_verify_area+0xe5/0x2b0 [ 18.900695] [] vfs_read+0x11e/0x380 [ 18.905934] [] SyS_read+0xd9/0x1b0 [ 18.911086] [] ? vfs_copy_file_range+0x740/0x740 [ 18.917455] [] ? do_fast_syscall_32+0xcf/0x890 [ 18.923648] [] ? vfs_copy_file_range+0x740/0x740 [ 18.930016] [] do_fast_syscall_32+0x2f7/0x890 [ 18.936122] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 18.942752] [] entry_SYSENTER_compat+0x74/0x83 [ 18.948942] [ 18.950532] Allocated by task 0: [ 18.953856] (stack is not available) [ 18.957528] [ 18.959117] Freed by task 0: [ 18.962094] (stack is not available) [ 18.965766] [ 18.967361] The buggy address belongs to the object at ffff8801c9939100 [ 18.967361] which belongs to the cache fasync_cache of size 96 [ 18.979977] The buggy address is located 64 bytes inside of [ 18.979977] 96-byte region [ffff8801c9939100, ffff8801c9939160) [ 18.991638] The buggy address belongs to the page: [ 18.996529] page:ffffea0007264e40 count:1 mapcount:0 mapping: (null) index:0x0 [ 19.004741] flags: 0x8000000000000080(slab) [ 19.009023] page dumped because: kasan: bad access detected [ 19.014693] [ 19.016281] Memory state around the buggy address: [ 19.021172] ffff8801c9939000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 19.028492] ffff8801c9939080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.035814] >ffff8801c9939100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.043136] ^ [ 19.048547] ffff8801c9939180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.055868] ffff8801c9939200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 19.063191] ================================================================== [ 19.070510] Disabling lock debugging due to kernel taint [ 19.076298] Kernel panic - not syncing: panic_on_warn set ... [ 19.076298] [ 19.083646] CPU: 0 PID: 3324 Comm: syzkaller800880 Tainted: G B 4.9.75-g06fe41f #16 [ 19.092529] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.101853] ffff8801c8dff9a8 ffffffff81d93049 ffffffff84195be7 ffff8801c8dffa80 [ 19.109806] 0000000000000000 ffff8801c9939140 ffff8801c8c68238 ffff8801c8dffa70 [ 19.117752] ffffffff8142e281 0000000041b58ab3 ffffffff84189648 ffffffff8142e0c5 [ 19.125691] Call Trace: [ 19.128244] [] dump_stack+0xc1/0x128 [ 19.133575] [] panic+0x1bc/0x3a8 [ 19.138558] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 19.146752] [] ? preempt_schedule+0x25/0x30 [ 19.152687] [] ? ___preempt_schedule+0x16/0x18 [ 19.158882] [] kasan_end_report+0x50/0x50 [ 19.164642] [] kasan_report+0x167/0x360 [ 19.170229] [] ? sg_remove_request+0x103/0x120 [ 19.176424] [] __asan_report_load8_noabort+0x14/0x20 [ 19.183138] [] sg_remove_request+0x103/0x120 [ 19.189158] [] sg_finish_rem_req+0x295/0x340 [ 19.195176] [] sg_read+0xa1c/0x1440 [ 19.200414] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.207043] [] ? __raw_spin_lock_init+0x1c/0x100 [ 19.213411] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 19.220218] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 19.226846] [] __vfs_read+0x103/0x670 [ 19.232258] [] ? default_llseek+0x290/0x290 [ 19.238192] [] ? fsnotify+0x86/0xf30 [ 19.243518] [] ? fsnotify+0xf30/0xf30 [ 19.248933] [] ? avc_policy_seqno+0x9/0x20 [ 19.254780] [] ? selinux_file_permission+0x82/0x460 [ 19.261409] [] ? security_file_permission+0x89/0x1e0 [ 19.268126] [] ? rw_verify_area+0xe5/0x2b0 [ 19.273972] [] vfs_read+0x11e/0x380 [ 19.279215] [] SyS_read+0xd9/0x1b0 [ 19.284368] [] ? vfs_copy_file_range+0x740/0x740 [ 19.290743] [] ? do_fast_syscall_32+0xcf/0x890 [ 19.296939] [] ? vfs_copy_file_range+0x740/0x740 [ 19.303308] [] do_fast_syscall_32+0x2f7/0x890 [ 19.309414] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 19.316049] [] entry_SYSENTER_compat+0x74/0x83 [ 19.322687] Dumping ftrace buffer: [ 19.326201] (ftrace buffer empty) [ 19.329875] Kernel Offset: disabled [ 19.333464] Rebooting in 86400 seconds..