{"id":"CVE-2023-53077","aliases":["CVE-2023-53077"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes\n\n[WHY]\nWhen PTEBufferSizeInRequests is zero, UBSAN reports the following\nwarning because dml_log2 returns an unexpected negative value:\n\n  shift exponent 4294966273 is too large for 32-bit type 'int'\n\n[HOW]\n\nIn the case PTEBufferSizeInRequests is zero, skip the dml_log2() and\nassign the result directly.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes\n\n[WHY]\nWhen PTEBufferSizeInRequests is zero, UBSAN reports the following\nwarning because dml_log2 returns an unexpected negative value:\n\n  shift exponent 4294966273 is too large for 32-bit type 'int'\n\n[HOW]\n\nIn the case PTEBufferSizeInRequests is zero, skip the dml_log2() and\nassign the result directly.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amd/display: corregir desplazamiento fuera de los límites en CalculateVMAndRowBytes [POR QUÉ] Cuando PTEBufferSizeInRequests es cero, UBSAN informa la siguiente advertencia porque dml_log2 devuelve un valor negativo inesperado: el exponente de desplazamiento 4294966273 es demasiado grande para el tipo de 32 bits 'int' [CÓMO] En el caso de que PTEBufferSizeInRequests sea cero, omita dml_log2() y asigne el resultado directamente.","source":"nvd"}],"published":"2025-05-02T15:55:27.613Z","modified":"2026-11-05T21:17:11.350Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"git","introduced":"6725a88f88a7e922e91c45bf83d320487810c192","fixed":"7257070be70e19a9138f39009c1a26c83a8a7cfa","status":"affected"},{"type":"git","introduced":"6725a88f88a7e922e91c45bf83d320487810c192","fixed":"bec1bea2fa974e63f6059c33edde669c7894d0bc","status":"affected"},{"type":"git","introduced":"6725a88f88a7e922e91c45bf83d320487810c192","fixed":"a16394b5d661afec9a264fecac3abd87aea439ea","status":"affected"},{"type":"git","introduced":"6725a88f88a7e922e91c45bf83d320487810c192","fixed":"e12b95680821b9880cd9992c0f3555389363604f","status":"affected"},{"type":"git","introduced":"6725a88f88a7e922e91c45bf83d320487810c192","fixed":"031f196d1b1b6d5dfcb0533b431e3ab1750e6189","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.9","status":"unaffected"},{"type":"semver","introduced":"5.10.176","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.104","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.21","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.8","lastAffected":"6.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.9","fixed":"5.10.176"},{"status":"affected","introduced":"5.11","fixed":"5.15.104"},{"status":"affected","introduced":"5.16","fixed":"6.1.21"},{"status":"affected","introduced":"6.2","fixed":"6.2.8"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/7257070be70e19a9138f39009c1a26c83a8a7cfa","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bec1bea2fa974e63f6059c33edde669c7894d0bc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a16394b5d661afec9a264fecac3abd87aea439ea","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e12b95680821b9880cd9992c0f3555389363604f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/031f196d1b1b6d5dfcb0533b431e3ab1750e6189","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:16:33.876Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53077","url":"https://www.cve.org/CVERecord?id=CVE-2023-53077","licence":"CVE Terms of Use","modified":"2026-11-05T20:20:59.137Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53077","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53077","licence":"Public domain","modified":"2026-11-05T21:17:11.350Z"}],"updatedAt":"2026-11-25T22:58:34.653Z","epss":{"score":0.00217,"percentile":0.12969,"date":"2026-12-01T12:00:22.000Z"}}