CVE-2023-53077

Source
https://cve.org/CVERecord?id=CVE-2023-53077
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53077.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53077
Downstream
Related
Published
2025-05-02T15:55:27.613Z
Modified
2026-03-12T03:27:58.208695Z
Summary
drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes

[WHY] When PTEBufferSizeInRequests is zero, UBSAN reports the following warning because dml_log2 returns an unexpected negative value:

shift exponent 4294966273 is too large for 32-bit type 'int'

[HOW]

In the case PTEBufferSizeInRequests is zero, skip the dml_log2() and assign the result directly.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53077.json"
}
References

Affected packages

Git / 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"