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

目标: 1000 元 · 已筹: 1336

100%

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

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于net:dsa:mv88e6xxx模块中发现使用devres问题。mdiobus_free函数在devm_mdiobus_free函数调用时可能会导致系统崩溃。

AI 预测 7.5 利用难度: 困难 EPSS 0.27% · P19

可能的 ATT&CK 技术 1 AI

T1499 · Endpoint Denial of Service

影响版本矩阵 10

厂商产品 版本范围状态
Linux Linux ac3a68d56651c3dad2c12c7afce065fe15267f44< 8ccebe77df6e0d88c72ba5e69cf1835927e53b6c affected
ac3a68d56651c3dad2c12c7afce065fe15267f44< 8b626d45127d6f5ada7d815b83cfdc09e8cb1394 affected
ac3a68d56651c3dad2c12c7afce065fe15267f44< 1b451c3994a2d322f8e55032c62c8b47b7d95900 affected
ac3a68d56651c3dad2c12c7afce065fe15267f44< f53a2ce893b2c7884ef94471f170839170a4eba0 affected
5.9 affected
< 5.9 unaffected
5.10.101≤ 5.10.* unaffected
5.15.24≤ 5.15.* unaffected
… +2 条更多
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
net: dsa: mv88e6xxx: don't use devres for mdiobus
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: net: dsa: mv88e6xxx: don't use devres for mdiobus As explained in commits: 74b6d7d13307 ("net: dsa: realtek: register the MDIO bus under devres") 5135e96a3dd2 ("net: dsa: don't allocate the slave_mii_bus using devres") mdiobus_free() will panic when called from devm_mdiobus_free() <- devres_release_all() <- __device_release_driver(), and that mdiobus was not previously unregistered. The mv88e6xxx is an MDIO device, so the initial set of constraints that I thought would cause this (I2C or SPI buses which call ->remove on ->shutdown) do not apply. But there is one more which applies here. If the DSA master itself is on a bus that calls ->remove from ->shutdown (like dpaa2-eth, which is on the fsl-mc bus), there is a device link between the switch and the DSA master, and device_links_unbind_consumers() will unbind the Marvell switch driver on shutdown. systemd-shutdown[1]: Powering off. mv88e6085 0x0000000008b96000:00 sw_gl0: Link is Down fsl-mc dpbp.9: Removing from iommu group 7 fsl-mc dpbp.8: Removing from iommu group 7 ------------[ cut here ]------------ kernel BUG at drivers/net/phy/mdio_bus.c:677! Internal error: Oops - BUG: 0 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 1 Comm: systemd-shutdow Not tainted 5.16.5-00040-gdc05f73788e5 #15 pc : mdiobus_free+0x44/0x50 lr : devm_mdiobus_free+0x10/0x20 Call trace: mdiobus_free+0x44/0x50 devm_mdiobus_free+0x10/0x20 devres_release_all+0xa0/0x100 __device_release_driver+0x190/0x220 device_release_driver_internal+0xac/0xb0 device_links_unbind_consumers+0xd4/0x100 __device_release_driver+0x4c/0x220 device_release_driver_internal+0xac/0xb0 device_links_unbind_consumers+0xd4/0x100 __device_release_driver+0x94/0x220 device_release_driver+0x28/0x40 bus_remove_device+0x118/0x124 device_del+0x174/0x420 fsl_mc_device_remove+0x24/0x40 __fsl_mc_device_remove+0xc/0x20 device_for_each_child+0x58/0xa0 dprc_remove+0x90/0xb0 fsl_mc_driver_remove+0x20/0x5c __device_release_driver+0x21c/0x220 device_release_driver+0x28/0x40 bus_remove_device+0x118/0x124 device_del+0x174/0x420 fsl_mc_bus_remove+0x80/0x100 fsl_mc_bus_shutdown+0xc/0x1c platform_shutdown+0x20/0x30 device_shutdown+0x154/0x330 kernel_power_off+0x34/0x6c __do_sys_reboot+0x15c/0x250 __arm64_sys_reboot+0x20/0x30 invoke_syscall.constprop.0+0x4c/0xe0 do_el0_svc+0x4c/0x150 el0_svc+0x24/0xb0 el0t_64_sync_handler+0xa8/0xb0 el0t_64_sync+0x178/0x17c So the same treatment must be applied to all DSA switch drivers, which is: either use devres for both the mdiobus allocation and registration, or don't use devres at all. The Marvell driver already has a good structure for mdiobus removal, so just plug in mdiobus_free and get rid of devres.
来源: 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:mv88e6xxx模块中发现使用devres问题。mdiobus_free函数在devm_mdiobus_free函数调用时可能会导致系统崩溃。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux ac3a68d56651c3dad2c12c7afce065fe15267f44 ~ 8ccebe77df6e0d88c72ba5e69cf1835927e53b6c -
Linux Linux 5.9 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2022-48818 补丁与修复 (1)

CVE-2022-48818 其他参考 (3)

同批安全公告 · Linux · 2024-07-16 · 共 98 条

CVE-2022-48788 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-48789 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-48790 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-48851 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-48829 9.1 CRITICAL Linux kernel 安全漏洞
CVE-2022-48828 9.1 CRITICAL Linux kernel 安全漏洞
CVE-2022-48830 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-48864 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-48782 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-48785 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-48796 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48847 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48822 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48839 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48816 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48801 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48792 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48791 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-48821 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-41008 7.8 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2022-48818

暂无评论


发表评论