CVE-2023-53077

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

published May 2, 2025

CVSS
—
EPSS
0%
Percentile
10.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00212 · 10.9th percentile
Published
2025-05-02T15:55Z
EPSS history
Timeline
  • 02 MAY 15:55Z
    drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes
    cvelistv5