Proof of concept code for a denial of service vulnerability in the AMD display driver that corrupts the display.
This video contains flashing lights!
demo.mp4
- Clang:
clang++ main.cpp -Oz -luser32 -ld3d11 -ld3dcompiler -o out/CVE-2023-31320.exe
- GCC:
g++ main.cpp -Oz -municode -luser32 -ld3d11 -ld3dcompiler -o out/CVE-2023-31320.exe
- MSVC++:
cl main.cpp /O1 /Foout/ /link user32.lib d3d11.lib d3dcompiler.lib /out:out/CVE-2023-31320.exe