{"id":"CVE-2023-53077","summary":"drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes","details":"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.","modified":"2026-04-11T12:46:40.541084Z","published":"2025-05-02T15:55:27.613Z","related":["SUSE-SU-2025:01918-1","SUSE-SU-2025:01966-1","SUSE-SU-2025:02173-1","SUSE-SU-2025:02262-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53077.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/031f196d1b1b6d5dfcb0533b431e3ab1750e6189"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7257070be70e19a9138f39009c1a26c83a8a7cfa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a16394b5d661afec9a264fecac3abd87aea439ea"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bec1bea2fa974e63f6059c33edde669c7894d0bc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e12b95680821b9880cd9992c0f3555389363604f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53077.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53077"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6725a88f88a7e922e91c45bf83d320487810c192"},{"fixed":"7257070be70e19a9138f39009c1a26c83a8a7cfa"},{"fixed":"bec1bea2fa974e63f6059c33edde669c7894d0bc"},{"fixed":"a16394b5d661afec9a264fecac3abd87aea439ea"},{"fixed":"e12b95680821b9880cd9992c0f3555389363604f"},{"fixed":"031f196d1b1b6d5dfcb0533b431e3ab1750e6189"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53077.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.9.0"},{"fixed":"5.10.176"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.104"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.21"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.2.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53077.json"}}],"schema_version":"1.7.5"}