一、 漏洞 CVE-2022-21546 基础信息
漏洞信息
                                        # SCSI:目标:修复WRITE_SAME无数据缓冲区崩溃问题

## 漏洞概述
在SBC规格的新版本中,引入了一个NDOB位,用于指示没有数据缓冲区被写入。如果使用如“sg_write_same --ndob”之类的命令设置该位,将会导致在`target_core_iblock/file`的`execute_write_same`处理程序中访问`se_cmd->t_data_sg`时崩溃,因为此时`se_cmd->t_data_sg`为`NULL`。

## 影响版本
尚未指定具体影响的版本。

## 漏洞细节
当使用`sg_write_same --ndob`命令设置NDOB位时,内核在尝试访问`se_cmd->t_data_sg`时会由于其值为`NULL`而导致崩溃。这一问题出现在`target_core_iblock/file`的`execute_write_same`处理程序中。

## 影响
该漏洞可能导致系统崩溃。根据CVSS 3.1基础评分7.7,此漏洞主要影响系统的可用性。CVSS Vector为(CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H)。
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
scsi: target: Fix WRITE_SAME No Data Buffer crash
来源:美国国家漏洞数据库 NVD
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved: scsi: target: Fix WRITE_SAME No Data Buffer crash In newer version of the SBC specs, we have a NDOB bit that indicates there is no data buffer that gets written out. If this bit is set using commands like "sg_write_same --ndob" we will crash in target_core_iblock/file's execute_write_same handlers when we go to access the se_cmd->t_data_sg because its NULL. This patch adds a check for the NDOB bit in the common WRITE SAME code because we don't support it. And, it adds a check for zero SG elements in each handler in case the initiator tries to send a normal WRITE SAME with no data buffer.
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
N/A
来源:美国国家漏洞数据库 NVD
漏洞标题
Linux kernel 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于未处理NDOB位,可能导致拒绝服务攻击。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2022-21546 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2022-21546 的情报信息