[....] Starting enhanced syslogd: rsyslogd[ 13.681643] audit: type=1400 audit(1515608032.357:4): avc: denied { syslog } for pid=3177 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.39' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 26.652692] ================================================================== [ 26.660129] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 26.667216] Read of size 8 at addr ffff8801c94ef140 by task syzkaller963098/3334 [ 26.674716] [ 26.676315] CPU: 1 PID: 3334 Comm: syzkaller963098 Not tainted 4.9.76-g9154940 #20 [ 26.683986] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.693398] ffff8801c8237a50 ffffffff81d93149 ffffea0007253bc0 ffff8801c94ef140 [ 26.701354] 0000000000000000 ffff8801c94ef140 ffff8801c9094438 ffff8801c8237a88 [ 26.709306] ffffffff8153cb43 ffff8801c94ef140 0000000000000008 0000000000000000 [ 26.717256] Call Trace: [ 26.719821] [] dump_stack+0xc1/0x128 [ 26.725157] [] print_address_description+0x73/0x280 [ 26.731797] [] kasan_report+0x275/0x360 [ 26.737401] [] ? sg_remove_request+0x103/0x120 [ 26.743613] [] __asan_report_load8_noabort+0x14/0x20 [ 26.750331] [] sg_remove_request+0x103/0x120 [ 26.756356] [] sg_finish_rem_req+0x295/0x340 [ 26.762394] [] sg_read+0xa1c/0x1440 [ 26.767642] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.774276] [] ? __raw_spin_lock_init+0x1c/0x100 [ 26.780651] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 26.787459] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 26.794116] [] __vfs_read+0x103/0x670 [ 26.799533] [] ? default_llseek+0x290/0x290 [ 26.805469] [] ? fsnotify+0x86/0xf30 [ 26.810799] [] ? fsnotify+0xf30/0xf30 [ 26.816222] [] ? avc_policy_seqno+0x9/0x20 [ 26.822139] [] ? selinux_file_permission+0x82/0x460 [ 26.828807] [] ? security_file_permission+0x89/0x1e0 [ 26.835554] [] ? rw_verify_area+0xe5/0x2b0 [ 26.841418] [] vfs_read+0x11e/0x380 [ 26.846663] [] SyS_read+0xd9/0x1b0 [ 26.851819] [] ? vfs_copy_file_range+0x740/0x740 [ 26.858195] [] ? do_fast_syscall_32+0xcf/0x890 [ 26.864418] [] ? vfs_copy_file_range+0x740/0x740 [ 26.870828] [] do_fast_syscall_32+0x2f7/0x890 [ 26.876950] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.883585] [] entry_SYSENTER_compat+0x74/0x83 [ 26.889789] [ 26.891386] Allocated by task 0: [ 26.894714] (stack is not available) [ 26.898391] [ 26.899984] Freed by task 0: [ 26.902965] (stack is not available) [ 26.906642] [ 26.908237] The buggy address belongs to the object at ffff8801c94ef100 [ 26.908237] which belongs to the cache fasync_cache of size 96 [ 26.920861] The buggy address is located 64 bytes inside of [ 26.920861] 96-byte region [ffff8801c94ef100, ffff8801c94ef160) [ 26.932544] The buggy address belongs to the page: [ 26.937442] page:ffffea0007253bc0 count:1 mapcount:0 mapping: (null) index:0x0 [ 26.945678] flags: 0x8000000000000080(slab) [ 26.949963] page dumped because: kasan: bad access detected [ 26.955634] [ 26.957225] Memory state around the buggy address: [ 26.962120] ffff8801c94ef000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 26.969447] ffff8801c94ef080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.976786] >ffff8801c94ef100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.984111] ^ [ 26.989528] ffff8801c94ef180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.996872] ffff8801c94ef200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.004217] ================================================================== [ 27.011543] Disabling lock debugging due to kernel taint [ 27.017173] Kernel panic - not syncing: panic_on_warn set ... [ 27.017173] [ 27.024538] CPU: 1 PID: 3334 Comm: syzkaller963098 Tainted: G B 4.9.76-g9154940 #20 [ 27.033430] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.042755] ffff8801c82379a8 ffffffff81d93149 ffffffff84195c17 ffff8801c8237a80 [ 27.050719] 0000000000000000 ffff8801c94ef140 ffff8801c9094438 ffff8801c8237a70 [ 27.058687] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 27.066660] Call Trace: [ 27.069220] [] dump_stack+0xc1/0x128 [ 27.074555] [] panic+0x1bc/0x3a8 [ 27.079545] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 27.087758] [] ? preempt_schedule+0x25/0x30 [ 27.093806] [] ? ___preempt_schedule+0x16/0x18 [ 27.100012] [] kasan_end_report+0x50/0x50 [ 27.105780] [] kasan_report+0x167/0x360 [ 27.111378] [] ? sg_remove_request+0x103/0x120 [ 27.117581] [] __asan_report_load8_noabort+0x14/0x20 [ 27.124306] [] sg_remove_request+0x103/0x120 [ 27.130337] [] sg_finish_rem_req+0x295/0x340 [ 27.136363] [] sg_read+0xa1c/0x1440 [ 27.141606] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.148240] [] ? __raw_spin_lock_init+0x1c/0x100 [ 27.154612] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 27.161504] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 27.168142] [] __vfs_read+0x103/0x670 [ 27.173580] [] ? default_llseek+0x290/0x290 [ 27.179519] [] ? fsnotify+0x86/0xf30 [ 27.184847] [] ? fsnotify+0xf30/0xf30 [ 27.190275] [] ? avc_policy_seqno+0x9/0x20 [ 27.196131] [] ? selinux_file_permission+0x82/0x460 [ 27.202764] [] ? security_file_permission+0x89/0x1e0 [ 27.209486] [] ? rw_verify_area+0xe5/0x2b0 [ 27.215338] [] vfs_read+0x11e/0x380 [ 27.220586] [] SyS_read+0xd9/0x1b0 [ 27.225742] [] ? vfs_copy_file_range+0x740/0x740 [ 27.232118] [] ? do_fast_syscall_32+0xcf/0x890 [ 27.239026] [] ? vfs_copy_file_range+0x740/0x740 [ 27.245418] [] do_fast_syscall_32+0x2f7/0x890 [ 27.251535] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.258178] [] entry_SYSENTER_compat+0x74/0x83 [ 27.264765] Dumping ftrace buffer: [ 27.268275] (ftrace buffer empty) [ 27.271952] Kernel Offset: disabled [ 27.275554] Rebooting in 86400 seconds..