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

目标: 1000 元 · 已筹: 1336

100%

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

CVSS 7.8 · High EPSS 0.24% · P16

影响版本矩阵 8

厂商产品版本范围状态
LinuxLinuxe51060f08a61965c4dd91516d82fe90617152590< 9a085fa9b7d644a234465091e038c1911e1a4f2aaffected
e51060f08a61965c4dd91516d82fe90617152590< 03d884671572af8bcfbc9e63944c1021efce7589affected
e51060f08a61965c4dd91516d82fe90617152590< 305d568b72f17f674155a2a8275f865f207b3808affected
2.6.18affected
< 2.6.18unaffected
5.10.188≤ 5.10.*unaffected
5.14.10≤ 5.14.*unaffected
5.15≤ *unaffected
获取后续新漏洞提醒登录后订阅

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

漏洞信息

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

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

Vulnerability Title
RDMA/cma: Ensure rdma_addr_cancel() happens before issuing more requests
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/cma: Ensure rdma_addr_cancel() happens before issuing more requests The FSM can run in a circle allowing rdma_resolve_ip() to be called twice on the same id_priv. While this cannot happen without going through the work, it violates the invariant that the same address resolution background request cannot be active twice. CPU 1 CPU 2 rdma_resolve_addr(): RDMA_CM_IDLE -> RDMA_CM_ADDR_QUERY rdma_resolve_ip(addr_handler) #1 process_one_req(): for #1 addr_handler(): RDMA_CM_ADDR_QUERY -> RDMA_CM_ADDR_BOUND mutex_unlock(&id_priv->handler_mutex); [.. handler still running ..] rdma_resolve_addr(): RDMA_CM_ADDR_BOUND -> RDMA_CM_ADDR_QUERY rdma_resolve_ip(addr_handler) !! two requests are now on the req_list rdma_destroy_id(): destroy_id_handler_unlock(): _destroy_id(): cma_cancel_operation(): rdma_addr_cancel() // process_one_req() self removes it spin_lock_bh(&lock); cancel_delayed_work(&req->work); if (!list_empty(&req->list)) == true ! rdma_addr_cancel() returns after process_on_req #1 is done kfree(id_priv) process_one_req(): for #2 addr_handler(): mutex_lock(&id_priv->handler_mutex); !! Use after free on id_priv rdma_addr_cancel() expects there to be one req on the list and only cancels the first one. The self-removal behavior of the work only happens after the handler has returned. This yields a situations where the req_list can have two reqs for the same "handle" but rdma_addr_cancel() only cancels the first one. The second req remains active beyond rdma_destroy_id() and will use-after-free id_priv once it inevitably triggers. Fix this by remembering if the id_priv has called rdma_resolve_ip() and always cancel before calling it again. This ensures the req_list never gets more than one item in it and doesn't cost anything in the normal flow that never uses this strange error path.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
来源: 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存在安全漏洞,该漏洞源于内存释放后重用。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
LinuxLinux e51060f08a61965c4dd91516d82fe90617152590 ~ 9a085fa9b7d644a234465091e038c1911e1a4f2a -
LinuxLinux 2.6.18 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

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

同批安全公告 · Linux · 2024-05-21 · 共 361 条

CVE-2023-527329.8 CRITICALLinux kernel 安全漏洞
CVE-2023-527559.8 CRITICALLinux kernel 安全漏洞
CVE-2021-473789.8 CRITICALLinux kernel 安全漏洞
CVE-2021-473289.8 CRITICALLinux kernel 安全漏洞
CVE-2021-472329.8 CRITICALLinux kernel 安全漏洞
CVE-2023-527419.8 CRITICALLinux kernel 安全漏洞
CVE-2021-474279.8 CRITICALLinux kernel 安全漏洞
CVE-2023-527768.8 HIGHLinux kernel 安全漏洞
CVE-2021-473088.8 HIGHLinux kernel 安全漏洞
CVE-2023-528018.8 HIGHLinux kernel 安全漏洞
CVE-2023-527988.8 HIGHLinux kernel 安全漏洞
CVE-2021-473888.8 HIGHLinux kernel 安全漏洞
CVE-2021-473908.8 HIGHLinux kernel 安全漏洞
CVE-2023-528468.8 HIGHLinux kernel 安全漏洞
CVE-2023-527698.8 HIGHLinux kernel 安全漏洞
CVE-2023-527908.8 HIGHLinux kernel 安全漏洞
CVE-2021-472408.4 HIGHLinux kernel 安全漏洞
CVE-2021-473528.4 HIGHLinux kernel 安全漏洞
CVE-2023-528298.4 HIGHLinux kernel 安全漏洞
CVE-2021-472458.2 HIGHLinux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2021-47391

暂无评论


发表评论