We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2023-53077

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



Description

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.

Reserved 2025-05-02 | Published 2025-05-02 | Updated 2025-05-04 | Assigner Linux

Product status

Default status
unaffected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7257070be70e19a9138f39009c1a26c83a8a7cfa
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before bec1bea2fa974e63f6059c33edde669c7894d0bc
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a16394b5d661afec9a264fecac3abd87aea439ea
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e12b95680821b9880cd9992c0f3555389363604f
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 031f196d1b1b6d5dfcb0533b431e3ab1750e6189
affected

Default status
affected

5.10.176
unaffected

5.15.104
unaffected

6.1.21
unaffected

6.2.8
unaffected

6.3
unaffected

References

git.kernel.org/...c/7257070be70e19a9138f39009c1a26c83a8a7cfa

git.kernel.org/...c/bec1bea2fa974e63f6059c33edde669c7894d0bc

git.kernel.org/...c/a16394b5d661afec9a264fecac3abd87aea439ea

git.kernel.org/...c/e12b95680821b9880cd9992c0f3555389363604f

git.kernel.org/...c/031f196d1b1b6d5dfcb0533b431e3ab1750e6189

cve.org (CVE-2023-53077)

nvd.nist.gov (CVE-2023-53077)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2023-53077

Support options

Helpdesk Chat, Email, Knowledgebase