[....] Starting enhanced syslogd: rsyslogd[ 14.216081] audit: type=1400 audit(1519690359.241:4): avc: denied { syslog } for pid=3649 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.15' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.575590] ================================================================== [ 27.582958] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 27.590026] Read of size 8 at addr ffff8801da27f140 by task syzkaller656961/3806 [ 27.597527] [ 27.599127] CPU: 1 PID: 3806 Comm: syzkaller656961 Not tainted 4.9.84-ga9d0273 #44 [ 27.606801] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.616125] ffff8801d8167a60 ffffffff81d956b9 ffffea0007689fc0 ffff8801da27f140 [ 27.624090] 0000000000000000 ffff8801da27f140 ffff8801d8e3a338 ffff8801d8167a98 [ 27.632056] ffffffff8153e1a3 ffff8801da27f140 0000000000000008 0000000000000000 [ 27.640025] Call Trace: [ 27.642585] [] dump_stack+0xc1/0x128 [ 27.647919] [] print_address_description+0x73/0x280 [ 27.654555] [] kasan_report+0x275/0x360 [ 27.660149] [] ? sg_remove_request+0x103/0x120 [ 27.666352] [] __asan_report_load8_noabort+0x14/0x20 [ 27.673075] [] sg_remove_request+0x103/0x120 [ 27.679102] [] sg_finish_rem_req+0x295/0x340 [ 27.685129] [] sg_read+0xa16/0x1440 [ 27.690374] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.697008] [] ? new_slab+0x318/0x420 [ 27.702426] [] ? fasync_helper+0x37/0xb0 [ 27.708106] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 27.714738] [] __vfs_read+0x103/0x670 [ 27.720158] [] ? default_llseek+0x290/0x290 [ 27.726099] [] ? fsnotify+0x86/0xf30 [ 27.731445] [] ? fsnotify+0xf30/0xf30 [ 27.736865] [] ? avc_policy_seqno+0x9/0x20 [ 27.742720] [] ? selinux_file_permission+0x82/0x460 [ 27.749353] [] ? security_file_permission+0x89/0x1e0 [ 27.756077] [] ? rw_verify_area+0xe5/0x2b0 [ 27.761927] [] vfs_read+0x11e/0x380 [ 27.767174] [] SyS_read+0xd9/0x1b0 [ 27.772331] [] ? vfs_copy_file_range+0x740/0x740 [ 27.778702] [] ? do_syscall_64+0x48/0x490 [ 27.784468] [] ? vfs_copy_file_range+0x740/0x740 [ 27.790847] [] do_syscall_64+0x1a4/0x490 [ 27.796529] [] entry_SYSCALL_64_after_swapgs+0x47/0xc5 [ 27.803421] [ 27.805016] Allocated by task 0: [ 27.808348] (stack is not available) [ 27.812025] [ 27.813619] Freed by task 0: [ 27.816602] (stack is not available) [ 27.820280] [ 27.821875] The buggy address belongs to the object at ffff8801da27f100 [ 27.821875] which belongs to the cache fasync_cache of size 96 [ 27.834504] The buggy address is located 64 bytes inside of [ 27.834504] 96-byte region [ffff8801da27f100, ffff8801da27f160) [ 27.846178] The buggy address belongs to the page: [ 27.851078] page:ffffea0007689fc0 count:1 mapcount:0 mapping: (null) index:0x0 [ 27.859301] flags: 0x8000000000000080(slab) [ 27.863586] page dumped because: kasan: bad access detected [ 27.869262] [ 27.870857] Memory state around the buggy address: [ 27.875751] ffff8801da27f000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 27.883080] ffff8801da27f080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.890405] >ffff8801da27f100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.897731] ^ [ 27.903148] ffff8801da27f180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.910474] ffff8801da27f200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 27.917801] ================================================================== [ 27.925123] Disabling lock debugging due to kernel taint [ 27.930630] Kernel panic - not syncing: panic_on_warn set ... [ 27.930630] [ 27.937967] CPU: 1 PID: 3806 Comm: syzkaller656961 Tainted: G B 4.9.84-ga9d0273 #44 [ 27.947143] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.956572] ffff8801d81679b8 ffffffff81d956b9 ffffffff8419784f ffff8801d8167a90 [ 27.964539] 0000000000000000 ffff8801da27f140 ffff8801d8e3a338 ffff8801d8167a80 [ 27.972512] ffffffff8142f571 0000000041b58ab3 ffffffff8418b2c0 ffffffff8142f3b5 [ 27.980493] Call Trace: [ 27.983060] [] dump_stack+0xc1/0x128 [ 27.988394] [] panic+0x1bc/0x3a8 [ 27.993378] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 28.001575] [] ? preempt_schedule+0x25/0x30 [ 28.007516] [] ? ___preempt_schedule+0x16/0x18 [ 28.013717] [] kasan_end_report+0x50/0x50 [ 28.019481] [] kasan_report+0x167/0x360 [ 28.025076] [] ? sg_remove_request+0x103/0x120 [ 28.031275] [] __asan_report_load8_noabort+0x14/0x20 [ 28.037995] [] sg_remove_request+0x103/0x120 [ 28.044021] [] sg_finish_rem_req+0x295/0x340 [ 28.050046] [] sg_read+0xa16/0x1440 [ 28.055291] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 28.061925] [] ? new_slab+0x318/0x420 [ 28.067344] [] ? fasync_helper+0x37/0xb0 [ 28.073029] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 28.079678] [] __vfs_read+0x103/0x670 [ 28.085108] [] ? default_llseek+0x290/0x290 [ 28.091051] [] ? fsnotify+0x86/0xf30 [ 28.096381] [] ? fsnotify+0xf30/0xf30 [ 28.101802] [] ? avc_policy_seqno+0x9/0x20 [ 28.107654] [] ? selinux_file_permission+0x82/0x460 [ 28.114291] [] ? security_file_permission+0x89/0x1e0 [ 28.121013] [] ? rw_verify_area+0xe5/0x2b0 [ 28.126869] [] vfs_read+0x11e/0x380 [ 28.132112] [] SyS_read+0xd9/0x1b0 [ 28.137270] [] ? vfs_copy_file_range+0x740/0x740 [ 28.143643] [] ? do_syscall_64+0x48/0x490 [ 28.149408] [] ? vfs_copy_file_range+0x740/0x740 [ 28.155781] [] do_syscall_64+0x1a4/0x490 [ 28.161459] [] entry_SYSCALL_64_after_swapgs+0x47/0xc5 [ 28.168746] Dumping ftrace buffer: [ 28.172253] (ftrace buffer empty) [ 28.175934] Kernel Offset: disabled [ 28.179532] Rebooting in 86400 seconds..