drm/amd/display: Avoid divide by zero by initializing dummy pitch to 1 (Linux Linux)

CVE-2025-38205
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 7966f319c66d9468623c6a6a017ecbc0dd79be75 < 03a3dbca3b8e55b88958ce1f54aaf678ded11c79 ; affected 7966f319c66d9468623c6a6a017ecbc0dd79be75 < 8044f981b2cf8c32fe1bd5d1fc991552cdf7ffe0 ; affected 7966f319c66d9468623c6a6a017ecbc0dd79be75 < 7e40f64896e8e3dca471e287672db5ace12ea0be
Linux · Linuxaffected 6.7 ; unaffected 0 < 6.7 ; unaffected 6.12.109 ≤ 6.12.* ; unaffected 6.15.4 ≤ 6.15.* ; unaffected 6.16 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD