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

目标: 1000 元 · 已筹: 1359 元

100%

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

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于保留额外的IRQ向量。

AI 预测 6.5 利用难度: 中等 EPSS 0.22% · P12

可能的 ATT&CK 技术 1 AI

T1496 · Resource Hijacking

影响版本矩阵 8

厂商产品 版本范围状态
Linux Linux a6dcfe08487e5e83b6b4214c959a9577a9ed2d9f< 4ecd42dec858b6632c5f024fe13e9ad6c30f2734 affected
a6dcfe08487e5e83b6b4214c959a9577a9ed2d9f< 0f86d66b38501e3ac66cf2d9f9f8ad6838bad0e6 affected
a6dcfe08487e5e83b6b4214c959a9577a9ed2d9f< f02d4086a8f36a0e1aaebf559b54cf24a177a486 affected
5.11 affected
< 5.11 unaffected
5.11.20≤ 5.11.* unaffected
5.12.3≤ 5.12.* unaffected
5.13≤ * unaffected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
scsi: qla2xxx: Reserve extra IRQ vectors
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Reserve extra IRQ vectors Commit a6dcfe08487e ("scsi: qla2xxx: Limit interrupt vectors to number of CPUs") lowers the number of allocated MSI-X vectors to the number of CPUs. That breaks vector allocation assumptions in qla83xx_iospace_config(), qla24xx_enable_msix() and qla2x00_iospace_config(). Either of the functions computes maximum number of qpairs as: ha->max_qpairs = ha->msix_count - 1 (MB interrupt) - 1 (default response queue) - 1 (ATIO, in dual or pure target mode) max_qpairs is set to zero in case of two CPUs and initiator mode. The number is then used to allocate ha->queue_pair_map inside qla2x00_alloc_queues(). No allocation happens and ha->queue_pair_map is left NULL but the driver thinks there are queue pairs available. qla2xxx_queuecommand() tries to find a qpair in the map and crashes: if (ha->mqenable) { uint32_t tag; uint16_t hwq; struct qla_qpair *qpair = NULL; tag = blk_mq_unique_tag(cmd->request); hwq = blk_mq_unique_tag_to_hwq(tag); qpair = ha->queue_pair_map[hwq]; # <- HERE if (qpair) return qla2xxx_mqueuecommand(host, cmd, qpair); } BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 0 P4D 0 Oops: 0000 [#1] SMP PTI CPU: 0 PID: 72 Comm: kworker/u4:3 Tainted: G W 5.10.0-rc1+ #25 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.0.0-prebuilt.qemu-project.org 04/01/2014 Workqueue: scsi_wq_7 fc_scsi_scan_rport [scsi_transport_fc] RIP: 0010:qla2xxx_queuecommand+0x16b/0x3f0 [qla2xxx] Call Trace: scsi_queue_rq+0x58c/0xa60 blk_mq_dispatch_rq_list+0x2b7/0x6f0 ? __sbitmap_get_word+0x2a/0x80 __blk_mq_sched_dispatch_requests+0xb8/0x170 blk_mq_sched_dispatch_requests+0x2b/0x50 __blk_mq_run_hw_queue+0x49/0xb0 __blk_mq_delay_run_hw_queue+0xfb/0x150 blk_mq_sched_insert_request+0xbe/0x110 blk_execute_rq+0x45/0x70 __scsi_execute+0x10e/0x250 scsi_probe_and_add_lun+0x228/0xda0 __scsi_scan_target+0xf4/0x620 ? __pm_runtime_resume+0x4f/0x70 scsi_scan_target+0x100/0x110 fc_scsi_scan_rport+0xa1/0xb0 [scsi_transport_fc] process_one_work+0x1ea/0x3b0 worker_thread+0x28/0x3b0 ? process_one_work+0x3b0/0x3b0 kthread+0x112/0x130 ? kthread_park+0x80/0x80 ret_from_fork+0x22/0x30 The driver should allocate enough vectors to provide every CPU it's own HW queue and still handle reserved (MB, RSP, ATIO) interrupts. The change fixes the crash on dual core VM and prevents unbalanced QP allocation where nr_hw_queues is two less than the number of CPUs.
来源: 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 存在安全漏洞,该漏洞源于保留额外的IRQ向量。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux a6dcfe08487e5e83b6b4214c959a9577a9ed2d9f ~ 4ecd42dec858b6632c5f024fe13e9ad6c30f2734 -
Linux Linux 5.11 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2021-46964 其他参考 (1)

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

CVE-2021-46911 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2021-46955 8.2 HIGH Linux kernel 安全漏洞
CVE-2021-46936 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-46973 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-46913 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-46969 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-46967 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-46921 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-46925 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-46963 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-46929 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-46958 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-46933 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-46922 7.8 HIGH Linux kernel 安全漏洞
CVE-2021-46948 7.5 HIGH Linux kernel 安全漏洞
CVE-2021-46960 7.5 HIGH Linux kernel 安全漏洞
CVE-2021-46912 7.3 HIGH Linux kernel 安全漏洞
CVE-2021-46974 7.1 HIGH Linux kernel 安全漏洞
CVE-2021-46908 7.1 HIGH Linux kernel 安全漏洞
CVE-2021-46910 7.0 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2021-46964

暂无评论


发表评论