Linux · Linux Kernel · CVE-2022-49203
**Name of the Vulnerable Software and Affected Versions**
Linux kernel (affected versions not specified)
**Description**
A double free issue occurs during the GPU reset code path in the Linux kernel. This happens because the link encoder assignments are not properly cleared after a GPU reset, resulting in a double free and eventually a NULL pointer dereference. The issue arises when the DC requires the link encoder assignments to remain cleared prior to committing, but the backup still contains valid assignments.
**Recommendations**
To resolve this issue, update the Linux kernel to a version that includes the fix for the double free during GPU reset on DC streams. Specifically, the fix involves not retaining the backed-up assignment and instead copying the current state assignment after the reset has occurred using the new link enc cfg copy() interface.