[ 9.605372] audit: type=1400 audit(1516087945.689:4): avc: denied { syslog } for pid=3160 comm="rsyslogd" capability=34 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=1 [....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] 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.41' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 30.473333] ================================================================== [ 30.474558] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 30.475509] Read of size 8 at addr ffff8801c6a47140 by task syzkaller437200/3338 [ 30.476496] [ 30.476732] CPU: 0 PID: 3338 Comm: syzkaller437200 Not tainted 4.9.76-g8dec074 #13 [ 30.477788] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.479025] ffff8801c87879b0 ffffffff81d93169 ffffea00071a91c0 ffff8801c6a47140 [ 30.480201] 0000000000000000 ffff8801c6a47140 ffff8801c8d3c438 ffff8801c87879e8 [ 30.481357] ffffffff8153cb43 ffff8801c6a47140 0000000000000008 0000000000000000 [ 30.482534] Call Trace: [ 30.482894] [] dump_stack+0xc1/0x128 [ 30.483611] [] print_address_description+0x73/0x280 [ 30.484504] [] kasan_report+0x275/0x360 [ 30.485250] [] ? sg_remove_request+0x103/0x120 [ 30.486074] [] __asan_report_load8_noabort+0x14/0x20 [ 30.486963] [] sg_remove_request+0x103/0x120 [ 30.487779] [] sg_finish_rem_req+0x295/0x340 [ 30.488581] [] sg_read+0xa1c/0x1440 [ 30.489283] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.490183] [] ? fsnotify+0xf30/0xf30 [ 30.490911] [] ? avc_policy_seqno+0x9/0x20 [ 30.491705] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 30.492670] [] ? security_file_permission+0x89/0x1e0 [ 30.494083] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.500720] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.507359] [] do_readv_writev+0x520/0x750 [ 30.513213] [] ? vfs_write+0x530/0x530 [ 30.518734] [] ? _raw_spin_unlock+0x2c/0x50 [ 30.524674] [] ? fasync_insert_entry+0x147/0x2e0 [ 30.531058] [] ? fasync_helper+0x7a/0xb0 [ 30.536738] [] ? dev_seq_stop+0x50/0x50 [ 30.542332] [] ? do_vfs_ioctl+0x458/0x1140 [ 30.548185] [] ? ioctl_preallocate+0x220/0x220 [ 30.554389] [] ? selinux_file_ioctl+0x355/0x530 [ 30.560679] [] ? selinux_capable+0x40/0x40 [ 30.566533] [] vfs_readv+0x84/0xc0 [ 30.571695] [] do_readv+0xe6/0x250 [ 30.576864] [] ? vfs_readv+0xc0/0xc0 [ 30.582201] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 30.588837] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 30.595658] [] SyS_readv+0x27/0x30 [ 30.600818] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 30.607364] [ 30.608962] Allocated by task 0: [ 30.612293] (stack is not available) [ 30.615972] [ 30.617568] Freed by task 0: [ 30.620554] (stack is not available) [ 30.624235] [ 30.625832] The buggy address belongs to the object at ffff8801c6a47100 [ 30.625832] which belongs to the cache fasync_cache of size 96 [ 30.638474] The buggy address is located 64 bytes inside of [ 30.638474] 96-byte region [ffff8801c6a47100, ffff8801c6a47160) [ 30.650153] The buggy address belongs to the page: [ 30.655057] page:ffffea00071a91c0 count:1 mapcount:0 mapping: (null) index:0x0 [ 30.663283] flags: 0x8000000000000080(slab) [ 30.667575] page dumped because: kasan: bad access detected [ 30.673255] [ 30.674853] Memory state around the buggy address: [ 30.679752] ffff8801c6a47000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 30.687089] ffff8801c6a47080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.694426] >ffff8801c6a47100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.701759] ^ [ 30.707176] ffff8801c6a47180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.714516] ffff8801c6a47200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 30.721851] ================================================================== [ 30.729179] Disabling lock debugging due to kernel taint [ 30.734806] Kernel panic - not syncing: panic_on_warn set ... [ 30.734806] [ 30.742153] CPU: 0 PID: 3338 Comm: syzkaller437200 Tainted: G B 4.9.76-g8dec074 #13 [ 30.751048] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.760374] ffff8801c8787908 ffffffff81d93169 ffffffff84195c2f ffff8801c87879e0 [ 30.768346] 0000000000000000 ffff8801c6a47140 ffff8801c8d3c438 ffff8801c87879d0 [ 30.776318] ffffffff8142e371 0000000041b58ab3 ffffffff84189690 ffffffff8142e1b5 [ 30.784284] Call Trace: [ 30.786848] [] dump_stack+0xc1/0x128 [ 30.792187] [] panic+0x1bc/0x3a8 [ 30.797173] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 30.805375] [] ? preempt_schedule+0x25/0x30 [ 30.811321] [] ? ___preempt_schedule+0x16/0x18 [ 30.817529] [] kasan_end_report+0x50/0x50 [ 30.823298] [] kasan_report+0x167/0x360 [ 30.828893] [] ? sg_remove_request+0x103/0x120 [ 30.835094] [] __asan_report_load8_noabort+0x14/0x20 [ 30.841816] [] sg_remove_request+0x103/0x120 [ 30.847842] [] sg_finish_rem_req+0x295/0x340 [ 30.853878] [] sg_read+0xa1c/0x1440 [ 30.859124] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.865762] [] ? fsnotify+0xf30/0xf30 [ 30.871191] [] ? avc_policy_seqno+0x9/0x20 [ 30.877051] [] do_loop_readv_writev.part.17+0x141/0x1e0 [ 30.884036] [] ? security_file_permission+0x89/0x1e0 [ 30.890770] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.897419] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 30.904055] [] do_readv_writev+0x520/0x750 [ 30.909909] [] ? vfs_write+0x530/0x530 [ 30.915415] [] ? _raw_spin_unlock+0x2c/0x50 [ 30.921356] [] ? fasync_insert_entry+0x147/0x2e0 [ 30.927733] [] ? fasync_helper+0x7a/0xb0 [ 30.933416] [] ? dev_seq_stop+0x50/0x50 [ 30.939009] [] ? do_vfs_ioctl+0x458/0x1140 [ 30.944861] [] ? ioctl_preallocate+0x220/0x220 [ 30.951071] [] ? selinux_file_ioctl+0x355/0x530 [ 30.957360] [] ? selinux_capable+0x40/0x40 [ 30.963217] [] vfs_readv+0x84/0xc0 [ 30.968377] [] do_readv+0xe6/0x250 [ 30.973537] [] ? vfs_readv+0xc0/0xc0 [ 30.978873] [] ? entry_SYSCALL_64_fastpath+0x5/0xe2 [ 30.985512] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 30.992323] [] SyS_readv+0x27/0x30 [ 30.997482] [] entry_SYSCALL_64_fastpath+0x23/0xe2 [ 31.004370] Dumping ftrace buffer: [ 31.007883] (ftrace buffer empty) [ 31.011565] Kernel Offset: disabled [ 31.015162] Rebooting in 86400 seconds..