中危 Xen 释放后重用漏洞(CVE-2022-42332)
CVE编号
CVE-2022-42332利用情况
暂无补丁情况
官方补丁披露时间
2023-03-21漏洞描述
x86 shadow plus log-dirty mode use-after-free In environments where host assisted address translation is necessary but Hardware Assisted Paging (HAP) is unavailable, Xen will run guests in so called shadow mode. Shadow mode maintains a pool of memory used for both shadow page tables as well as auxiliary data structures. To migrate or snapshot guests, Xen additionally runs them in so called log-dirty mode. The data structures needed by the log-dirty tracking are part of aformentioned auxiliary data. In order to keep error handling efforts within reasonable bounds, for operations which may require memory allocations shadow mode logic ensures up front that enough memory is available for the worst case requirements. Unfortunately, while page table memory is properly accounted for on the code path requiring the potential establishing of new shadows, demands by the log-dirty infrastructure were not taken into consideration. As a result, just established shadow page tables could be freed again immediately, while other code is still accessing them on the assumption that they would remain allocated.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
系统 | alpine_3.15 | xen | * | Up to (excluding) 4.15.5-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.16 | xen | * | Up to (excluding) 4.16.4-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.17 | xen | * | Up to (excluding) 4.16.4-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.18 | xen | * | Up to (excluding) 4.17.0-r5 | |||||
运行在以下环境 | |||||||||
系统 | alpine_edge | xen | * | Up to (excluding) 4.17.0-r5 | |||||
运行在以下环境 | |||||||||
系统 | debian | debian_linux | 11.0 | - | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | xen | * | Up to (including) 4.11.4+107-gef32c7afa2-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | xen | * | Up to (excluding) 4.14.5+94-ge49571868d-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | xen | * | Up to (excluding) 4.17.0+74-g3eac216e6e-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | xen | * | Up to (excluding) 4.17.0+74-g3eac216e6e-1 | |||||
运行在以下环境 | |||||||||
系统 | fedoraproject | fedora | 37 | - | |||||
运行在以下环境 | |||||||||
系统 | fedoraproject | fedora | 38 | - | |||||
运行在以下环境 | |||||||||
系统 | fedora_36 | xen | * | Up to (excluding) 4.16.3-4.fc36 | |||||
运行在以下环境 | |||||||||
系统 | fedora_37 | xen | * | Up to (excluding) 4.16.3-4.fc37 | |||||
运行在以下环境 | |||||||||
系统 | fedora_38 | xen-ocaml-devel | * | Up to (excluding) 4.17.0-8.fc38 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_5.3 | xen-libs | * | Up to (excluding) 4.16.3_06-150400.4.25.1 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.4 | xen | * | Up to (excluding) 4.16.3_06-150400.4.25.1 | |||||
运行在以下环境 | |||||||||
系统 | suse_12_SP5 | xen | * | Up to (excluding) 4.12.4_34-3.88.1 | |||||
运行在以下环境 | |||||||||
系统 | xen | xen | * | From (including) 3.2.0 | |||||
- 攻击路径 本地
- 攻击复杂度 复杂
- 权限要求 普通权限
- 影响范围 越权影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 数据泄露
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-416 | 释放后使用 |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论