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

目标: 1000 元 · 已筹: 1336

100%

CVE-2024-50226— Linux kernel 安全漏洞

AI 预测 7.8 利用难度: 中等 EPSS 0.24% · P15

可能的 ATT&CK 技术 1AI

T1496 · Resource Hijacking

影响版本矩阵 8

厂商产品版本范围状态
LinuxLinux176baefb2eb5d7a3ddebe3ff803db1fce44574b5< 8e1b52c15c81106456437f8e49575040e489e355affected
176baefb2eb5d7a3ddebe3ff803db1fce44574b5< 78c8454fdce0eeee962be004eb6d99860c80dad1affected
176baefb2eb5d7a3ddebe3ff803db1fce44574b5< 101c268bd2f37e965a5468353e62d154db38838eaffected
6.0affected
< 6.0unaffected
6.6.60≤ 6.6.*unaffected
6.11.7≤ 6.11.*unaffected
6.12≤ *unaffected
获取后续新漏洞提醒登录后订阅

一、 漏洞 CVE-2024-50226 基础信息

漏洞信息

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

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

Vulnerability Title
cxl/port: Fix use-after-free, permit out-of-order decoder shutdown
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: cxl/port: Fix use-after-free, permit out-of-order decoder shutdown In support of investigating an initialization failure report [1], cxl_test was updated to register mock memory-devices after the mock root-port/bus device had been registered. That led to cxl_test crashing with a use-after-free bug with the following signature: cxl_port_attach_region: cxl region3: cxl_host_bridge.0:port3 decoder3.0 add: mem0:decoder7.0 @ 0 next: cxl_switch_uport.0 nr_eps: 1 nr_targets: 1 cxl_port_attach_region: cxl region3: cxl_host_bridge.0:port3 decoder3.0 add: mem4:decoder14.0 @ 1 next: cxl_switch_uport.0 nr_eps: 2 nr_targets: 1 cxl_port_setup_targets: cxl region3: cxl_switch_uport.0:port6 target[0] = cxl_switch_dport.0 for mem0:decoder7.0 @ 0 1) cxl_port_setup_targets: cxl region3: cxl_switch_uport.0:port6 target[1] = cxl_switch_dport.4 for mem4:decoder14.0 @ 1 [..] cxld_unregister: cxl decoder14.0: cxl_region_decode_reset: cxl_region region3: mock_decoder_reset: cxl_port port3: decoder3.0 reset 2) mock_decoder_reset: cxl_port port3: decoder3.0: out of order reset, expected decoder3.1 cxl_endpoint_decoder_release: cxl decoder14.0: [..] cxld_unregister: cxl decoder7.0: 3) cxl_region_decode_reset: cxl_region region3: Oops: general protection fault, probably for non-canonical address 0x6b6b6b6b6b6b6bc3: 0000 [#1] PREEMPT SMP PTI [..] RIP: 0010:to_cxl_port+0x8/0x60 [cxl_core] [..] Call Trace: <TASK> cxl_region_decode_reset+0x69/0x190 [cxl_core] cxl_region_detach+0xe8/0x210 [cxl_core] cxl_decoder_kill_region+0x27/0x40 [cxl_core] cxld_unregister+0x5d/0x60 [cxl_core] At 1) a region has been established with 2 endpoint decoders (7.0 and 14.0). Those endpoints share a common switch-decoder in the topology (3.0). At teardown, 2), decoder14.0 is the first to be removed and hits the "out of order reset case" in the switch decoder. The effect though is that region3 cleanup is aborted leaving it in-tact and referencing decoder14.0. At 3) the second attempt to teardown region3 trips over the stale decoder14.0 object which has long since been deleted. The fix here is to recognize that the CXL specification places no mandate on in-order shutdown of switch-decoders, the driver enforces in-order allocation, and hardware enforces in-order commit. So, rather than fail and leave objects dangling, always remove them. In support of making cxl_region_decode_reset() always succeed, cxl_region_invalidate_memregion() failures are turned into warnings. Crashing the kernel is ok there since system integrity is at risk if caches cannot be managed around physical address mutation events like CXL region destruction. A new device_for_each_child_reverse_from() is added to cleanup port->commit_end after all dependent decoders have been disabled. In other words if decoders are allocated 0->1->2 and disabled 1->2->0 then port->commit_end only decrements from 2 after 2 has been disabled, and it decrements all the way to zero since 1 was disabled previously.
来源: 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存在安全漏洞,该漏洞源于内存释放后重用。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
LinuxLinux 176baefb2eb5d7a3ddebe3ff803db1fce44574b5 ~ 8e1b52c15c81106456437f8e49575040e489e355 -
LinuxLinux 6.0 -

二、漏洞 CVE-2024-50226 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2024-50226 的情报信息

登录查看更多情报信息。

CVE-2024-50226 补丁与修复 (3)

同批安全公告 · Linux · 2024-11-09 · 共 49 条

CVE-2024-502158.1 HIGHLinux kernel 安全漏洞
CVE-2024-502257.8 HIGHLinux kernel 安全漏洞
CVE-2024-502177.8 HIGHLinux kernel 安全漏洞
CVE-2024-502217.8 HIGHLinux kernel 安全漏洞
CVE-2024-502627.8 HIGHLinux kernel 安全漏洞
CVE-2024-502617.8 HIGHLinux kernel 安全漏洞
CVE-2024-502467.8 HIGHLinux kernel 安全漏洞
CVE-2024-502307.8 HIGHLinux kernel 安全漏洞
CVE-2024-502537.8 HIGHLinux kernel 安全漏洞
CVE-2024-502377.8 HIGHLinux kernel 安全漏洞
CVE-2024-502507.8 HIGHLinux kernel 安全漏洞
CVE-2024-502357.8 HIGHLinux kernel 安全漏洞
CVE-2024-502567.5 HIGHLinux kernel 安全漏洞
CVE-2024-502417.5 HIGHLinux kernel 安全漏洞
CVE-2024-502477.3 HIGHLinux kernel 安全漏洞
CVE-2024-502487.1 HIGHLinux kernel 安全漏洞
CVE-2024-502577.0 HIGHLinux kernel 安全漏洞
CVE-2024-502227.0 HIGHLinux kernel 安全漏洞
CVE-2024-50245Linux kernel 安全漏洞
CVE-2024-50239Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-50226

暂无评论


发表评论