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

目标: 1000 元 · 已筹: 1336

100%

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

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于net:dsa:sja1105子系统中sja1105_init_l2_policing函数中的越界访问问题。

AI 预测 6.5 利用难度: 困难 EPSS 0.24% · P15

影响版本矩阵 8

厂商产品 版本范围状态
Linux Linux 38fbe91f2287c696f290d9115901aa435f7166a8< 5e88c6f4aaa70c542e59e5a9d2244bcc99cd245d affected
38fbe91f2287c696f290d9115901aa435f7166a8< 147f3e3d84054117ae6b9bf317ec4fda9f991192 affected
38fbe91f2287c696f290d9115901aa435f7166a8< f8bac7f9fdb0017b32157957ffffd490f95faa07 affected
5.14 affected
< 5.14 unaffected
5.15.83≤ 5.15.* unaffected
6.0.13≤ 6.0.* unaffected
6.1≤ * unaffected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
net: dsa: sja1105: avoid out of bounds access in sja1105_init_l2_policing()
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: net: dsa: sja1105: avoid out of bounds access in sja1105_init_l2_policing() The SJA1105 family has 45 L2 policing table entries (SJA1105_MAX_L2_POLICING_COUNT) and SJA1110 has 110 (SJA1110_MAX_L2_POLICING_COUNT). Keeping the table structure but accounting for the difference in port count (5 in SJA1105 vs 10 in SJA1110) does not fully explain the difference. Rather, the SJA1110 also has L2 ingress policers for multicast traffic. If a packet is classified as multicast, it will be processed by the policer index 99 + SRCPORT. The sja1105_init_l2_policing() function initializes all L2 policers such that they don't interfere with normal packet reception by default. To have a common code between SJA1105 and SJA1110, the index of the multicast policer for the port is calculated because it's an index that is out of bounds for SJA1105 but in bounds for SJA1110, and a bounds check is performed. The code fails to do the proper thing when determining what to do with the multicast policer of port 0 on SJA1105 (ds->num_ports = 5). The "mcast" index will be equal to 45, which is also equal to table->ops->max_entry_count (SJA1105_MAX_L2_POLICING_COUNT). So it passes through the check. But at the same time, SJA1105 doesn't have multicast policers. So the code programs the SHARINDX field of an out-of-bounds element in the L2 Policing table of the static config. The comparison between index 45 and 45 entries should have determined the code to not access this policer index on SJA1105, since its memory wasn't even allocated. With enough bad luck, the out-of-bounds write could even overwrite other valid kernel data, but in this case, the issue was detected using KASAN. Kernel log: sja1105 spi5.0: Probed switch chip: SJA1105Q ================================================================== BUG: KASAN: slab-out-of-bounds in sja1105_setup+0x1cbc/0x2340 Write of size 8 at addr ffffff880bd57708 by task kworker/u8:0/8 ... Workqueue: events_unbound deferred_probe_work_func Call trace: ... sja1105_setup+0x1cbc/0x2340 dsa_register_switch+0x1284/0x18d0 sja1105_probe+0x748/0x840 ... Allocated by task 8: ... sja1105_setup+0x1bcc/0x2340 dsa_register_switch+0x1284/0x18d0 sja1105_probe+0x748/0x840 ...
来源: 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存在安全漏洞,该漏洞源于net:dsa:sja1105子系统中sja1105_init_l2_policing函数中的越界访问问题。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 38fbe91f2287c696f290d9115901aa435f7166a8 ~ 5e88c6f4aaa70c542e59e5a9d2244bcc99cd245d -
Linux Linux 5.14 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2022-48980 补丁与修复 (3)

同批安全公告 · Linux · 2024-10-21 · 共 372 条

CVE-2024-50033 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2024-49855 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2024-47695 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-48985 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-49003 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2024-50043 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2024-50047 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2024-50046 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2024-49996 9.4 CRITICAL Linux kernel 安全漏洞
CVE-2024-47678 9.4 CRITICAL Linux kernel 安全漏洞
CVE-2022-48962 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-49950 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-49939 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-48967 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-48964 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-50029 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-49930 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-50041 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-49936 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-48954 8.8 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2022-48980

暂无评论


发表评论