漏洞标题
AMD显示驱动程序缺少输入验证漏洞CVE-2021-28779
漏洞描述信息
在Linux内核中,已修复以下漏洞:
drm/amd/display: 在amdgpu_dm_update_cursor(v2)中为'afb'添加空指针检查
此提交在amdgpu_dm_update_cursor函数中为'afb'变量添加了空指针检查。之前,'afb'在第8388行被假设为NULL,但在后续代码中使用时没有进行空指针检查。这可能导致空指针解引用问题。
自v1以来的变更:
- 将'afb'的空指针检查移到使用'afb'的代码行处。(Alex)
修复了以下问题:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:8433 amdgpu_dm_update_cursor()
错误:我们之前假设'afb'可能是NULL(参见第8388行)
CVSS信息
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
漏洞类别
空指针解引用
漏洞标题
drm/amd/display: Add null check for 'afb' in amdgpu_dm_update_cursor (v2)
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Add null check for 'afb' in amdgpu_dm_update_cursor (v2)
This commit adds a null check for the 'afb' variable in the
amdgpu_dm_update_cursor function. Previously, 'afb' was assumed to be
null at line 8388, but was used later in the code without a null check.
This could potentially lead to a null pointer dereference.
Changes since v1:
- Moved the null check for 'afb' to the line where 'afb' is used. (Alex)
Fixes the below:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:8433 amdgpu_dm_update_cursor()
error: we previously assumed 'afb' could be null (see line 8388)
CVSS信息
N/A
漏洞类别
N/A
漏洞标题
Linux kernel 安全漏洞
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于drm/amd/display模块amdgpu_dm_update_cursor函数中未检查afb变量的空值问题。
CVSS信息
N/A
漏洞类别
其他