audit: type=1400 audit(1513022513.786:7): avc: denied { map } for pid=3151 comm="syzkaller514695" path="/root/syzkaller514695434" dev="sda1" ino=16481 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 ================================================================== BUG: KASAN: global-out-of-bounds in show_timer+0x278/0x2b0 fs/proc/base.c:2274 Read of size 8 at addr ffffffff853431f8 by task syzkaller514695/3151 CPU: 1 PID: 3151 Comm: syzkaller514695 Not tainted 4.15.0-rc3+ #217 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 print_address_description+0x178/0x250 mm/kasan/report.c:252 kasan_report_error mm/kasan/report.c:351 [inline] kasan_report+0x25b/0x340 mm/kasan/report.c:409 __asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:430 show_timer+0x278/0x2b0 fs/proc/base.c:2274 seq_read+0x385/0x13d0 fs/seq_file.c:234 do_loop_readv_writev fs/read_write.c:673 [inline] do_iter_read+0x3db/0x5b0 fs/read_write.c:897 vfs_readv+0x121/0x1c0 fs/read_write.c:959 do_preadv+0x11b/0x1a0 fs/read_write.c:1043 SYSC_preadv fs/read_write.c:1093 [inline] SyS_preadv+0x30/0x40 fs/read_write.c:1088 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x440149 RSP: 002b:00007ffcfb489e78 EFLAGS: 00000213 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00007ffcfb489e80 RCX: 0000000000440149 RDX: 0000000000000001 RSI: 00000000205e2ff0 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000011 R09: 65732f636f72702f R10: 0000000000000000 R11: 0000000000000213 R12: 0000000000401a10 R13: 0000000000401aa0 R14: 0000000000000000 R15: 0000000000000000 The buggy address belongs to the variable: nstr.44444+0x18/0x40 Memory state around the buggy address: ffffffff85343080: fa fa fa fa 00 00 00 fa fa fa fa fa 00 06 fa fa ffffffff85343100: fa fa fa fa 07 fa fa fa fa fa fa fa 05 fa fa fa >ffffffff85343180: fa fa fa fa 07 fa fa fa fa fa fa fa 00 00 00 fa ^ ffffffff85343200: fa fa fa fa 00 fa fa fa fa fa fa fa 07 fa fa fa ffffffff85343280: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 3151 Comm: syzkaller514695 Tainted: G B 4.15.0-rc3+ #217 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 panic+0x1e4/0x41c kernel/panic.c:183 kasan_end_report+0x50/0x50 mm/kasan/report.c:176 kasan_report_error mm/kasan/report.c:356 [inline] kasan_report+0x144/0x340 mm/kasan/report.c:409 __asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:430 show_timer+0x278/0x2b0 fs/proc/base.c:2274 seq_read+0x385/0x13d0 fs/seq_file.c:234 do_loop_readv_writev fs/read_write.c:673 [inline] do_iter_read+0x3db/0x5b0 fs/read_write.c:897 vfs_readv+0x121/0x1c0 fs/read_write.c:959 do_preadv+0x11b/0x1a0 fs/read_write.c:1043 SYSC_preadv fs/read_write.c:1093 [inline] SyS_preadv+0x30/0x40 fs/read_write.c:1088 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x440149 RSP: 002b:00007ffcfb489e78 EFLAGS: 00000213 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00007ffcfb489e80 RCX: 0000000000440149 RDX: 0000000000000001 RSI: 00000000205e2ff0 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000011 R09: 65732f636f72702f R10: 0000000000000000 R11: 0000000000000213 R12: 0000000000401a10 R13: 0000000000401aa0 R14: 0000000000000000 R15: 0000000000000000 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..