Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Handle dml allocation failure to avoid crash [Why] In the case where a dml allocation fails for any reason, the current state's dml contexts would no longer be valid. Then subsequent calls dc_state_copy_internal would shallow copy invalid memory and if the new state was released, a double free would occur. [How] Reset dml pointers in new_state to NULL and avoid invalid pointer (cherry picked from commit bcafdc61529a48f6f06355d78eb41b3aeda5296c)
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected abd26a3252cbd1a3ae4e46d37596d176fe50b41a before 874ff59cde8fc525112dda26b501a1bac17dde9f; affected abd26a3252cbd1a3ae4e46d37596d176fe50b41a before 6825cb07b79ffeb1d90ffaa7a1227462cdca34ae; affected 2064f7529dfe0305d6fafda77fdf66701d428db5; affected 6.7.12 before 6.8 |
| Linux / Linux | affected 6.8; unaffected 0 before 6.8; unaffected 6.11.10 through 6.11.*; unaffected 6.12 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/874ff59cde8fc525112dda26b501a1bac17dde9f
- https://git.kernel.org/stable/c/6825cb07b79ffeb1d90ffaa7a1227462cdca34ae
ADP enrichment
No English description supplied.
No references supplied.