{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-53077","id":"CVE-2023-53077","title":"drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes","description":"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 dm","descriptionLong":"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.","published":"2025-05-02T15:55:27.613Z","updated":"2026-11-07T02:30:41.793511057Z","reserved":"2025-05-02T15:51:43.549Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6725a88f88a7e922e91c45bf83d320487810c192","lessThan":"7257070be70e19a9138f39009c1a26c83a8a7cfa","status":"affected","versionType":"git"},{"version":"6725a88f88a7e922e91c45bf83d320487810c192","lessThan":"bec1bea2fa974e63f6059c33edde669c7894d0bc","status":"affected","versionType":"git"},{"version":"6725a88f88a7e922e91c45bf83d320487810c192","lessThan":"a16394b5d661afec9a264fecac3abd87aea439ea","status":"affected","versionType":"git"},{"version":"6725a88f88a7e922e91c45bf83d320487810c192","lessThan":"e12b95680821b9880cd9992c0f3555389363604f","status":"affected","versionType":"git"},{"version":"6725a88f88a7e922e91c45bf83d320487810c192","lessThan":"031f196d1b1b6d5dfcb0533b431e3ab1750e6189","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.9","status":"affected"},{"version":"0","lessThan":"5.9","status":"unaffected","versionType":"semver"},{"version":"5.10.176","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.104","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.21","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2.8","lessThanOrEqual":"6.2.*","status":"unaffected","versionType":"semver"},{"version":"6.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-787"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/7257070be70e19a9138f39009c1a26c83a8a7cfa","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/bec1bea2fa974e63f6059c33edde669c7894d0bc","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a16394b5d661afec9a264fecac3abd87aea439ea","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e12b95680821b9880cd9992c0f3555389363604f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/031f196d1b1b6d5dfcb0533b431e3ab1750e6189","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53077.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53077","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00212,"epssPercentile":0.11731,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-53077","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53077","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-53077","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-53077","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}