2017/10/26 15:59:38 parsed 1 programs 2017/10/26 15:59:38 executed programs: 0 2017/10/26 15:59:43 executed programs: 292 syzkaller login: [ 28.510121] ================================================================== [ 28.510667] BUG: KASAN: use-after-free in __lock_acquire+0x3c9f/0x3d50 [ 28.511068] Read of size 8 at addr ffff88003dbd03e8 by task syz-executor3/5011 [ 28.511499] [ 28.511598] CPU: 0 PID: 5011 Comm: syz-executor3 Not tainted 4.14.0-rc5-next-20171018+ #8 [ 28.512130] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 [ 28.512690] Call Trace: [ 28.512926] dump_stack+0x194/0x257 [ 28.513277] ? arch_local_irq_restore+0x53/0x53 [ 28.513692] ? show_regs_print_info+0x65/0x65 [ 28.514094] ? print_irqtrace_events+0x270/0x270 [ 28.514516] ? print_irqtrace_events+0x270/0x270 [ 28.514935] ? __lock_acquire+0x3c9f/0x3d50 [ 28.515323] print_address_description+0x73/0x250 [ 28.515754] ? __lock_acquire+0x3c9f/0x3d50 [ 28.516138] kasan_report+0x25b/0x340 [ 28.516474] __asan_report_load8_noabort+0x14/0x20 [ 28.516912] __lock_acquire+0x3c9f/0x3d50 [ 28.517303] ? exit_pi_state_list+0x369/0x7a0 [ 28.517712] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 28.518184] ? __lock_acquire+0x6aa/0x3d50 [ 28.518567] ? __lock_acquire+0x6aa/0x3d50 [ 28.518939] ? __lock_acquire+0x6aa/0x3d50 [ 28.519350] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 28.519818] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 28.520302] ? check_noncircular+0x20/0x20 [ 28.520703] ? osq_unlock+0x350/0x350 [ 28.521075] ? __lock_acquire+0x6aa/0x3d50 [ 28.521461] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 28.521931] ? check_noncircular+0x20/0x20 [ 28.522302] ? print_irqtrace_events+0x270/0x270 [ 28.522747] ? check_noncircular+0x20/0x20 [ 28.523072] ? lock_release+0xa40/0xa40 [ 28.523428] ? switched_to_fair+0xb0/0xb0 [ 28.523822] ? __lock_is_held+0xb6/0x140 [ 28.524211] ? find_held_lock+0x35/0x1d0 [ 28.524569] lock_acquire+0x1d5/0x580 [ 28.524936] ? lock_acquire+0x1d5/0x580 [ 28.525291] ? exit_pi_state_list+0x369/0x7a0 [ 28.525724] ? lock_downgrade+0x990/0x990 [ 28.526030] ? lock_release+0xa40/0xa40 [ 28.526378] ? do_raw_spin_trylock+0x190/0x190 [ 28.527135] ? lock_downgrade+0x990/0x990 [ 28.527542] _raw_spin_lock_irq+0x5e/0x80 [ 28.527926] ? exit_pi_state_list+0x369/0x7a0 [ 28.528335] exit_pi_state_list+0x369/0x7a0 [ 28.528727] ? futex_wait_requeue_pi.constprop.19+0x1300/0x1300 [ 28.529314] ? lock_release+0xa40/0xa40 [ 28.529673] ? trace_event_raw_event_sched_switch+0x8a0/0x8a0 [ 28.530204] ? _raw_spin_unlock_irqrestore+0x31/0xba [ 28.530663] ? __might_sleep+0x95/0x190 [ 28.531024] ? __might_fault+0x188/0x1d0 [ 28.531389] ? do_raw_spin_trylock+0x190/0x190 [ 28.531802] mm_release+0x46d/0x590 [ 28.532129] ? do_raw_spin_trylock+0x190/0x190 [ 28.532548] ? mm_access+0x140/0x140 [ 28.532935] ? _raw_spin_unlock_irq+0x27/0x70 [ 28.533343] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 28.533795] ? trace_hardirqs_on+0xd/0x10 [ 28.534089] ? _raw_spin_unlock_irq+0x27/0x70 [ 28.534399] ? acct_collect+0x637/0x800 [ 28.534678] do_exit+0x481/0x1ad0 [ 28.534918] ? mm_update_next_owner+0x930/0x930 [ 28.535237] ? trace_event_raw_event_sched_switch+0x8a0/0x8a0 [ 28.535641] ? rcu_note_context_switch+0x710/0x710 [ 28.535978] ? futex_wait_setup+0x14a/0x3d0 [ 28.536274] ? __might_sleep+0x95/0x190 [ 28.536547] ? find_held_lock+0x35/0x1d0 [ 28.536832] ? futex_wait+0x402/0x990 [ 28.537095] ? lock_downgrade+0x990/0x990 [ 28.537386] ? do_raw_spin_trylock+0x190/0x190 [ 28.537700] ? check_noncircular+0x20/0x20 [ 28.537996] ? futex_wake+0x680/0x680 [ 28.538255] ? mmdrop+0x18/0x30 [ 28.538486] ? drop_futex_key_refs.isra.13+0x63/0xa0 [ 28.538832] ? futex_wait+0x69e/0x990 [ 28.539096] ? find_held_lock+0x35/0x1d0 [ 28.539460] ? get_signal+0x7ae/0x16d0 [ 28.539810] ? lock_downgrade+0x990/0x990 [ 28.540186] do_group_exit+0x149/0x400 [ 28.540539] ? __lock_is_held+0xb6/0x140 [ 28.540905] ? SyS_exit+0x30/0x30 [ 28.541221] ? _raw_spin_unlock_irq+0x27/0x70 [ 28.541629] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 28.542085] get_signal+0x73f/0x16d0 [ 28.542423] ? ptrace_notify+0x130/0x130 [ 28.542795] ? exit_robust_list+0x240/0x240 [ 28.543187] ? __fget+0x333/0x570 [ 28.543503] do_signal+0x94/0x1ee0 [ 28.543825] ? lock_release+0xa40/0xa40 [ 28.544185] ? should_fail+0x23b/0xa40 [ 28.544539] ? fault_create_debugfs_attr+0x1f0/0x1f0 [ 28.545003] ? setup_sigcontext+0x7d0/0x7d0 [ 28.545398] ? find_held_lock+0x35/0x1d0 [ 28.545772] ? lock_downgrade+0x990/0x990 [ 28.546144] ? lock_release+0xa40/0xa40 [ 28.546505] ? trace_event_raw_event_sched_switch+0x8a0/0x8a0 [ 28.547051] ? lock_downgrade+0x990/0x990 [ 28.547443] ? exit_to_usermode_loop+0x8c/0x310 [ 28.548173] exit_to_usermode_loop+0x214/0x310 [ 28.548604] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 28.549140] ? kasan_check_write+0x14/0x20 [ 28.549570] syscall_return_slowpath+0x42f/0x510 [ 28.550066] ? prepare_exit_to_usermode+0x2d0/0x2d0 [ 28.550578] ? entry_SYSCALL_64_fastpath+0x91/0xbe [ 28.551094] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 28.551581] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 28.551987] entry_SYSCALL_64_fastpath+0xbc/0xbe [ 28.552428] RIP: 0033:0x447c89 [ 28.552714] RSP: 002b:00007fecc853bce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 28.553461] RAX: fffffffffffffe00 RBX: 00000000007481b8 RCX: 0000000000447c89 [ 28.554212] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000007481b8 [ 28.554860] RBP: 00000000007481b8 R08: 0000000000000000 R09: 0000000000748190 [ 28.555505] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 28.556151] R13: 0000000000000000 R14: 00007fecc853c9c0 R15: 00007fecc853c700 [ 28.556808] [ 28.556963] Allocated by task 5027: [ 28.557290] save_stack+0x43/0xd0 [ 28.557602] kasan_kmalloc+0xad/0xe0 [ 28.557935] kmem_cache_alloc_trace+0x136/0x750 [ 28.558353] refill_pi_state_cache.part.6+0xa5/0x2f0 [ 28.558800] futex_requeue+0x1887/0x2370 [ 28.559164] do_futex+0x7f5/0x20d0 [ 28.559480] SyS_futex+0x260/0x390 [ 28.559798] entry_SYSCALL_64_fastpath+0x1f/0xbe [ 28.560219] [ 28.560364] Freed by task 4999: [ 28.560657] save_stack+0x43/0xd0 [ 28.560974] kasan_slab_free+0x71/0xc0 [ 28.561322] kfree+0xca/0x250 [ 28.561600] put_pi_state+0x3f4/0x560 [ 28.561941] unqueue_me_pi+0x4a/0xc0 [ 28.562275] futex_wait_requeue_pi.constprop.19+0xc7f/0x1300 [ 28.562792] do_futex+0x825/0x20d0 [ 28.563187] SyS_futex+0x260/0x390 [ 28.563508] entry_SYSCALL_64_fastpath+0x1f/0xbe [ 28.563908] [ 28.564058] The buggy address belongs to the object at ffff88003dbd03c0 [ 28.564058] which belongs to the cache kmalloc-256 of size 256 [ 28.565195] The buggy address is located 40 bytes inside of [ 28.565195] 256-byte region [ffff88003dbd03c0, ffff88003dbd04c0) [ 28.566240] The buggy address belongs to the page: [ 28.566679] page:ffffea0000f6f400 count:1 mapcount:0 mapping:ffff88003dbd0000 index:0xffff88003dbd0780 [ 28.567536] flags: 0x100000000000100(slab) [ 28.567911] raw: 0100000000000100 ffff88003dbd0000 ffff88003dbd0780 0000000100000008 [ 28.568614] raw: ffffea0000f20760 ffffea0000f68260 ffff88003e8007c0 0000000000000000 [ 28.569630] page dumped because: kasan: bad access detected [ 28.570144] [ 28.570290] Memory state around the buggy address: [ 28.570731] ffff88003dbd0280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.571385] ffff88003dbd0300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.571890] >ffff88003dbd0380: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 28.572545] ^ [ 28.573188] ffff88003dbd0400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.573843] ffff88003dbd0480: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 28.574518] ================================================================== [ 28.575168] Disabling lock debugging due to kernel taint [ 28.575654] Kernel panic - not syncing: panic_on_warn set ... [ 28.575654] [ 28.576307] CPU: 0 PID: 5011 Comm: syz-executor3 Tainted: G B 4.14.0-rc5-next-20171018+ #8 [ 28.577185] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 [ 28.577916] Call Trace: [ 28.578153] dump_stack+0x194/0x257 [ 28.578481] ? arch_local_irq_restore+0x53/0x53 [ 28.578897] ? kasan_end_report+0x32/0x50 [ 28.579271] ? lock_downgrade+0x990/0x990 [ 28.579646] ? vsnprintf+0x1ed/0x1900 [ 28.579987] ? __lock_acquire+0x3c50/0x3d50 [ 28.580373] panic+0x1e4/0x41c [ 28.580661] ? refcount_error_report+0x214/0x214 [ 28.581096] ? add_taint+0x40/0x50 [ 28.581414] ? add_taint+0x1c/0x50 [ 28.581732] ? __lock_acquire+0x3c9f/0x3d50 [ 28.582115] kasan_end_report+0x50/0x50 [ 28.582471] kasan_report+0x144/0x340 [ 28.582812] __asan_report_load8_noabort+0x14/0x20 [ 28.583250] __lock_acquire+0x3c9f/0x3d50 [ 28.583623] ? exit_pi_state_list+0x369/0x7a0 [ 28.584038] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 28.584506] ? __lock_acquire+0x6aa/0x3d50 [ 28.584887] ? __lock_acquire+0x6aa/0x3d50 [ 28.585282] ? __lock_acquire+0x6aa/0x3d50 [ 28.585662] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 28.586125] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 28.586591] ? check_noncircular+0x20/0x20 [ 28.586970] ? osq_unlock+0x350/0x350 [ 28.587312] ? __lock_acquire+0x6aa/0x3d50 [ 28.587696] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 28.588162] ? check_noncircular+0x20/0x20 [ 28.588543] ? print_irqtrace_events+0x270/0x270 [ 28.588983] ? check_noncircular+0x20/0x20 [ 28.589364] ? lock_release+0xa40/0xa40 [ 28.589721] ? switched_to_fair+0xb0/0xb0 [ 28.590093] ? __lock_is_held+0xb6/0x140 [ 28.590458] ? find_held_lock+0x35/0x1d0 [ 28.591141] lock_acquire+0x1d5/0x580 [ 28.591457] ? lock_acquire+0x1d5/0x580 [ 28.591810] ? exit_pi_state_list+0x369/0x7a0 [ 28.592217] ? lock_downgrade+0x990/0x990 [ 28.592591] ? lock_release+0xa40/0xa40 [ 28.592972] ? do_raw_spin_trylock+0x190/0x190 [ 28.593381] ? lock_downgrade+0x990/0x990 [ 28.593757] _raw_spin_lock_irq+0x5e/0x80 [ 28.594129] ? exit_pi_state_list+0x369/0x7a0 [ 28.594533] exit_pi_state_list+0x369/0x7a0 [ 28.594926] ? futex_wait_requeue_pi.constprop.19+0x1300/0x1300 [ 28.595469] ? lock_release+0xa40/0xa40 [ 28.595829] ? trace_event_raw_event_sched_switch+0x8a0/0x8a0 [ 28.596356] ? _raw_spin_unlock_irqrestore+0x31/0xba [ 28.596823] ? __might_sleep+0x95/0x190 [ 28.597188] ? __might_fault+0x188/0x1d0 [ 28.597558] ? do_raw_spin_trylock+0x190/0x190 [ 28.597972] mm_release+0x46d/0x590 [ 28.598300] ? do_raw_spin_trylock+0x190/0x190 [ 28.598712] ? mm_access+0x140/0x140 [ 28.599047] ? _raw_spin_unlock_irq+0x27/0x70 [ 28.599452] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 28.599905] ? trace_hardirqs_on+0xd/0x10 [ 28.600279] ? _raw_spin_unlock_irq+0x27/0x70 [ 28.600684] ? acct_collect+0x637/0x800 [ 28.601080] do_exit+0x481/0x1ad0 [ 28.601393] ? mm_update_next_owner+0x930/0x930 [ 28.601817] ? trace_event_raw_event_sched_switch+0x8a0/0x8a0 [ 28.602347] ? rcu_note_context_switch+0x710/0x710 [ 28.602792] ? futex_wait_setup+0x14a/0x3d0 [ 28.603184] ? __might_sleep+0x95/0x190 [ 28.603545] ? find_held_lock+0x35/0x1d0 [ 28.603914] ? futex_wait+0x402/0x990 [ 28.604257] ? lock_downgrade+0x990/0x990 [ 28.604633] ? do_raw_spin_trylock+0x190/0x190 [ 28.605060] ? check_noncircular+0x20/0x20 [ 28.605442] ? futex_wake+0x680/0x680 [ 28.605787] ? mmdrop+0x18/0x30 [ 28.606084] ? drop_futex_key_refs.isra.13+0x63/0xa0 [ 28.606540] ? futex_wait+0x69e/0x990 [ 28.606885] ? find_held_lock+0x35/0x1d0 [ 28.607256] ? get_signal+0x7ae/0x16d0 [ 28.607608] ? lock_downgrade+0x990/0x990 [ 28.607983] do_group_exit+0x149/0x400 [ 28.608333] ? __lock_is_held+0xb6/0x140 [ 28.608697] ? SyS_exit+0x30/0x30 [ 28.609021] ? _raw_spin_unlock_irq+0x27/0x70 [ 28.609423] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 28.609874] get_signal+0x73f/0x16d0 [ 28.610210] ? ptrace_notify+0x130/0x130 [ 28.610578] ? exit_robust_list+0x240/0x240 [ 28.610968] ? __fget+0x333/0x570 [ 28.611281] do_signal+0x94/0x1ee0 [ 28.611888] ? lock_release+0xa40/0xa40 [ 28.612216] ? should_fail+0x23b/0xa40 [ 28.612558] ? fault_create_debugfs_attr+0x1f0/0x1f0 [ 28.613040] ? setup_sigcontext+0x7d0/0x7d0 [ 28.613433] ? find_held_lock+0x35/0x1d0 [ 28.613801] ? lock_downgrade+0x990/0x990 [ 28.614206] ? lock_release+0xa40/0xa40 [ 28.614576] ? trace_event_raw_event_sched_switch+0x8a0/0x8a0 [ 28.615154] ? lock_downgrade+0x990/0x990 [ 28.615526] ? exit_to_usermode_loop+0x8c/0x310 [ 28.615947] exit_to_usermode_loop+0x214/0x310 [ 28.616360] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 28.616857] ? kasan_check_write+0x14/0x20 [ 28.617256] syscall_return_slowpath+0x42f/0x510 [ 28.617697] ? prepare_exit_to_usermode+0x2d0/0x2d0 [ 28.618149] ? entry_SYSCALL_64_fastpath+0x91/0xbe [ 28.618593] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 28.619044] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 28.619474] entry_SYSCALL_64_fastpath+0xbc/0xbe [ 28.619900] RIP: 0033:0x447c89 [ 28.620188] RSP: 002b:00007fecc853bce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 28.620877] RAX: fffffffffffffe00 RBX: 00000000007481b8 RCX: 0000000000447c89 [ 28.621531] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000007481b8 [ 28.622180] RBP: 00000000007481b8 R08: 0000000000000000 R09: 0000000000748190 [ 28.622827] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 28.623496] R13: 0000000000000000 R14: 00007fecc853c9c0 R15: 00007fecc853c700 [ 28.624973] Dumping ftrace buffer: [ 28.625297] (ftrace buffer empty) [ 28.625629] Kernel Offset: disabled [ 28.625956] Rebooting in 86400 seconds..