一、 漏洞 CVE-2023-53039 基础信息
漏洞信息
                                        # HID:intel-ish-hid:ipc:修复工作函数中潜在的使用后释放漏洞

## 概述
在Linux内核中修复了一个潜在的use-after-free漏洞,该漏洞发生在接收reset notify IPC消息时。当ISR调度工作函数并通过全局指针`ishtp_dev`传递ISHTP设备时,如果`ish_probe()`失败,会导致设备资源被释放,但工作函数未被取消,从而引发use-after-free问题。

## 影响版本
未具体提及受影响的版本,但适用于包含相关代码的Linux内核版本。

## 细节
当接收reset notify IPC消息时,中断服务例程(ISR)会调度一个工作函数,并通过全局指针`ishtp_dev`传递ISHTP设备。如果`ish_probe()`函数失败,使用`devm-managed`管理的设备资源(包括`ishtp_dev`)会被释放,但工作函数未被取消。这会导致工作函数尝试访问已释放的`ishtp_dev`资源,从而引发use-after-free漏洞。为解决此问题,使用`devm_work_autocancel()`自动取消工作函数,确保在探测失败时工作被自动取消。

## 影响
此漏洞可能导致系统不稳定,例如系统崩溃或非法内存访问,从而造成安全风险。
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
HID: intel-ish-hid: ipc: Fix potential use-after-free in work function
来源:美国国家漏洞数据库 NVD
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved: HID: intel-ish-hid: ipc: Fix potential use-after-free in work function When a reset notify IPC message is received, the ISR schedules a work function and passes the ISHTP device to it via a global pointer ishtp_dev. If ish_probe() fails, the devm-managed device resources including ishtp_dev are freed, but the work is not cancelled, causing a use-after-free when the work function tries to access ishtp_dev. Use devm_work_autocancel() instead, so that the work is automatically cancelled if probe fails.
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
N/A
来源:美国国家漏洞数据库 NVD
漏洞标题
Linux kernel 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于intel-ish-hid驱动未正确取消工作队列,可能导致释放后重用。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2023-53039 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2023-53039 的情报信息