CVE-2023-53077

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

HIGH
7.8
CVSS Score
Published: May 2, 2025 at 03:55 PM UTC
Updated: June 17, 2026 at 06:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1045.16 ≤ v < 6.1.215.9 ≤ v < 5.10.1765.9 ≤ v < 5.15.1045.9 ≤ v < 6.1.215.9 ≤ v < 6.2.85.9 ≤ v < 6.36.2 ≤ v < 6.2.85.96725a88f88a7e922e91c45bf83d320487810c192
Vendor states this is fixed in 031f196d1b1b6d5dfcb0533b431e3ab1750e6189 (fixed)
Vendor states this is fixed in 7257070be70e19a9138f39009c1a26c83a8a7cfa (fixed)
Vendor states this is fixed in a16394b5d661afec9a264fecac3abd87aea439ea (fixed)
Vendor states this is fixed in bec1bea2fa974e63f6059c33edde669c7894d0bc (fixed)
Vendor states this is fixed in e12b95680821b9880cd9992c0f3555389363604f (fixed)
Vendor states this is fixed in 5.10.176 (unaffected)
Vendor states this is fixed in 5.15.104 (unaffected)
Vendor states this is fixed in 5.9 (unaffected)
Vendor states this is fixed in 6.1.21 (unaffected)
Vendor states this is fixed in 6.2.8 (unaffected)
Vendor states this is fixed in 6.3 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/031f196d1b1b6d5dfcb0533b431e3ab1750e6189
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7257070be70e19a9138f39009c1a26c83a8a7cfa
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a16394b5d661afec9a264fecac3abd87aea439ea
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bec1bea2fa974e63f6059c33edde669c7894d0bc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e12b95680821b9880cd9992c0f3555389363604f

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card