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 dcstatecopy_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)
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@874ff59cde8fc525112dda26b501a1bac17dde9f",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2024-53133-0a33637b",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/core/dc_state.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"313146515187745508713463837398812143863",
"16472314366998540671369822358923369568",
"45824725649934545346426062159168446887",
"269198068441286519086566220777903154665"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@874ff59cde8fc525112dda26b501a1bac17dde9f",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2024-53133-46f79a14",
"target": {
"function": "dc_state_create_copy",
"file": "drivers/gpu/drm/amd/display/dc/core/dc_state.c"
},
"digest": {
"length": 554.0,
"function_hash": "104738993133082541448522801607114285438"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6825cb07b79ffeb1d90ffaa7a1227462cdca34ae",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2024-53133-cbdb4be9",
"target": {
"function": "dc_state_create_copy",
"file": "drivers/gpu/drm/amd/display/dc/core/dc_state.c"
},
"digest": {
"length": 554.0,
"function_hash": "104738993133082541448522801607114285438"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6825cb07b79ffeb1d90ffaa7a1227462cdca34ae",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2024-53133-e54eb6c3",
"target": {
"file": "drivers/gpu/drm/amd/display/dc/core/dc_state.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"313146515187745508713463837398812143863",
"16472314366998540671369822358923369568",
"45824725649934545346426062159168446887",
"269198068441286519086566220777903154665"
]
},
"signature_type": "Line"
}
]