• 公告ID (KylinSec-SA-2024-4241)

摘要:

In the Linux kernel, the following vulnerability has been resolved:

drm/xe/vm: move xa_alloc to prevent UAF

Evil user can guess the next id of the vm before the ioctl completes and
then call vm destroy ioctl to trigger UAF since create ioctl is still
referencing the same vm. Move the xa_alloc all the way to the end to
prevent this.

v2:
- Rebase

(cherry picked from commit dcfd3971327f3ee92765154baebbaece833d3ca9)

安全等级: Low

公告ID: KylinSec-SA-2024-4241

发布日期: 2024年12月8日

关联CVE: CVE-2024-49865  

  • 详细介绍

1. 漏洞描述

   

In the Linux kernel, the following vulnerability has been resolved:

drm/xe/vm: move xa_alloc to prevent UAF

Evil user can guess the next id of the vm before the ioctl completes and
then call vm destroy ioctl to trigger UAF since create ioctl is still
referencing the same vm. Move the xa_alloc all the way to the end to
prevent this.

v2:
- Rebase

(cherry picked from commit dcfd3971327f3ee92765154baebbaece833d3ca9)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2024-49865 KY3.4-5 kernel Unaffected
CVE-2024-49865 KY3.5.3 kernel Unaffected
CVE-2024-49865 V6 kernel Unaffected

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2024-4240 下一篇:KylinSec-SA-2024-4242