CVE-2023-53077

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

State
Published
Severity
Not scored
Published
May 2, 2025
Updated
May 11, 2026
Reserved
May 2, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6725a88f88a7e922e91c45bf83d320487810c192 to before 7257070be70e19a9138f39009c1a26c83a8a7cfaAffected
  • 6725a88f88a7e922e91c45bf83d320487810c192 to before bec1bea2fa974e63f6059c33edde669c7894d0bcAffected
  • 6725a88f88a7e922e91c45bf83d320487810c192 to before a16394b5d661afec9a264fecac3abd87aea439eaAffected
  • 6725a88f88a7e922e91c45bf83d320487810c192 to before e12b95680821b9880cd9992c0f3555389363604fAffected
  • 6725a88f88a7e922e91c45bf83d320487810c192 to before 031f196d1b1b6d5dfcb0533b431e3ab1750e6189Affected
LinuxLinux
  • 5.9Affected
  • before 5.9Not affected
  • 5.10.176 through 5.10.*Not affected
  • 5.15.104 through 5.15.*Not affected
  • 6.1.21 through 6.1.*Not affected
  • 6.2.8 through 6.2.*Not affected
  • 6.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.