[....] Starting enhanced syslogd: rsyslogd[ 12.055050] audit: type=1400 audit(1520062068.903:4): avc: denied { syslog } for pid=3647 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.7' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 23.052607] ================================================================== [ 23.059995] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 23.067085] Read of size 8 at addr ffff8801c1dcb140 by task syzkaller812554/3802 [ 23.074584] [ 23.076184] CPU: 0 PID: 3802 Comm: syzkaller812554 Not tainted 4.9.85-gf673852 #48 [ 23.083855] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 23.093180] ffff8801d7ac7a60 ffffffff81d95739 ffffea00070772c0 ffff8801c1dcb140 [ 23.101139] 0000000000000000 ffff8801c1dcb140 ffff8801d8a80238 ffff8801d7ac7a98 [ 23.109102] ffffffff8153e0d3 ffff8801c1dcb140 0000000000000008 0000000000000000 [ 23.117065] Call Trace: [ 23.119622] [] dump_stack+0xc1/0x128 [ 23.124955] [] print_address_description+0x73/0x280 [ 23.131601] [] kasan_report+0x275/0x360 [ 23.137194] [] ? sg_remove_request+0x103/0x120 [ 23.143393] [] __asan_report_load8_noabort+0x14/0x20 [ 23.150113] [] sg_remove_request+0x103/0x120 [ 23.156140] [] sg_finish_rem_req+0x295/0x340 [ 23.162165] [] sg_read+0xa16/0x1440 [ 23.167408] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 23.174039] [] ? new_slab+0x318/0x420 [ 23.179457] [] ? fasync_helper+0x37/0xb0 [ 23.185137] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 23.191769] [] __vfs_read+0x103/0x670 [ 23.197184] [] ? default_llseek+0x290/0x290 [ 23.203123] [] ? fsnotify+0x86/0xf30 [ 23.208451] [] ? fsnotify+0xf30/0xf30 [ 23.213871] [] ? avc_policy_seqno+0x9/0x20 [ 23.219724] [] ? selinux_file_permission+0x82/0x460 [ 23.226360] [] ? security_file_permission+0x89/0x1e0 [ 23.233080] [] ? rw_verify_area+0xe5/0x2b0 [ 23.238932] [] vfs_read+0x11e/0x380 [ 23.244177] [] SyS_read+0xd9/0x1b0 [ 23.249333] [] ? vfs_copy_file_range+0x740/0x740 [ 23.255709] [] ? do_syscall_64+0x48/0x490 [ 23.261476] [] ? vfs_copy_file_range+0x740/0x740 [ 23.267847] [] do_syscall_64+0x1a4/0x490 [ 23.273527] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 23.280419] [ 23.282017] Allocated by task 0: [ 23.285348] (stack is not available) [ 23.289023] [ 23.290617] Freed by task 0: [ 23.293601] (stack is not available) [ 23.297278] [ 23.298875] The buggy address belongs to the object at ffff8801c1dcb100 [ 23.298875] which belongs to the cache fasync_cache of size 96 [ 23.311496] The buggy address is located 64 bytes inside of [ 23.311496] 96-byte region [ffff8801c1dcb100, ffff8801c1dcb160) [ 23.323162] The buggy address belongs to the page: [ 23.328057] page:ffffea00070772c0 count:1 mapcount:0 mapping: (null) index:0x0 [ 23.336279] flags: 0x8000000000000080(slab) [ 23.340567] page dumped because: kasan: bad access detected [ 23.346239] [ 23.347834] Memory state around the buggy address: [ 23.352730] ffff8801c1dcb000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 23.360057] ffff8801c1dcb080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.367380] >ffff8801c1dcb100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.374706] ^ [ 23.380120] ffff8801c1dcb180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.387446] ffff8801c1dcb200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 23.394768] ================================================================== [ 23.402092] Disabling lock debugging due to kernel taint [ 23.407703] Kernel panic - not syncing: panic_on_warn set ... [ 23.407703] [ 23.415053] CPU: 0 PID: 3802 Comm: syzkaller812554 Tainted: G B 4.9.85-gf673852 #48 [ 23.423941] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 23.433265] ffff8801d7ac79b8 ffffffff81d95739 ffffffff8419777f ffff8801d7ac7a90 [ 23.441234] 0000000000000000 ffff8801c1dcb140 ffff8801d8a80238 ffff8801d7ac7a80 [ 23.449196] ffffffff8142f581 0000000041b58ab3 ffffffff8418b1f0 ffffffff8142f3c5 [ 23.457158] Call Trace: [ 23.459714] [] dump_stack+0xc1/0x128 [ 23.465046] [] panic+0x1bc/0x3a8 [ 23.470031] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 23.478227] [] ? preempt_schedule+0x25/0x30 [ 23.484164] [] ? ___preempt_schedule+0x16/0x18 [ 23.490364] [] kasan_end_report+0x50/0x50 [ 23.496127] [] kasan_report+0x167/0x360 [ 23.501718] [] ? sg_remove_request+0x103/0x120 [ 23.507917] [] __asan_report_load8_noabort+0x14/0x20 [ 23.514634] [] sg_remove_request+0x103/0x120 [ 23.520660] [] sg_finish_rem_req+0x295/0x340 [ 23.526685] [] sg_read+0xa16/0x1440 [ 23.531930] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 23.538562] [] ? new_slab+0x318/0x420 [ 23.543978] [] ? fasync_helper+0x37/0xb0 [ 23.549656] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 23.556292] [] __vfs_read+0x103/0x670 [ 23.561709] [] ? default_llseek+0x290/0x290 [ 23.567647] [] ? fsnotify+0x86/0xf30 [ 23.572981] [] ? fsnotify+0xf30/0xf30 [ 23.578399] [] ? avc_policy_seqno+0x9/0x20 [ 23.584250] [] ? selinux_file_permission+0x82/0x460 [ 23.590884] [] ? security_file_permission+0x89/0x1e0 [ 23.597614] [] ? rw_verify_area+0xe5/0x2b0 [ 23.603467] [] vfs_read+0x11e/0x380 [ 23.608711] [] SyS_read+0xd9/0x1b0 [ 23.613868] [] ? vfs_copy_file_range+0x740/0x740 [ 23.620238] [] ? do_syscall_64+0x48/0x490 [ 23.626002] [] ? vfs_copy_file_range+0x740/0x740 [ 23.632373] [] do_syscall_64+0x1a4/0x490 [ 23.638052] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 23.645413] Dumping ftrace buffer: [ 23.648926] (ftrace buffer empty) [ 23.652604] Kernel Offset: disabled [ 23.656200] Rebooting in 86400 seconds..