Microsoft Windows Kernel - 'DeferWindowPos' Use-After-Free (MS15-073)

Related Vulnerabilities: CVE-2015-2366  
Publish Date: 22 Sep 2015
Author: Nils Sommer
                Source: https://code.google.com/p/google-security-research/issues/detail?id=339

The attached PoC demonstrate a use-after-free condition that occurs when operating on a DeferWindowPos object from multiple threads. The DeferWindowPos() call will trigger and block on the execution of a window procedure in a separate thread from which we call EndDeferWindowPos on the same handle. specialpool.txt contains the debugger output with Session Pool enabled, crash.txt the debugger output without Session Pool.

Proof of Concept:
https://github.com/offensive-security/exploitdb-bin-sploits/raw/master/bin-sploits/38266.zip