CVE-2023-53077

Severity CVSS v4.0:
Pending analysis
Type:
CWE-787 Out-of-bounds Write
Publication date:
02/05/2025
Last modified:
12/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes<br /> <br /> [WHY]<br /> When PTEBufferSizeInRequests is zero, UBSAN reports the following<br /> warning because dml_log2 returns an unexpected negative value:<br /> <br /> shift exponent 4294966273 is too large for 32-bit type &amp;#39;int&amp;#39;<br /> <br /> [HOW]<br /> <br /> In the case PTEBufferSizeInRequests is zero, skip the dml_log2() and<br /> assign the result directly.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.9 (including) 5.10.176 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.104 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 6.1.21 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.2.8 (excluding)