[ 12.225935] audit: type=1400 audit(1517681212.695:4): avc: denied { syslog } for pid=3877 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 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.206' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 56.695839] ================================================================== [ 56.703223] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 56.710291] Read of size 8 at addr ffff8801c7da7140 by task syzkaller843326/4065 [ 56.717787] [ 56.719386] CPU: 0 PID: 4065 Comm: syzkaller843326 Not tainted 4.9.79-g47af77b #26 [ 56.727059] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 56.736384] ffff8801d3c67ab0 ffffffff81d94b09 ffffea00071f69c0 ffff8801c7da7140 [ 56.744358] 0000000000000000 ffff8801c7da7140 ffff8801d435a338 ffff8801d3c67ae8 [ 56.752321] ffffffff8153e083 ffff8801c7da7140 0000000000000008 0000000000000000 [ 56.760296] Call Trace: [ 56.762855] [] dump_stack+0xc1/0x128 [ 56.768190] [] print_address_description+0x73/0x280 [ 56.774829] [] kasan_report+0x275/0x360 [ 56.780423] [] ? sg_remove_request+0x103/0x120 [ 56.786627] [] __asan_report_load8_noabort+0x14/0x20 [ 56.793357] [] sg_remove_request+0x103/0x120 [ 56.799381] [] sg_finish_rem_req+0x295/0x340 [ 56.805408] [] sg_read+0xa16/0x1440 [ 56.810657] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 56.817306] [] ? fasync_insert_entry+0x147/0x2e0 [ 56.823682] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 56.830326] [] __vfs_read+0x103/0x670 [ 56.835746] [] ? default_llseek+0x290/0x290 [ 56.841687] [] ? fsnotify+0x86/0xf30 [ 56.847025] [] ? fsnotify+0xf30/0xf30 [ 56.852448] [] ? avc_policy_seqno+0x9/0x20 [ 56.858301] [] ? selinux_file_permission+0x82/0x460 [ 56.864937] [] ? security_file_permission+0x89/0x1e0 [ 56.871662] [] ? rw_verify_area+0xe5/0x2b0 [ 56.877517] [] vfs_read+0x11e/0x380 [ 56.882763] [] SyS_read+0xd9/0x1b0 [ 56.887923] [] ? vfs_copy_file_range+0x740/0x740 [ 56.894301] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 56.901111] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 56.907670] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 56.914216] [ 56.915812] Allocated by task 0: [ 56.919145] (stack is not available) [ 56.922823] [ 56.924418] Freed by task 0: [ 56.927402] (stack is not available) [ 56.931080] [ 56.932677] The buggy address belongs to the object at ffff8801c7da7100 [ 56.932677] which belongs to the cache fasync_cache of size 96 [ 56.945300] The buggy address is located 64 bytes inside of [ 56.945300] 96-byte region [ffff8801c7da7100, ffff8801c7da7160) [ 56.956969] The buggy address belongs to the page: [ 56.961872] page:ffffea00071f69c0 count:1 mapcount:0 mapping: (null) index:0x0 [ 56.970100] flags: 0x8000000000000080(slab) [ 56.974388] page dumped because: kasan: bad access detected [ 56.980065] [ 56.981660] Memory state around the buggy address: [ 56.986565] ffff8801c7da7000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 56.993896] ffff8801c7da7080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 57.001224] >ffff8801c7da7100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 57.008550] ^ [ 57.013969] ffff8801c7da7180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 57.021300] ffff8801c7da7200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 57.028624] ================================================================== [ 57.035952] Disabling lock debugging due to kernel taint [ 57.041715] Kernel panic - not syncing: panic_on_warn set ... [ 57.041715] [ 57.049063] CPU: 0 PID: 4065 Comm: syzkaller843326 Tainted: G B 4.9.79-g47af77b #26 [ 57.057964] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 57.067291] ffff8801d3c67a08 ffffffff81d94b09 ffffffff8419709f ffff8801d3c67ae0 [ 57.075266] 0000000000000000 ffff8801c7da7140 ffff8801d435a338 ffff8801d3c67ad0 [ 57.083229] ffffffff8142f531 0000000041b58ab3 ffffffff8418ab10 ffffffff8142f375 [ 57.091194] Call Trace: [ 57.093762] [] dump_stack+0xc1/0x128 [ 57.099097] [] panic+0x1bc/0x3a8 [ 57.104085] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 57.112285] [] ? preempt_schedule+0x25/0x30 [ 57.118226] [] ? ___preempt_schedule+0x16/0x18 [ 57.124428] [] kasan_end_report+0x50/0x50 [ 57.130211] [] kasan_report+0x167/0x360 [ 57.135804] [] ? sg_remove_request+0x103/0x120 [ 57.142004] [] __asan_report_load8_noabort+0x14/0x20 [ 57.148734] [] sg_remove_request+0x103/0x120 [ 57.154763] [] sg_finish_rem_req+0x295/0x340 [ 57.160792] [] sg_read+0xa16/0x1440 [ 57.166038] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 57.172676] [] ? fasync_insert_entry+0x147/0x2e0 [ 57.179051] [] ? sg_proc_seq_show_debug+0xd90/0xd90 [ 57.185687] [] __vfs_read+0x103/0x670 [ 57.191119] [] ? default_llseek+0x290/0x290 [ 57.197069] [] ? fsnotify+0x86/0xf30 [ 57.202401] [] ? fsnotify+0xf30/0xf30 [ 57.207833] [] ? avc_policy_seqno+0x9/0x20 [ 57.213688] [] ? selinux_file_permission+0x82/0x460 [ 57.220326] [] ? security_file_permission+0x89/0x1e0 [ 57.227063] [] ? rw_verify_area+0xe5/0x2b0 [ 57.232917] [] vfs_read+0x11e/0x380 [ 57.238163] [] SyS_read+0xd9/0x1b0 [ 57.243325] [] ? vfs_copy_file_range+0x740/0x740 [ 57.249705] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 57.256514] [] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 57.263075] [] entry_SYSCALL_64_fastpath+0x29/0xe8 [ 57.269974] Dumping ftrace buffer: [ 57.273490] (ftrace buffer empty) [ 57.277171] Kernel Offset: disabled [ 57.280768] Rebooting in 86400 seconds..