[....] Starting enhanced syslogd: rsyslogd[ 10.953707] audit: type=1400 audit(1514957414.909:5): avc: denied { syslog } for pid=3310 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 syzkaller login: [ 15.806955] audit: type=1400 audit(1514957419.762:6): avc: denied { map } for pid=3451 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 Warning: Permanently added '10.128.0.33' (ECDSA) to the list of known hosts. [ 133.870595] audit: type=1400 audit(1514957537.826:7): avc: denied { map } for pid=3469 comm="syz-execprog" path="/root/syz-execprog" dev="sda1" ino=16479 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 2018/01/03 05:32:17 parsed 1 programs 2018/01/03 05:32:17 executed programs: 0 [ 133.994229] audit: type=1400 audit(1514957537.950:8): avc: denied { map } for pid=3469 comm="syz-execprog" path="/root/syzkaller-shm848666092" dev="sda1" ino=16482 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:file_t:s0 tclass=file permissive=1 2018/01/03 05:32:22 executed programs: 2121 2018/01/03 05:32:27 executed programs: 4022 [ 148.604139] ================================================================== [ 148.611553] BUG: KASAN: use-after-free in __lock_acquire+0x3c41/0x3cf0 [ 148.618200] Read of size 8 at addr ffff8801d66fb1a0 by task syz-executor4/32309 [ 148.625621] [ 148.627237] CPU: 0 PID: 32309 Comm: syz-executor4 Not tainted 4.15.0-rc6-next-20180102+ #86 [ 148.635701] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 148.645034] Call Trace: [ 148.647601] dump_stack+0x137/0x198 [ 148.651214] ? __lock_acquire+0x3c41/0x3cf0 [ 148.655523] print_address_description+0x73/0x250 [ 148.660352] ? __lock_acquire+0x3c41/0x3cf0 [ 148.664660] kasan_report+0x23b/0x360 [ 148.668442] __asan_report_load8_noabort+0x14/0x20 [ 148.673337] __lock_acquire+0x3c41/0x3cf0 [ 148.677454] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 148.682436] ? trace_hardirqs_on+0xd/0x10 [ 148.686549] ? trace_hardirqs_on+0xd/0x10 [ 148.690666] ? shmem_fault+0x503/0x710 [ 148.694521] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 148.699677] ? __free_pages+0x4f/0x80 [ 148.703446] ? put_task_stack+0x116/0x270 [ 148.707561] ? finish_task_switch+0x42f/0x5c0 [ 148.712032] ? __schedule+0x858/0x1e10 [ 148.715887] lock_acquire+0x16b/0x420 [ 148.719651] ? lock_acquire+0x16b/0x420 [ 148.723590] ? shmem_fault+0x503/0x710 [ 148.727445] _raw_spin_lock+0x2a/0x40 [ 148.731210] ? shmem_fault+0x503/0x710 [ 148.735064] shmem_fault+0x503/0x710 [ 148.738744] ? shmem_read_mapping_page_gfp+0x160/0x160 [ 148.743989] ? shmem_file_setup_with_mnt+0x70/0x70 [ 148.748896] __do_fault+0x8a/0x1d0 [ 148.752401] __handle_mm_fault+0x1c96/0x3210 [ 148.756778] ? __pmd_alloc+0x4e0/0x4e0 [ 148.760632] ? find_held_lock+0x35/0x1e0 [ 148.764663] handle_mm_fault+0x305/0x840 [ 148.768694] __do_page_fault+0x59e/0xca0 [ 148.772722] ? mm_fault_error+0x2c0/0x2c0 [ 148.776836] ? ret_from_fork+0x1a/0x30 [ 148.780689] ? page_fault+0x36/0x60 [ 148.784283] do_page_fault+0x78/0x490 [ 148.788050] ? page_fault+0x36/0x60 [ 148.791642] page_fault+0x4c/0x60 [ 148.795061] RIP: 0033:0x452ad5 [ 148.798221] RSP: 002b:000000002098d000 EFLAGS: 00010217 [ 148.803549] RAX: 0000000000000000 RBX: 000000000071bea0 RCX: 0000000000452ac9 [ 148.810783] RDX: 0000000020651000 RSI: 000000002098d000 RDI: 00000000000001fe [ 148.818025] RBP: 0000000000000048 R08: 000000002095c000 R09: 0000000000000000 [ 148.825265] R10: 0000000020c6f000 R11: 0000000000000212 R12: 00000000006ee760 [ 148.832503] R13: 00000000ffffffff R14: 00007f2efe33e6d4 R15: 0000000000000000 [ 148.839739] [ 148.841333] Allocated by task 32297: [ 148.845018] save_stack+0x43/0xd0 [ 148.848441] kasan_kmalloc+0xad/0xe0 [ 148.852121] kasan_slab_alloc+0x12/0x20 [ 148.856060] kmem_cache_alloc+0x12e/0x760 [ 148.860172] shmem_alloc_inode+0x1b/0x40 [ 148.864199] alloc_inode+0x65/0x180 [ 148.867791] new_inode_pseudo+0x17/0xe0 [ 148.871729] new_inode+0x1c/0x40 [ 148.875061] shmem_get_inode+0x71/0x760 [ 148.879000] __shmem_file_setup.part.44+0x33f/0x420 [ 148.883994] shmem_zero_setup+0xd9/0x3e0 [ 148.888025] mmap_region+0xdb8/0x1010 [ 148.891796] do_mmap+0x623/0xda0 [ 148.895129] vm_mmap_pgoff+0x19c/0x1f0 [ 148.898991] SyS_mmap_pgoff+0x1fc/0x580 [ 148.902932] SyS_mmap+0x16/0x20 [ 148.906178] entry_SYSCALL_64_fastpath+0x23/0x9a [ 148.910895] [ 148.912489] Freed by task 3476: [ 148.915744] save_stack+0x43/0xd0 [ 148.919164] kasan_slab_free+0x71/0xc0 [ 148.923022] kmem_cache_free+0x83/0x2a0 [ 148.926964] shmem_destroy_callback+0x5a/0xa0 [ 148.931424] rcu_process_callbacks+0x5cf/0x1200 [ 148.936058] __do_softirq+0x23f/0x99f [ 148.939820] [ 148.941417] The buggy address belongs to the object at ffff8801d66fb000 [ 148.941417] which belongs to the cache shmem_inode_cache of size 1200 [ 148.954643] The buggy address is located 416 bytes inside of [ 148.954643] 1200-byte region [ffff8801d66fb000, ffff8801d66fb4b0) [ 148.966572] The buggy address belongs to the page: [ 148.971475] page:ffffea000759bec0 count:1 mapcount:0 mapping:ffff8801d66fb000 index:0xffff8801d66fbffd [ 148.980887] flags: 0x2fffc0000000100(slab) [ 148.985093] raw: 02fffc0000000100 ffff8801d66fb000 ffff8801d66fbffd 0000000100000003 [ 148.992943] raw: ffffea0007542a60 ffffea0007536720 ffff8801da2a44c0 0000000000000000 [ 149.000788] page dumped because: kasan: bad access detected [ 149.006460] [ 149.008140] Memory state around the buggy address: [ 149.013034] ffff8801d66fb080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 149.020359] ffff8801d66fb100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 149.027685] >ffff8801d66fb180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 149.035011] ^ [ 149.039387] ffff8801d66fb200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 149.046714] ffff8801d66fb280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 149.054037] ================================================================== [ 149.061360] Disabling lock debugging due to kernel taint [ 149.066773] Kernel panic - not syncing: panic_on_warn set ... [ 149.066773] [ 149.074104] CPU: 0 PID: 32309 Comm: syz-executor4 Tainted: G B 4.15.0-rc6-next-20180102+ #86 [ 149.083857] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 149.093190] Call Trace: [ 149.095750] dump_stack+0x137/0x198 [ 149.099347] ? __lock_acquire+0x3b80/0x3cf0 [ 149.103635] panic+0x1e4/0x41c [ 149.106793] ? refcount_error_report+0x214/0x214 [ 149.111516] ? add_taint+0x40/0x50 [ 149.115021] ? add_taint+0x1c/0x50 [ 149.118528] ? __lock_acquire+0x3c41/0x3cf0 [ 149.122817] kasan_end_report+0x50/0x50 [ 149.126758] kasan_report+0x148/0x360 [ 149.130527] __asan_report_load8_noabort+0x14/0x20 [ 149.135423] __lock_acquire+0x3c41/0x3cf0 [ 149.139537] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 149.144520] ? trace_hardirqs_on+0xd/0x10 [ 149.148646] ? trace_hardirqs_on+0xd/0x10 [ 149.152761] ? shmem_fault+0x503/0x710 [ 149.156617] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 149.161775] ? __free_pages+0x4f/0x80 [ 149.165552] ? put_task_stack+0x116/0x270 [ 149.169667] ? finish_task_switch+0x42f/0x5c0 [ 149.174131] ? __schedule+0x858/0x1e10 [ 149.177987] lock_acquire+0x16b/0x420 [ 149.181754] ? lock_acquire+0x16b/0x420 [ 149.185694] ? shmem_fault+0x503/0x710 [ 149.189548] _raw_spin_lock+0x2a/0x40 [ 149.193315] ? shmem_fault+0x503/0x710 [ 149.197171] shmem_fault+0x503/0x710 [ 149.200850] ? shmem_read_mapping_page_gfp+0x160/0x160 [ 149.206095] ? shmem_file_setup_with_mnt+0x70/0x70 [ 149.210993] __do_fault+0x8a/0x1d0 [ 149.214503] __handle_mm_fault+0x1c96/0x3210 [ 149.218878] ? __pmd_alloc+0x4e0/0x4e0 [ 149.222734] ? find_held_lock+0x35/0x1e0 [ 149.226765] handle_mm_fault+0x305/0x840 [ 149.230796] __do_page_fault+0x59e/0xca0 [ 149.234824] ? mm_fault_error+0x2c0/0x2c0 [ 149.238937] ? ret_from_fork+0x1a/0x30 [ 149.242791] ? page_fault+0x36/0x60 [ 149.246388] do_page_fault+0x78/0x490 [ 149.250154] ? page_fault+0x36/0x60 [ 149.253746] page_fault+0x4c/0x60 [ 149.257167] RIP: 0033:0x452ad5 [ 149.260325] RSP: 002b:000000002098d000 EFLAGS: 00010217 [ 149.265664] RAX: 0000000000000000 RBX: 000000000071bea0 RCX: 0000000000452ac9 [ 149.272907] RDX: 0000000020651000 RSI: 000000002098d000 RDI: 00000000000001fe [ 149.280152] RBP: 0000000000000048 R08: 000000002095c000 R09: 0000000000000000 [ 149.287389] R10: 0000000020c6f000 R11: 0000000000000212 R12: 00000000006ee760 [ 149.294625] R13: 00000000ffffffff R14: 00007f2efe33e6d4 R15: 0000000000000000 [ 149.302296] Dumping ftrace buffer: [ 149.305808] (ftrace buffer empty) [ 149.309482] Kernel Offset: disabled [ 149.313073] Rebooting in 86400 seconds..