目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2021-47182— Linux kernel 安全漏洞

一分钟漏洞结论

影响对象
Linux Linux
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于函数scsi_mode_sense缓冲区长度处理不当,导致存在安全漏洞。

AI 预测 5.9 利用难度: 困难 EPSS 0.20% · P9

可能的 ATT&CK 技术 1 AI

T1564.008 · Email Hiding Rules

影响版本矩阵 6

厂商产品 版本范围状态
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< e15de347faf4a9f494cbd4e9a623d343dc1b5851 affected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2< 17b49bcbf8351d3dbe57204468ac34f033ed60bc affected
2.6.12 affected
< 2.6.12 unaffected
5.15.5≤ 5.15.* unaffected
5.16≤ * unaffected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2021-47182 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
scsi: core: Fix scsi_mode_sense() buffer length handling
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: scsi: core: Fix scsi_mode_sense() buffer length handling Several problems exist with scsi_mode_sense() buffer length handling: 1) The allocation length field of the MODE SENSE(10) command is 16-bits, occupying bytes 7 and 8 of the CDB. With this command, access to mode pages larger than 255 bytes is thus possible. However, the CDB allocation length field is set by assigning len to byte 8 only, thus truncating buffer length larger than 255. 2) If scsi_mode_sense() is called with len smaller than 8 with sdev->use_10_for_ms set, or smaller than 4 otherwise, the buffer length is increased to 8 and 4 respectively, and the buffer is zero filled with these increased values, thus corrupting the memory following the buffer. Fix these 2 problems by using put_unaligned_be16() to set the allocation length field of MODE SENSE(10) CDB and by returning an error when len is too small. Furthermore, if len is larger than 255B, always try MODE SENSE(10) first, even if the device driver did not set sdev->use_10_for_ms. In case of invalid opcode error for MODE SENSE(10), access to mode pages larger than 255 bytes are not retried using MODE SENSE(6). To avoid buffer length overflows for the MODE_SENSE(10) case, check that len is smaller than 65535 bytes. While at it, also fix the folowing: * Use get_unaligned_be16() to retrieve the mode data length and block descriptor length fields of the mode sense reply header instead of using an open coded calculation. * Fix the kdoc dbd argument explanation: the DBD bit stands for Disable Block Descriptor, which is the opposite of what the dbd argument description was.
来源: CVE Program / CVE List V5
CVSS Information
N/A
来源: CVE Program / CVE List V5
Vulnerability Type
N/A
来源: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于函数scsi_mode_sense缓冲区长度处理不当,导致存在安全漏洞。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 ~ e15de347faf4a9f494cbd4e9a623d343dc1b5851 -
Linux Linux 2.6.12 -

二、漏洞 CVE-2021-47182 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2021-47182 的情报信息

请登录查看更多情报信息。

CVE-2021-47182 其他参考 (2)

同批安全公告 · Linux · 2024-04-10 · 共 39 条

CVE-2021-47215 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2021-47183 8.8 HIGH Linux kernel 安全漏洞
CVE-2021-47184 8.8 HIGH Linux kernel 安全漏洞
CVE-2021-47203 8.8 HIGH Linux kernel 安全漏洞
CVE-2021-47189 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-47197 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-47196 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-47209 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-47194 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-26815 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-47200 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-47201 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-47188 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-47191 7.1 HIGH Linux kernel 安全漏洞
CVE-2021-47219 7.1 HIGH Linux kernel 安全漏洞
CVE-2021-47206 Linux kernel 安全漏洞
CVE-2021-47207 Linux kernel 安全漏洞
CVE-2021-47199 Linux kernel 安全漏洞
CVE-2021-47210 Linux kernel 安全漏洞
CVE-2021-47211 Linux kernel 安全漏洞

显示前 20 条,共 39 条。 查看全部 &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2021-47182

暂无评论


发表评论