In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Avoid divide by zero by initializing dummy pitch to 1
[Why]
If the dummy values in populate_dummy_dml_surface_cfg() aren't updated
then they can lead to a divide by zero in downstream callers like
CalculateVMAndRowBytes()
[How] Initialize dummy value to a value to avoid divide by zero.
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"94592526923846798497166763041367183019",
"279485376165438043742549601872240206669",
"87726133022348842971338441679822327391",
"259966504243741148125402096845684547344"
]
},
"id": "CVE-2025-38205-0acdd405",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7e40f64896e8e3dca471e287672db5ace12ea0be",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.c"
},
"signature_type": "Line"
},
{
"digest": {
"function_hash": "276062240289445421076298570742662850240",
"length": 909.0
},
"id": "CVE-2025-38205-17460437",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7e40f64896e8e3dca471e287672db5ace12ea0be",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "populate_dummy_dml_surface_cfg",
"file": "drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.c"
},
"signature_type": "Function"
},
{
"digest": {
"function_hash": "276062240289445421076298570742662850240",
"length": 909.0
},
"id": "CVE-2025-38205-7510ad1b",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8044f981b2cf8c32fe1bd5d1fc991552cdf7ffe0",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "populate_dummy_dml_surface_cfg",
"file": "drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.c"
},
"signature_type": "Function"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"94592526923846798497166763041367183019",
"279485376165438043742549601872240206669",
"87726133022348842971338441679822327391",
"259966504243741148125402096845684547344"
]
},
"id": "CVE-2025-38205-b6d72bdc",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8044f981b2cf8c32fe1bd5d1fc991552cdf7ffe0",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.c"
},
"signature_type": "Line"
}
]