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

目标: 1000 元 · 已筹: 1336

100%

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

AI 预测 5.3 利用难度: 中等 EPSS 0.17% · P7

影响版本矩阵 8

厂商产品版本范围状态
LinuxLinux5f08318f617b05b6ee389d8bd174c7af921ebf19< e8a5988a85c719ce7205cb00dcf0716dcf611332affected
5f08318f617b05b6ee389d8bd174c7af921ebf19< b85f751d71ae8e2a15e9bda98852ea9af35282ebaffected
5f08318f617b05b6ee389d8bd174c7af921ebf19< 349d43127dac00c15231e8ffbcaabd70f7b0e544affected
4.11affected
< 4.11unaffected
5.10.90≤ 5.10.*unaffected
5.15.13≤ 5.15.*unaffected
5.16≤ *unaffected
获取后续新漏洞提醒登录后订阅

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

漏洞信息

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

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

Vulnerability Title
net/smc: fix kernel panic caused by race of smc_sock
来源: 美国国家漏洞数据库 NVD
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: net/smc: fix kernel panic caused by race of smc_sock A crash occurs when smc_cdc_tx_handler() tries to access smc_sock but smc_release() has already freed it. [ 4570.695099] BUG: unable to handle page fault for address: 000000002eae9e88 [ 4570.696048] #PF: supervisor write access in kernel mode [ 4570.696728] #PF: error_code(0x0002) - not-present page [ 4570.697401] PGD 0 P4D 0 [ 4570.697716] Oops: 0002 [#1] PREEMPT SMP NOPTI [ 4570.698228] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.16.0-rc4+ #111 [ 4570.699013] Hardware name: Alibaba Cloud Alibaba Cloud ECS, BIOS 8c24b4c 04/0 [ 4570.699933] RIP: 0010:_raw_spin_lock+0x1a/0x30 <...> [ 4570.711446] Call Trace: [ 4570.711746] <IRQ> [ 4570.711992] smc_cdc_tx_handler+0x41/0xc0 [ 4570.712470] smc_wr_tx_tasklet_fn+0x213/0x560 [ 4570.712981] ? smc_cdc_tx_dismisser+0x10/0x10 [ 4570.713489] tasklet_action_common.isra.17+0x66/0x140 [ 4570.714083] __do_softirq+0x123/0x2f4 [ 4570.714521] irq_exit_rcu+0xc4/0xf0 [ 4570.714934] common_interrupt+0xba/0xe0 Though smc_cdc_tx_handler() checked the existence of smc connection, smc_release() may have already dismissed and released the smc socket before smc_cdc_tx_handler() further visits it. smc_cdc_tx_handler() |smc_release() if (!conn) | | |smc_cdc_tx_dismiss_slots() | smc_cdc_tx_dismisser() | |sock_put(&smc->sk) <- last sock_put, | smc_sock freed bh_lock_sock(&smc->sk) (panic) | To make sure we won't receive any CDC messages after we free the smc_sock, add a refcount on the smc_connection for inflight CDC message(posted to the QP but haven't received related CQE), and don't release the smc_connection until all the inflight CDC messages haven been done, for both success or failed ones. Using refcount on CDC messages brings another problem: when the link is going to be destroyed, smcr_link_clear() will reset the QP, which then remove all the pending CQEs related to the QP in the CQ. To make sure all the CQEs will always come back so the refcount on the smc_connection can always reach 0, smc_ib_modify_qp_reset() was replaced by smc_ib_modify_qp_error(). And remove the timeout in smc_wr_tx_wait_no_pending_sends() since we need to wait for all pending WQEs done, or we may encounter use-after- free when handling CQEs. For IB device removal routine, we need to wait for all the QPs on that device been destroyed before we can destroy CQs on the device, or the refcount on smc_connection won't reach 0 and smc_sock cannot be released.
来源: 美国国家漏洞数据库 NVD
CVSS Information
N/A
来源: 美国国家漏洞数据库 NVD
Vulnerability Type
N/A
来源: 美国国家漏洞数据库 NVD
Vulnerability Title
Linux kernel 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于 smc_sock 竞争,导致内核恐慌。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
LinuxLinux 5f08318f617b05b6ee389d8bd174c7af921ebf19 ~ e8a5988a85c719ce7205cb00dcf0716dcf611332 -
LinuxLinux 4.11 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2021-46925 其他参考 (3)

同批安全公告 · Linux · 2024-02-27 · 共 67 条

CVE-2021-46951Linux kernel 安全漏洞
CVE-2021-46971Linux kernel 安全漏洞
CVE-2021-46970Linux kernel 安全漏洞
CVE-2021-46969Linux kernel 安全漏洞
CVE-2021-46957Linux kernel 安全漏洞
CVE-2021-46956Linux kernel 安全漏洞
CVE-2021-46955Linux kernel 安全漏洞
CVE-2021-46954Linux kernel 安全漏洞
CVE-2021-46953Linux kernel 安全漏洞
CVE-2021-46952Linux kernel 安全漏洞
CVE-2021-46958Linux kernel 安全漏洞
CVE-2021-46950Linux kernel 安全漏洞
CVE-2021-46949Linux kernel 安全漏洞
CVE-2021-46948Linux kernel 安全漏洞
CVE-2021-46947Linux kernel 安全漏洞
CVE-2021-46945Linux kernel 安全漏洞
CVE-2021-46944Linux kernel 安全漏洞
CVE-2021-46943Linux kernel 安全漏洞
CVE-2021-46942Linux kernel 安全漏洞
CVE-2021-46941Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2021-46925

暂无评论


发表评论