1. Home
  2. Vulnerabilities
  3. CVE-2023-53077

CVE-2023-53077

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

Published 2 May 2025 · modified 5 Nov 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 34/100

Summary

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.

Affected products and versions

Linux (5 line(s))
Linux
ProductVersionsFixed inSource
Linux 5.9 — CNA (vendor or assigner)
Linux kernel from 5.9 (included) to 5.10.176 (excluded) — NVD
Linux kernel from 5.11 (included) to 5.15.104 (excluded) — NVD
Linux kernel from 5.16 (included) to 6.1.21 (excluded) — NVD
Linux kernel from 6.2 (included) to 6.2.8 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Weakness
CWE-787 · Corruption mémoire

How this data is obtained and calculated