Improper input validation in the GPU driver could allow an attacker to exploit a heap overflow potentially resulting in arbitrary code execution.
https://www.amd.com/en/resources/product-security/bulletin/AMD-SB-6018.html
https://www.amd.com/en/resources/product-security/bulletin/AMD-SB-5007.html