[....] Starting enhanced syslogd: rsyslogd[ 14.924635] audit: type=1400 audit(1520676453.396:4): avc: denied { syslog } for pid=3551 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.20' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.086053] ================================================================== [ 27.093451] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.100538] Read of size 8 at addr ffff8801c518d140 by task syzkaller022924/3707 [ 27.108051] [ 27.109653] CPU: 1 PID: 3707 Comm: syzkaller022924 Not tainted 4.9.86-g00db063 #52 [ 27.117327] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.126659] ffff8801d847fa60 ffffffff81d956f9 ffffea0007146340 ffff8801c518d140 [ 27.134660] 0000000000000000 ffff8801c518d140 ffff8801c170c438 ffff8801d847fa98 [ 27.142631] ffffffff8153e083 ffff8801c518d140 0000000000000008 0000000000000000 [ 27.150598] Call Trace: [ 27.153164] [] dump_stack+0xc1/0x128 [ 27.158506] [] print_address_description+0x73/0x280 [ 27.165159] [] kasan_report+0x275/0x360 [ 27.170757] [] ? sg_remove_request+0x103/0x120 [ 27.176966] [] __asan_report_load8_noabort+0x14/0x20 [ 27.183691] [] sg_remove_request+0x103/0x120 [ 27.189724] [] sg_finish_rem_req+0x295/0x340 [ 27.195756] [] sg_read+0xa16/0x1440 [ 27.201011] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.207654] [] ? fasync_insert_entry+0x147/0x2e0 [ 27.214034] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.220679] [] __vfs_read+0x103/0x670 [ 27.226108] [] ? default_llseek+0x290/0x290 [ 27.232058] [] ? fsnotify+0x86/0xf30 [ 27.237407] [] ? fsnotify+0xf30/0xf30 [ 27.242845] [] ? avc_policy_seqno+0x9/0x20 [ 27.248708] [] ? selinux_file_permission+0x82/0x460 [ 27.255380] [] ? security_file_permission+0x89/0x1e0 [ 27.262127] [] ? rw_verify_area+0xe5/0x2b0 [ 27.268009] [] vfs_read+0x11e/0x380 [ 27.273266] [] SyS_read+0xd9/0x1b0 [ 27.278430] [] ? vfs_copy_file_range+0x740/0x740 [ 27.284814] [] ? do_syscall_64+0x48/0x490 [ 27.290587] [] ? vfs_copy_file_range+0x740/0x740 [ 27.296963] [] do_syscall_64+0x1a4/0x490 [ 27.302662] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 27.309560] [ 27.311164] Allocated by task 0: [ 27.314499] (stack is not available) [ 27.318178] [ 27.319777] Freed by task 0: [ 27.322764] (stack is not available) [ 27.326447] [ 27.328047] The buggy address belongs to the object at ffff8801c518d100 [ 27.328047] which belongs to the cache fasync_cache of size 96 [ 27.340680] The buggy address is located 64 bytes inside of [ 27.340680] 96-byte region [ffff8801c518d100, ffff8801c518d160) [ 27.352357] The buggy address belongs to the page: [ 27.357265] page:ffffea0007146340 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.365521] flags: 0x8000000000000080(slab) [ 27.369810] page dumped because: kasan: bad access detected [ 27.375485] [ 27.377083] Memory state around the buggy address: [ 27.381982] ffff8801c518d000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.389312] ffff8801c518d080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.396646] >ffff8801c518d100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.403977] ^ [ 27.409400] ffff8801c518d180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.416736] ffff8801c518d200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.424071] ================================================================== [ 27.431403] Disabling lock debugging due to kernel taint [ 27.437137] Kernel panic - not syncing: panic_on_warn set ... [ 27.437137] [ 27.444492] CPU: 1 PID: 3707 Comm: syzkaller022924 Tainted: G B 4.9.86-g00db063 #52 [ 27.453389] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.462722] ffff8801d847f9b8 ffffffff81d956f9 ffffffff84197a0f ffff8801d847fa90 [ 27.470697] 0000000000000000 ffff8801c518d140 ffff8801c170c438 ffff8801d847fa80 [ 27.478765] ffffffff8142f531 0000000041b58ab3 ffffffff8418b470 ffffffff8142f375 [ 27.486738] Call Trace: [ 27.489306] [] dump_stack+0xc1/0x128 [ 27.494645] [] panic+0x1bc/0x3a8 [ 27.499641] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 27.507852] [] ? preempt_schedule+0x25/0x30 [ 27.513803] [] ? ___preempt_schedule+0x16/0x18 [ 27.520016] [] kasan_end_report+0x50/0x50 [ 27.525797] [] kasan_report+0x167/0x360 [ 27.531399] [] ? sg_remove_request+0x103/0x120 [ 27.537608] [] __asan_report_load8_noabort+0x14/0x20 [ 27.544339] [] sg_remove_request+0x103/0x120 [ 27.550374] [] sg_finish_rem_req+0x295/0x340 [ 27.556406] [] sg_read+0xa16/0x1440 [ 27.561655] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.568298] [] ? fasync_insert_entry+0x147/0x2e0 [ 27.574681] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.581321] [] __vfs_read+0x103/0x670 [ 27.586759] [] ? default_llseek+0x290/0x290 [ 27.592704] [] ? fsnotify+0x86/0xf30 [ 27.598040] [] ? fsnotify+0xf30/0xf30 [ 27.603465] [] ? avc_policy_seqno+0x9/0x20 [ 27.609334] [] ? selinux_file_permission+0x82/0x460 [ 27.615977] [] ? security_file_permission+0x89/0x1e0 [ 27.622706] [] ? rw_verify_area+0xe5/0x2b0 [ 27.628566] [] vfs_read+0x11e/0x380 [ 27.633817] [] SyS_read+0xd9/0x1b0 [ 27.638981] [] ? vfs_copy_file_range+0x740/0x740 [ 27.645364] [] ? do_syscall_64+0x48/0x490 [ 27.651151] [] ? vfs_copy_file_range+0x740/0x740 [ 27.657571] [] do_syscall_64+0x1a4/0x490 [ 27.663266] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 27.670662] Dumping ftrace buffer: [ 27.674177] (ftrace buffer empty) [ 27.677858] Kernel Offset: disabled [ 27.681457] Rebooting in 86400 seconds..