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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2022-50315— Linux kernel 安全漏洞

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于EM_MAX_SLOTS与SATA_PMP_MAX_PORTS不匹配,可能导致数组越界访问。

CVSS 7.8 · High EPSS 0.17% · P6

可能的 ATT&CK 技术 1 AI

T1496 · Resource Hijacking

影响版本矩阵 18

厂商产品 版本范围状态
Linux Linux 18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee< f70bd4339cb68bc7e206af4c922bc0d249244403 affected
18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee< da2ea4a961d9f89ed248734e7032350c260dc3a3 affected
18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee< 67a00c299c5c143817c948fbc7de1a2fa1af38fb affected
18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee< 383b7c50f5445ff8dbbf03080905648d6980c39d affected
18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee< 303d0f761431d848dd8d7ff9fd9b8c101879cabe affected
18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee< 8fbe13de1cc7cef2564be3cbf60400b33eee023b affected
18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee< d6314d5f68764550c84d732ce901ddd3ac6b415f affected
18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee< 1e41e693f458eef2d5728207dbd327cd3b16580a affected
… +10 条更多
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2022-50315 基础信息

漏洞信息

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

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

Vulnerability Title
ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS UBSAN complains about array-index-out-of-bounds: [ 1.980703] kernel: UBSAN: array-index-out-of-bounds in /build/linux-9H675w/linux-5.15.0/drivers/ata/libahci.c:968:41 [ 1.980709] kernel: index 15 is out of range for type 'ahci_em_priv [8]' [ 1.980713] kernel: CPU: 0 PID: 209 Comm: scsi_eh_8 Not tainted 5.15.0-25-generic #25-Ubuntu [ 1.980716] kernel: Hardware name: System manufacturer System Product Name/P5Q3, BIOS 1102 06/11/2010 [ 1.980718] kernel: Call Trace: [ 1.980721] kernel: <TASK> [ 1.980723] kernel: show_stack+0x52/0x58 [ 1.980729] kernel: dump_stack_lvl+0x4a/0x5f [ 1.980734] kernel: dump_stack+0x10/0x12 [ 1.980736] kernel: ubsan_epilogue+0x9/0x45 [ 1.980739] kernel: __ubsan_handle_out_of_bounds.cold+0x44/0x49 [ 1.980742] kernel: ahci_qc_issue+0x166/0x170 [libahci] [ 1.980748] kernel: ata_qc_issue+0x135/0x240 [ 1.980752] kernel: ata_exec_internal_sg+0x2c4/0x580 [ 1.980754] kernel: ? vprintk_default+0x1d/0x20 [ 1.980759] kernel: ata_exec_internal+0x67/0xa0 [ 1.980762] kernel: sata_pmp_read+0x8d/0xc0 [ 1.980765] kernel: sata_pmp_read_gscr+0x3c/0x90 [ 1.980768] kernel: sata_pmp_attach+0x8b/0x310 [ 1.980771] kernel: ata_eh_revalidate_and_attach+0x28c/0x4b0 [ 1.980775] kernel: ata_eh_recover+0x6b6/0xb30 [ 1.980778] kernel: ? ahci_do_hardreset+0x180/0x180 [libahci] [ 1.980783] kernel: ? ahci_stop_engine+0xb0/0xb0 [libahci] [ 1.980787] kernel: ? ahci_do_softreset+0x290/0x290 [libahci] [ 1.980792] kernel: ? trace_event_raw_event_ata_eh_link_autopsy_qc+0xe0/0xe0 [ 1.980795] kernel: sata_pmp_eh_recover.isra.0+0x214/0x560 [ 1.980799] kernel: sata_pmp_error_handler+0x23/0x40 [ 1.980802] kernel: ahci_error_handler+0x43/0x80 [libahci] [ 1.980806] kernel: ata_scsi_port_error_handler+0x2b1/0x600 [ 1.980810] kernel: ata_scsi_error+0x9c/0xd0 [ 1.980813] kernel: scsi_error_handler+0xa1/0x180 [ 1.980817] kernel: ? scsi_unjam_host+0x1c0/0x1c0 [ 1.980820] kernel: kthread+0x12a/0x150 [ 1.980823] kernel: ? set_kthread_struct+0x50/0x50 [ 1.980826] kernel: ret_from_fork+0x22/0x30 [ 1.980831] kernel: </TASK> This happens because sata_pmp_init_links() initialize link->pmp up to SATA_PMP_MAX_PORTS while em_priv is declared as 8 elements array. I can't find the maximum Enclosure Management ports specified in AHCI spec v1.3.1, but "12.2.1 LED message type" states that "Port Multiplier Information" can utilize 4 bits, which implies it can support up to 16 ports. Hence, use SATA_PMP_MAX_PORTS as EM_MAX_SLOTS to resolve the issue. BugLink: https://bugs.launchpad.net/bugs/1970074
来源: 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存在安全漏洞,该漏洞源于EM_MAX_SLOTS与SATA_PMP_MAX_PORTS不匹配,可能导致数组越界访问。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 18f7ba4c2f4be6b37d925931f04d6cc28d88d1ee ~ f70bd4339cb68bc7e206af4c922bc0d249244403 -
Linux Linux 2.6.27 -

二、漏洞 CVE-2022-50315 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2022-50315 的情报信息

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

同批安全公告 · Linux · 2025-09-15 · 共 210 条

CVE-2022-50235 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-50335 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2023-53192 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2023-53253 8.8 HIGH Linux kernel 安全漏洞
CVE-2023-53226 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-50241 8.8 HIGH Linux kernel 安全漏洞
CVE-2023-53194 8.4 HIGH Linux kernel 安全漏洞
CVE-2023-53213 8.1 HIGH Linux kernel 安全漏洞
CVE-2023-53186 8.1 HIGH Linux kernel 安全漏洞
CVE-2022-50303 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53254 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53252 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53170 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53176 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53178 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53179 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53184 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53187 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-39800 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-50286 7.8 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2022-50315

暂无评论


发表评论