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

目标: 1000 元 · 已筹: 1359 元

100%

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

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于部分映射操作失败时未正确处理授权状态,可能导致授权泄露。

AI 预测 5.5 利用难度: 中等 EPSS 0.16% · P5

影响版本矩阵 28

厂商产品 版本范围状态
Linux Linux 36cd49b071fceca70326d9db786aa15e9fffd677< b043f2cab100bed3e0a999dcf38cc05b1e4a7e41 affected
2fe26a9a70482bea7827803fdec98050fec68b20< 49bb053b1ec367b6883030eb2cca696e91435679 affected
73e9e72247b98da65bc32d41a961e820cca5f503< cb1ccfe7655380f77a58b340072f5f40bc285902 affected
ee25841221c17228cbd30262a90f3b03ad80cdf6< 3d056d81b93a787613eda44aeb21fc14c3392b34 affected
79963021fd718b74bed4cbc98f5f49d3ba6fb48c< 49db6cb81400ba863e1a85e55fcdf1031807c23f affected
87a54feba68f5e47925c8e49100db9b2a8add761< 1cb73704cb4778299609634a790a80daba582f7d affected
dbe97cff7dd9f0f75c524afdd55ad46be3d15295< 0bccddd9b8f03ad57bb738f0d3da8845d4e1e579 affected
dbe97cff7dd9f0f75c524afdd55ad46be3d15295< 273f6a4f71be12e2ec80a4919837d6e4fa933a04 affected
… +20 条更多
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
xen/gntdev: Prevent leaking grants
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: xen/gntdev: Prevent leaking grants Prior to this commit, if a grant mapping operation failed partially, some of the entries in the map_ops array would be invalid, whereas all of the entries in the kmap_ops array would be valid. This in turn would cause the following logic in gntdev_map_grant_pages to become invalid: for (i = 0; i < map->count; i++) { if (map->map_ops[i].status == GNTST_okay) { map->unmap_ops[i].handle = map->map_ops[i].handle; if (!use_ptemod) alloced++; } if (use_ptemod) { if (map->kmap_ops[i].status == GNTST_okay) { if (map->map_ops[i].status == GNTST_okay) alloced++; map->kunmap_ops[i].handle = map->kmap_ops[i].handle; } } } ... atomic_add(alloced, &map->live_grants); Assume that use_ptemod is true (i.e., the domain mapping the granted pages is a paravirtualized domain). In the code excerpt above, note that the "alloced" variable is only incremented when both kmap_ops[i].status and map_ops[i].status are set to GNTST_okay (i.e., both mapping operations are successful). However, as also noted above, there are cases where a grant mapping operation fails partially, breaking the assumption of the code excerpt above. The aforementioned causes map->live_grants to be incorrectly set. In some cases, all of the map_ops mappings fail, but all of the kmap_ops mappings succeed, meaning that live_grants may remain zero. This in turn makes it impossible to unmap the successfully grant-mapped pages pointed to by kmap_ops, because unmap_grant_pages has the following snippet of code at its beginning: if (atomic_read(&map->live_grants) == 0) return; /* Nothing to do */ In other cases where only some of the map_ops mappings fail but all kmap_ops mappings succeed, live_grants is made positive, but when the user requests unmapping the grant-mapped pages, __unmap_grant_pages_done will then make map->live_grants negative, because the latter function does not check if all of the pages that were requested to be unmapped were actually unmapped, and the same function unconditionally subtracts "data->count" (i.e., a value that can be greater than map->live_grants) from map->live_grants. The side effects of a negative live_grants value have not been studied. The net effect of all of this is that grant references are leaked in one of the above conditions. In Qubes OS v4.1 (which uses Xen's grant mechanism extensively for X11 GUI isolation), this issue manifests itself with warning messages like the following to be printed out by the Linux kernel in the VM that had granted pages (that contain X11 GUI window data) to dom0: "g.e. 0x1234 still pending", especially after the user rapidly resizes GUI VM windows (causing some grant-mapping operations to partially or completely fail, due to the fact that the VM unshares some of the pages as part of the window resizing, making the pages impossible to grant-map from dom0). The fix for this issue involves counting all successful map_ops and kmap_ops mappings separately, and then adding the sum to live_grants. During unmapping, only the number of successfully unmapped grants is subtracted from live_grants. The code is also modified to check for negative live_grants values after the subtraction and warn the user.
来源: 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 订阅
Linux Linux 36cd49b071fceca70326d9db786aa15e9fffd677 ~ b043f2cab100bed3e0a999dcf38cc05b1e4a7e41 -
Linux Linux 5.19 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

同批安全公告 · 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-53170 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53252 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-2022-50315 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53189 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53216 7.8 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2022-50257

暂无评论


发表评论