[....] Starting enhanced syslogd: rsyslogd[ 11.300221] audit: type=1400 audit(1515622900.559:4): avc: denied { syslog } for pid=3173 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.14' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 28.371112] ================================================================== [ 28.378505] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0x103/0x120 [ 28.385578] Read of size 8 at addr ffff8801c96ef140 by task syzkaller430867/3330 [ 28.393081] [ 28.394682] CPU: 0 PID: 3330 Comm: syzkaller430867 Not tainted 4.9.76-g9154940 #20 [ 28.402371] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.411697] ffff8801c9cf7a50 ffffffff81d93149 ffffea000725bbc0 ffff8801c96ef140 [ 28.419662] 0000000000000000 ffff8801c96ef140 ffff8801cbfdc438 ffff8801c9cf7a88 [ 28.427605] ffffffff8153cb43 ffff8801c96ef140 0000000000000008 0000000000000000 [ 28.435548] Call Trace: [ 28.438107] [] dump_stack+0xc1/0x128 [ 28.443462] [] print_address_description+0x73/0x280 [ 28.450097] [] kasan_report+0x275/0x360 [ 28.455696] [] ? sg_remove_request+0x103/0x120 [ 28.461898] [] __asan_report_load8_noabort+0x14/0x20 [ 28.468635] [] sg_remove_request+0x103/0x120 [ 28.474662] [] sg_finish_rem_req+0x295/0x340 [ 28.480694] [] sg_read+0xa1c/0x1440 [ 28.485935] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.492577] [] ? __raw_spin_lock_init+0x1c/0x100 [ 28.498953] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 28.505758] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.512394] [] __vfs_read+0x103/0x670 [ 28.517811] [] ? default_llseek+0x290/0x290 [ 28.523750] [] ? fsnotify+0x86/0xf30 [ 28.529082] [] ? fsnotify+0xf30/0xf30 [ 28.534498] [] ? avc_policy_seqno+0x9/0x20 [ 28.540351] [] ? selinux_file_permission+0x82/0x460 [ 28.546985] [] ? security_file_permission+0x89/0x1e0 [ 28.553708] [] ? rw_verify_area+0xe5/0x2b0 [ 28.559561] [] vfs_read+0x11e/0x380 [ 28.564825] [] SyS_read+0xd9/0x1b0 [ 28.569984] [] ? vfs_copy_file_range+0x740/0x740 [ 28.576359] [] ? do_fast_syscall_32+0xcf/0x890 [ 28.582561] [] ? vfs_copy_file_range+0x740/0x740 [ 28.588935] [] do_fast_syscall_32+0x2f7/0x890 [ 28.595047] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 28.601692] [] entry_SYSENTER_compat+0x74/0x83 [ 28.607893] [ 28.609491] Allocated by task 0: [ 28.612824] (stack is not available) [ 28.616531] [ 28.618123] Freed by task 0: [ 28.621102] (stack is not available) [ 28.624776] [ 28.626375] The buggy address belongs to the object at ffff8801c96ef100 [ 28.626375] which belongs to the cache fasync_cache of size 96 [ 28.639005] The buggy address is located 64 bytes inside of [ 28.639005] 96-byte region [ffff8801c96ef100, ffff8801c96ef160) [ 28.650676] The buggy address belongs to the page: [ 28.655573] page:ffffea000725bbc0 count:1 mapcount:0 mapping: (null) index:0x0 [ 28.663797] flags: 0x8000000000000080(slab) [ 28.668082] page dumped because: kasan: bad access detected [ 28.673758] [ 28.675348] Memory state around the buggy address: [ 28.680249] ffff8801c96ef000: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc [ 28.687574] ffff8801c96ef080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.694897] >ffff8801c96ef100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.702220] ^ [ 28.707633] ffff8801c96ef180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.714955] ffff8801c96ef200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.722280] ================================================================== [ 28.729604] Disabling lock debugging due to kernel taint [ 28.735235] Kernel panic - not syncing: panic_on_warn set ... [ 28.735235] [ 28.742575] CPU: 0 PID: 3330 Comm: syzkaller430867 Tainted: G B 4.9.76-g9154940 #20 [ 28.751464] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.760786] ffff8801c9cf79a8 ffffffff81d93149 ffffffff84195c17 ffff8801c9cf7a80 [ 28.768753] 0000000000000000 ffff8801c96ef140 ffff8801cbfdc438 ffff8801c9cf7a70 [ 28.776712] ffffffff8142e371 0000000041b58ab3 ffffffff84189678 ffffffff8142e1b5 [ 28.784657] Call Trace: [ 28.787212] [] dump_stack+0xc1/0x128 [ 28.792542] [] panic+0x1bc/0x3a8 [ 28.797525] [] ? percpu_up_read_preempt_enable.constprop.53+0xd7/0xd7 [ 28.805726] [] ? preempt_schedule+0x25/0x30 [ 28.811665] [] ? ___preempt_schedule+0x16/0x18 [ 28.817864] [] kasan_end_report+0x50/0x50 [ 28.823626] [] kasan_report+0x167/0x360 [ 28.829215] [] ? sg_remove_request+0x103/0x120 [ 28.835420] [] __asan_report_load8_noabort+0x14/0x20 [ 28.842146] [] sg_remove_request+0x103/0x120 [ 28.848170] [] sg_finish_rem_req+0x295/0x340 [ 28.854197] [] sg_read+0xa1c/0x1440 [ 28.859441] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.866074] [] ? __raw_spin_lock_init+0x1c/0x100 [ 28.872451] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 28.879257] [] ? sg_proc_seq_show_debug+0xd10/0xd10 [ 28.885888] [] __vfs_read+0x103/0x670 [ 28.891308] [] ? default_llseek+0x290/0x290 [ 28.897249] [] ? fsnotify+0x86/0xf30 [ 28.902584] [] ? fsnotify+0xf30/0xf30 [ 28.908004] [] ? avc_policy_seqno+0x9/0x20 [ 28.913855] [] ? selinux_file_permission+0x82/0x460 [ 28.920489] [] ? security_file_permission+0x89/0x1e0 [ 28.927208] [] ? rw_verify_area+0xe5/0x2b0 [ 28.933059] [] vfs_read+0x11e/0x380 [ 28.938313] [] SyS_read+0xd9/0x1b0 [ 28.943468] [] ? vfs_copy_file_range+0x740/0x740 [ 28.949839] [] ? do_fast_syscall_32+0xcf/0x890 [ 28.956036] [] ? vfs_copy_file_range+0x740/0x740 [ 28.962414] [] do_fast_syscall_32+0x2f7/0x890 [ 28.968530] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 28.975162] [] entry_SYSENTER_compat+0x74/0x83 [ 28.981805] Dumping ftrace buffer: [ 28.985326] (ftrace buffer empty) [ 28.989007] Kernel Offset: disabled [ 28.992600] Rebooting in 86400 seconds..