漏洞标题
drm/panfrost: 修复panfrost_mmu_map_fault_addr()中的错误路径
漏洞描述信息
在Linux内核中,已解决以下漏洞:
drm/panfrost: 修复panfrost_mmu_map_fault_addr()中的错误路径
主题:[补丁] drm/panfrost: 修复panfrost_mmu_map_fault_addr()中的错误路径
如果一些页面或sgt分配失败,我们不应该释放我们之前获取的页面引用,否则我们将导致get_pages()与put_pages()调用不平衡。相反,我们应该保持一切都原地不动,并让对象销毁时的BO释放函数处理额外的清理工作,或者让错误处理程序下次被调用时尝试再次执行。
CVSS信息
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
漏洞类别
不恰当的资源关闭或释放
漏洞标题
drm/panfrost: Fix the error path in panfrost_mmu_map_fault_addr()
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved:
drm/panfrost: Fix the error path in panfrost_mmu_map_fault_addr()
Subject: [PATCH] drm/panfrost: Fix the error path in
panfrost_mmu_map_fault_addr()
If some the pages or sgt allocation failed, we shouldn't release the
pages ref we got earlier, otherwise we will end up with unbalanced
get/put_pages() calls. We should instead leave everything in place
and let the BO release function deal with extra cleanup when the object
is destroyed, or let the fault handler try again next time it's called.
CVSS信息
N/A
漏洞类别
N/A
漏洞标题
Linux kernel 安全漏洞
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于存在错误路径。
CVSS信息
N/A
漏洞类别
其他