[....] Starting enhanced syslogd: rsyslogd[ 10.305959] audit: type=1400 audit(1515671580.224:4): avc: denied { syslog } for pid=3174 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.215' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 33.679418] ================================================================== [ 33.680521] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 33.681532] Read of size 8 at addr ffff8801c8e5e140 by task syzkaller095663/3339 [ 33.682515] [ 33.682746] CPU: 0 PID: 3339 Comm: syzkaller095663 Not tainted 4.9.76-g9154940 #10 [ 33.683891] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.685124] ffff8801c87cfab0 ffffffff81d93149 ffffea0007239780 ffff8801c8e5e140 [ 33.686351] 0000000000000000 ffff8801c8e5e140 ffff8801c9d5a338 ffff8801c87cfae8 [ 33.687507] ffffffff8153cb43 ffff8801c8e5e140 0000000000000008 0000000000000000 [ 33.688656] Call Trace: [ 33.689015] [] dump_stack+0xc1/0x128 [ 33.689810] [] print_address_description+0x73/0x280 [ 33.690703] [] kasan_report+0x275/0x360 [ 33.691446] [] ? sg_remove_request+0x103/0x120 [ 33.692287] [] __asan_report_load8_noabort+0x14/0x20 [ 33.693175] [] sg_remove_request+0x103/0x120 [ 33.693990] [] sg_finish_rem_req+0x295/0x340 [ 33.694786] [] sg_read+0xa1c/0x1440 [ 33.695528] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 33.696403] [] ? fasync_insert_entry+0x147/0x2e0 [ 33.697247] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 33.698218] [] __vfs_read+0x103/0x670 [ 33.698987] [] ? default_llseek+0x290/0x290 [ 33.701404] [] ? fsnotify+0x86/0xf30 [ 33.706737] [] ? fsnotify+0xf30/0xf30 [ 33.712164] [] ? avc_policy_seqno+0x9/0x20 [ 33.718014] [] ? selinux_file_permission+0x82/0x460 [ 33.724646] [] ? security_file_permission+0x89/0x1e0 [ 33.731361] [] ? rw_verify_area+0xe5/0x2b0 [ 33.737209] [] vfs_read+0x11e/0x380 [ 33.742448] [] SyS_read+0xd9/0x1b0 [ 33.747601] [] ? vfs_copy_file_range+0x740/0x740 [ 33.753972] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 33.760775] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 33.767317] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 33.773856] [ 33.775448] Allocated by task 0: [ 33.778772] (stack is not available) [ 33.782446] [ 33.784036] Freed by task 0: [ 33.787016] (stack is not available) [ 33.790691] [ 33.792286] The buggy address belongs to the object at ffff8801c8e5e100 [ 33.792286] which belongs to the cache fasync_cache of size 96 [ 33.804923] The buggy address is located 64 bytes inside of [ 33.804923] 96-byte region [ffff8801c8e5e100, ffff8801c8e5e160) [ 33.816594] The buggy address belongs to the page: [ 33.821497] page:ffffea0007239780 count:1 mapcount:0 mapping: (null) index:0x0 [ 33.829714] flags: 0x8000000000000080(slab) [ 33.833997] page dumped because: kasan: bad access detected [ 33.839681] [ 33.841275] Memory state around the buggy address: [ 33.846168] ffff8801c8e5e000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 33.853502] ffff8801c8e5e080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 33.860826] >ffff8801c8e5e100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 33.868146] ^ [ 33.873559] ffff8801c8e5e180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 33.880879] ffff8801c8e5e200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 33.888198] ================================================================== [ 33.895519] Disabling lock debugging due to kernel taint [ 33.901119] Kernel panic - not syncing: panic_on_warn set ... [ 33.901119] [ 33.908453] CPU: 0 PID: 3339 Comm: syzkaller095663 Tainted: G B 4.9.76-g9154940 #10 [ 33.917339] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.926661] ffff8801c87cfa08 ffffffff81d93149 ffffffff84195c17 ffff8801c87cfae0 [ 33.934614] 0000000000000000 ffff8801c8e5e140 ffff8801c9d5a338 ffff8801c87cfad0 [ 33.942574] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 33.950533] Call Trace: [ 33.953101] [] dump_stack+0xc1/0x128 [ 33.958432] [] panic+0x1bc/0x3a8 [ 33.963417] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 33.971613] [] ? preempt_schedule+0x25/0x30 [ 33.977550] [] ? ___preempt_schedule+0x16/0x18 [ 33.983749] [] kasan_end_report+0x50/0x50 [ 33.989515] [] kasan_report+0x167/0x360 [ 33.995103] [] ? sg_remove_request+0x103/0x120 [ 34.001302] [] __asan_report_load8_noabort+0x14/0x20 [ 34.008022] [] sg_remove_request+0x103/0x120 [ 34.014045] [] sg_finish_rem_req+0x295/0x340 [ 34.020074] [] sg_read+0xa1c/0x1440 [ 34.025315] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 34.031946] [] ? fasync_insert_entry+0x147/0x2e0 [ 34.038315] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 34.044945] [] __vfs_read+0x103/0x670 [ 34.050364] [] ? default_llseek+0x290/0x290 [ 34.056298] [] ? fsnotify+0x86/0xf30 [ 34.061626] [] ? fsnotify+0xf30/0xf30 [ 34.067042] [] ? avc_policy_seqno+0x9/0x20 [ 34.072894] [] ? selinux_file_permission+0x82/0x460 [ 34.079529] [] ? security_file_permission+0x89/0x1e0 [ 34.086248] [] ? rw_verify_area+0xe5/0x2b0 [ 34.092117] [] vfs_read+0x11e/0x380 [ 34.097360] [] SyS_read+0xd9/0x1b0 [ 34.102518] [] ? vfs_copy_file_range+0x740/0x740 [ 34.108890] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 34.115704] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 34.122255] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 34.129197] Dumping ftrace buffer: [ 34.132708] (ftrace buffer empty) [ 34.136384] Kernel Offset: disabled [ 34.139977] Rebooting in 86400 seconds..