一、 漏洞 CVE-2023-53049 基础信息
漏洞信息
                                        # usb:ucsi:修复ucsiConnector_CHANGE中的空指针引用(NULL指针解除引用)问题

## 漏洞概述
在Linux内核中,`ucsi_connector_change()`函数存在空指针解引用漏洞。当`ucsi_init()`失败时,`ucsi->connector`会被设置为NULL,但`ucsi_acpi`可能仍会生成事件,导致调用`ucsi_connector_change()`函数,从而解引用空指针。

## 影响版本
- Linux内核相关版本

## 漏洞细节
- 当`ucsi_init()`函数失败时,`ucsi->connector`会被设置为NULL。
- 但是由于`ucsi_acpi`仍然可能接收到事件,这些事件触发`ucsi.connector_change()`函数的调用,从而导致空指针解引用。

## 影响
- 通过在`ucsi_init()`成功后再设置`ucsi->ntfy`,防止在`ucsi->connector`为NULL时因无效事件调用`ucsi_connector_change()`函数,从而避免空指针解引用问题。
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
usb: ucsi: Fix NULL pointer deref in ucsi_connector_change()
来源:美国国家漏洞数据库 NVD
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved: usb: ucsi: Fix NULL pointer deref in ucsi_connector_change() When ucsi_init() fails, ucsi->connector is NULL, yet in case of ucsi_acpi we may still get events which cause the ucs_acpi code to call ucsi_connector_change(), which then derefs the NULL ucsi->connector pointer. Fix this by not setting ucsi->ntfy inside ucsi_init() until ucsi_init() has succeeded, so that ucsi_connector_change() ignores the events because UCSI_ENABLE_NTFY_CONNECTOR_CHANGE is not set in the ntfy mask.
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
N/A
来源:美国国家漏洞数据库 NVD
漏洞标题
Linux kernel 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于ucsi_connector_change函数未检查ucsi初始化状态,可能导致空指针取消引用。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2023-53049 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2023-53049 的情报信息