[....] Starting enhanced syslogd: rsyslogd[ 10.383409] audit: type=1400 audit(1515765147.848:4): avc: denied { syslog } for pid=3169 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.48' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 29.561870] ================================================================== [ 29.562967] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 29.563938] Read of size 8 at addr ffff8801cd2ad140 by task syzkaller608836/3333 [ 29.564937] [ 29.565169] CPU: 1 PID: 3333 Comm: syzkaller608836 Not tainted 4.9.76-g9154940 #20 [ 29.566200] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.567497] ffff8801c8dffa50 ffffffff81d93149 ffffea000734ab40 ffff8801cd2ad140 [ 29.568679] 0000000000000000 ffff8801cd2ad140 ffff8801ca32c438 ffff8801c8dffa88 [ 29.569873] ffffffff8153cb43 ffff8801cd2ad140 0000000000000008 0000000000000000 [ 29.571061] Call Trace: [ 29.571432] [] dump_stack+0xc1/0x128 [ 29.572188] [] print_address_description+0x73/0x280 [ 29.573145] [] kasan_report+0x275/0x360 [ 29.573936] [] ? sg_remove_request+0x103/0x120 [ 29.574787] [] __asan_report_load8_noabort+0x14/0x20 [ 29.575716] [] sg_remove_request+0x103/0x120 [ 29.576580] [] sg_finish_rem_req+0x295/0x340 [ 29.577414] [] sg_read+0xa1c/0x1440 [ 29.578119] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.579003] [] ? __raw_spin_lock_init+0x1c/0x100 [ 29.579884] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 29.580792] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.581727] [] __vfs_read+0x103/0x670 [ 29.583567] [] ? default_llseek+0x290/0x290 [ 29.589535] [] ? fsnotify+0x86/0xf30 [ 29.594889] [] ? fsnotify+0xf30/0xf30 [ 29.600333] [] ? avc_policy_seqno+0x9/0x20 [ 29.606202] [] ? selinux_file_permission+0x82/0x460 [ 29.612835] [] ? security_file_permission+0x89/0x1e0 [ 29.619555] [] ? rw_verify_area+0xe5/0x2b0 [ 29.625413] [] vfs_read+0x11e/0x380 [ 29.630657] [] SyS_read+0xd9/0x1b0 [ 29.635826] [] ? vfs_copy_file_range+0x740/0x740 [ 29.642206] [] ? do_fast_syscall_32+0xcf/0x890 [ 29.648404] [] ? vfs_copy_file_range+0x740/0x740 [ 29.654775] [] do_fast_syscall_32+0x2f7/0x890 [ 29.660896] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 29.667528] [] entry_SYSENTER_compat+0x74/0x83 [ 29.673722] [ 29.675318] Allocated by task 0: [ 29.678646] (stack is not available) [ 29.682320] [ 29.683913] Freed by task 0: [ 29.686895] (stack is not available) [ 29.690569] [ 29.692164] The buggy address belongs to the object at ffff8801cd2ad100 [ 29.692164] which belongs to the cache fasync_cache of size 96 [ 29.704785] The buggy address is located 64 bytes inside of [ 29.704785] 96-byte region [ffff8801cd2ad100, ffff8801cd2ad160) [ 29.716449] The buggy address belongs to the page: [ 29.721346] page:ffffea000734ab40 count:1 mapcount:0 mapping: (null) index:0x0 [ 29.729566] flags: 0x8000000000000080(slab) [ 29.733852] page dumped because: kasan: bad access detected [ 29.739532] [ 29.741135] Memory state around the buggy address: [ 29.746042] ffff8801cd2ad000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 29.753381] ffff8801cd2ad080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.760735] >ffff8801cd2ad100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.768067] ^ [ 29.773508] ffff8801cd2ad180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.780846] ffff8801cd2ad200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.788182] ================================================================== [ 29.795528] Disabling lock debugging due to kernel taint [ 29.801058] Kernel panic - not syncing: panic_on_warn set ... [ 29.801058] [ 29.808409] CPU: 1 PID: 3333 Comm: syzkaller608836 Tainted: G B 4.9.76-g9154940 #20 [ 29.817309] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.826644] ffff8801c8dff9a8 ffffffff81d93149 ffffffff84195c17 ffff8801c8dffa80 [ 29.834611] 0000000000000000 ffff8801cd2ad140 ffff8801ca32c438 ffff8801c8dffa70 [ 29.842563] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 29.850540] Call Trace: [ 29.853107] [] dump_stack+0xc1/0x128 [ 29.858446] [] panic+0x1bc/0x3a8 [ 29.863436] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 29.871647] [] ? preempt_schedule+0x25/0x30 [ 29.877597] [] ? ___preempt_schedule+0x16/0x18 [ 29.883820] [] kasan_end_report+0x50/0x50 [ 29.889593] [] kasan_report+0x167/0x360 [ 29.895187] [] ? sg_remove_request+0x103/0x120 [ 29.901387] [] __asan_report_load8_noabort+0x14/0x20 [ 29.908115] [] sg_remove_request+0x103/0x120 [ 29.914140] [] sg_finish_rem_req+0x295/0x340 [ 29.920164] [] sg_read+0xa1c/0x1440 [ 29.925409] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.932047] [] ? __raw_spin_lock_init+0x1c/0x100 [ 29.938436] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 29.945246] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 29.951903] [] __vfs_read+0x103/0x670 [ 29.957356] [] ? default_llseek+0x290/0x290 [ 29.963315] [] ? fsnotify+0x86/0xf30 [ 29.968662] [] ? fsnotify+0xf30/0xf30 [ 29.974080] [] ? avc_policy_seqno+0x9/0x20 [ 29.979931] [] ? selinux_file_permission+0x82/0x460 [ 29.986576] [] ? security_file_permission+0x89/0x1e0 [ 29.993317] [] ? rw_verify_area+0xe5/0x2b0 [ 29.999179] [] vfs_read+0x11e/0x380 [ 30.004427] [] SyS_read+0xd9/0x1b0 [ 30.009584] [] ? vfs_copy_file_range+0x740/0x740 [ 30.015959] [] ? do_fast_syscall_32+0xcf/0x890 [ 30.022159] [] ? vfs_copy_file_range+0x740/0x740 [ 30.028529] [] do_fast_syscall_32+0x2f7/0x890 [ 30.034641] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 30.041286] [] entry_SYSENTER_compat+0x74/0x83 [ 30.048129] Dumping ftrace buffer: [ 30.051639] (ftrace buffer empty) [ 30.055316] Kernel Offset: disabled [ 30.058912] Rebooting in 86400 seconds..