CVE-2023-53077

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

12 Nov 2025, 20:49

Type Values Removed Values Added
First Time Linux
Linux linux Kernel
References () https://git.kernel.org/stable/c/031f196d1b1b6d5dfcb0533b431e3ab1750e6189 - () https://git.kernel.org/stable/c/031f196d1b1b6d5dfcb0533b431e3ab1750e6189 - Patch
References () https://git.kernel.org/stable/c/7257070be70e19a9138f39009c1a26c83a8a7cfa - () https://git.kernel.org/stable/c/7257070be70e19a9138f39009c1a26c83a8a7cfa - Patch
References () https://git.kernel.org/stable/c/a16394b5d661afec9a264fecac3abd87aea439ea - () https://git.kernel.org/stable/c/a16394b5d661afec9a264fecac3abd87aea439ea - Patch
References () https://git.kernel.org/stable/c/bec1bea2fa974e63f6059c33edde669c7894d0bc - () https://git.kernel.org/stable/c/bec1bea2fa974e63f6059c33edde669c7894d0bc - Patch
References () https://git.kernel.org/stable/c/e12b95680821b9880cd9992c0f3555389363604f - () https://git.kernel.org/stable/c/e12b95680821b9880cd9992c0f3555389363604f - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CWE CWE-787

05 May 2025, 20:54

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amd/display: corregir desplazamiento fuera de los límites en CalculateVMAndRowBytes [POR QUÉ] Cuando PTEBufferSizeInRequests es cero, UBSAN informa la siguiente advertencia porque dml_log2 devuelve un valor negativo inesperado: el exponente de desplazamiento 4294966273 es demasiado grande para el tipo de 32 bits 'int' [CÓMO] En el caso de que PTEBufferSizeInRequests sea cero, omita dml_log2() y asigne el resultado directamente.

02 May 2025, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-02 16:15

Updated : 2025-11-12 20:49


NVD link : CVE-2023-53077

Mitre link : CVE-2023-53077

CVE.ORG link : CVE-2023-53077


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-787

Out-of-bounds Write