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

目标: 1000 元 · 已筹: 1359 元

100%

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

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于未正确处理VMA拆分,可能导致错误页面映射。

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

影响版本矩阵 12

厂商产品 版本范围状态
Linux Linux ab31523c2fcac557226bac72cbdf5fafe01f9a26< 3c6a888e352283a14f37b9b433cd598a1a3a7dd0 affected
ab31523c2fcac557226bac72cbdf5fafe01f9a26< 7c16d0a4e6a436b4e7c92bead3fab55aaa4c1141 affected
ab31523c2fcac557226bac72cbdf5fafe01f9a26< 4fb4053d90caa9985b87ec0e0c32c66a55bdfa3a affected
ab31523c2fcac557226bac72cbdf5fafe01f9a26< cdafa219ace013c594e2491158ad1b51f9923dde affected
ab31523c2fcac557226bac72cbdf5fafe01f9a26< 5c13a4a0291b30191eff9ead8d010e1ca43a4d0c affected
2.6.38 affected
< 2.6.38 unaffected
5.10.152≤ 5.10.* unaffected
… +4 条更多
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
xen/gntdev: Accommodate VMA splitting
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: xen/gntdev: Accommodate VMA splitting Prior to this commit, the gntdev driver code did not handle the following scenario correctly with paravirtualized (PV) Xen domains: * User process sets up a gntdev mapping composed of two grant mappings (i.e., two pages shared by another Xen domain). * User process munmap()s one of the pages. * User process munmap()s the remaining page. * User process exits. In the scenario above, the user process would cause the kernel to log the following messages in dmesg for the first munmap(), and the second munmap() call would result in similar log messages: BUG: Bad page map in process doublemap.test pte:... pmd:... page:0000000057c97bff refcount:1 mapcount:-1 \ mapping:0000000000000000 index:0x0 pfn:... ... page dumped because: bad pte ... file:gntdev fault:0x0 mmap:gntdev_mmap [xen_gntdev] readpage:0x0 ... Call Trace: <TASK> dump_stack_lvl+0x46/0x5e print_bad_pte.cold+0x66/0xb6 unmap_page_range+0x7e5/0xdc0 unmap_vmas+0x78/0xf0 unmap_region+0xa8/0x110 __do_munmap+0x1ea/0x4e0 __vm_munmap+0x75/0x120 __x64_sys_munmap+0x28/0x40 do_syscall_64+0x38/0x90 entry_SYSCALL_64_after_hwframe+0x61/0xcb ... For each munmap() call, the Xen hypervisor (if built with CONFIG_DEBUG) would print out the following and trigger a general protection fault in the affected Xen PV domain: (XEN) d0v... Attempt to implicitly unmap d0's grant PTE ... (XEN) d0v... Attempt to implicitly unmap d0's grant PTE ... As of this writing, gntdev_grant_map structure's vma field (referred to as map->vma below) is mainly used for checking the start and end addresses of mappings. However, with split VMAs, these may change, and there could be more than one VMA associated with a gntdev mapping. Hence, remove the use of map->vma and rely on map->pages_vm_start for the original start address and on (map->count << PAGE_SHIFT) for the original mapping size. Let the invalidate() and find_special_page() hooks use these. Also, given that there can be multiple VMAs associated with a gntdev mapping, move the "mmu_interval_notifier_remove(&map->notifier)" call to the end of gntdev_put_map, so that the MMU notifier is only removed after the closing of the last remaining VMA. Finally, use an atomic to prevent inadvertent gntdev mapping re-use, instead of using the map->live_grants atomic counter and/or the map->vma pointer (the latter of which is now removed). This prevents the userspace from mmap()'ing (with MAP_FIXED) a gntdev mapping over the same address range as a previously set up gntdev mapping. This scenario can be summarized with the following call-trace, which was valid prior to this commit: mmap gntdev_mmap mmap (repeat mmap with MAP_FIXED over the same address range) gntdev_invalidate unmap_grant_pages (sets 'being_removed' entries to true) gnttab_unmap_refs_async unmap_single_vma gntdev_mmap (maps the shared pages again) munmap gntdev_invalidate unmap_grant_pages (no-op because 'being_removed' entries are true) unmap_single_vma (For PV domains, Xen reports that a granted page is being unmapped and triggers a general protection fault in the affected domain, if Xen was built with CONFIG_DEBUG) The fix for this last scenario could be worth its own commit, but we opted for a single commit, because removing the gntdev_grant_map structure's vma field requires guarding the entry to gntdev_mmap(), and the live_grants atomic counter is not sufficient on its own to prevent the mmap() over a pre-existing mapping.
来源: 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存在安全漏洞,该漏洞源于未正确处理VMA拆分,可能导致错误页面映射。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux ab31523c2fcac557226bac72cbdf5fafe01f9a26 ~ 3c6a888e352283a14f37b9b433cd598a1a3a7dd0 -
Linux Linux 2.6.38 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2022-50471 补丁与修复 (5)

同批安全公告 · Linux · 2025-10-04 · 共 144 条

CVE-2025-39932 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-39948 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-39946 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-39933 9.4 CRITICAL Linux kernel 安全漏洞
CVE-2025-39943 9.4 CRITICAL Linux kernel 安全漏洞
CVE-2023-53600 9.1 CRITICAL Linux kernel 安全漏洞
CVE-2023-53615 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-39952 8.8 HIGH Linux kernel 安全漏洞
CVE-2023-53589 8.8 HIGH Linux kernel 安全漏洞
CVE-2023-53586 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-50493 8.8 HIGH Linux kernel 安全漏洞
CVE-2023-53598 8.4 HIGH Linux kernel 安全漏洞
CVE-2023-53566 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53536 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53560 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53559 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53557 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53537 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53539 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53545 7.8 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2022-50471

暂无评论


发表评论