一、 漏洞 CVE-2023-53077 基础信息
漏洞信息
                                        #  drm/amd/display:修复 CalculateVMAndRowBytes 中的移位越界问题

## 漏洞概述
在Linux内核中的drm/amd/display模块中,修复了一个在`CalculateVMAndRowBytes`函数中的移位越界问题。

## 影响版本
未具体提及受影响的Linux内核版本。

## 细节
当`PTEBufferSizeInRequests`为零时,UBSAN(Undefined Behavior Sanitizer)会报告以下警告,因为`dml_log2`返回了一个意外的负值:
```plaintext
shift exponent 4294966273 is too large for 32-bit type 'int'
```

## 影响
在`PTEBufferSizeInRequests`为零的情况下,绕过`dml_log2()`函数直接赋值结果。
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes
来源:美国国家漏洞数据库 NVD
漏洞描述信息
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.
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
N/A
来源:美国国家漏洞数据库 NVD
漏洞标题
Linux kernel 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于CalculateVMAndRowBytes中存在移位越界。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2023-53077 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2023-53077 的情报信息