Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
description of repo status
Open Source
>
Other
>
Operation System
&&
Watch
Unwatch
Watching
Releases Only
Ignoring
128
Star
73
Fork
331
src-openEuler
/
kernel
Closed
Code
Issues
1197
Pull Requests
35
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
CVE-2022-49196
Done
#IBP1SK
CVE和安全问题
openeuler-ci-bot
owner
Opened this issue
2025-02-26 14:55
一、漏洞信息 漏洞编号:[CVE-2022-49196](https://nvd.nist.gov/vuln/detail/CVE-2022-49196) 漏洞归属组件:[kernel](https://gitee.com/src-openeuler/kernel) 漏洞归属的版本:4.19.140,4.19.194,4.19.90,5.10.0,6.1.19,6.1.8,6.4.0,6.6.0 CVSS V3.x分值: BaseScore:7.8 High Vector:CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 漏洞简述: In the Linux kernel, the following vulnerability has been resolved:powerpc/pseries: Fix use after free in remove_phb_dynamic()In remove_phb_dynamic() we use &phb->io_resource, after we ve calleddevice_unregister(&host_bridge->dev). But the unregister may have freedphb, because pcibios_free_controller_deferred() is the release functionfor the host_bridge.If there are no outstanding references when we call device_unregister()then phb will be freed out from under us.This has gone mainly unnoticed, but with slub_debug and page_poisonenabled it can lead to a crash: PID: 7574 TASK: c0000000d492cb80 CPU: 13 COMMAND: drmgr #0 [c0000000e4f075a0] crash_kexec at c00000000027d7dc #1 [c0000000e4f075d0] oops_end at c000000000029608 #2 [c0000000e4f07650] __bad_page_fault at c0000000000904b4 #3 [c0000000e4f076c0] do_bad_slb_fault at c00000000009a5a8 #4 [c0000000e4f076f0] data_access_slb_common_virt at c000000000008b30 Data SLB Access [380] exception frame: R0: c000000000167250 R1: c0000000e4f07a00 R2: c000000002a46100 R3: c000000002b39ce8 R4: 00000000000000c0 R5: 00000000000000a9 R6: 3894674d000000c0 R7: 0000000000000000 R8: 00000000000000ff R9: 0000000000000100 R10: 6b6b6b6b6b6b6b6b R11: 0000000000008000 R12: c00000000023da80 R13: c0000009ffd38b00 R14: 0000000000000000 R15: 000000011c87f0f0 R16: 0000000000000006 R17: 0000000000000003 R18: 0000000000000002 R19: 0000000000000004 R20: 0000000000000005 R21: 000000011c87ede8 R22: 000000011c87c5a8 R23: 000000011c87d3a0 R24: 0000000000000000 R25: 0000000000000001 R26: c0000000e4f07cc8 R27: c00000004d1cc400 R28: c0080000031d00e8 R29: c00000004d23d800 R30: c00000004d1d2400 R31: c00000004d1d2540 NIP: c000000000167258 MSR: 8000000000009033 OR3: c000000000e9f474 CTR: 0000000000000000 LR: c000000000167250 XER: 0000000020040003 CCR: 0000000024088420 MQ: 0000000000000000 DAR: 6b6b6b6b6b6b6ba3 DSISR: c0000000e4f07920 Syscall Result: fffffffffffffff2 [NIP : release_resource+56] [LR : release_resource+48] #5 [c0000000e4f07a00] release_resource at c000000000167258 (unreliable) #6 [c0000000e4f07a30] remove_phb_dynamic at c000000000105648 #7 [c0000000e4f07ab0] dlpar_remove_slot at c0080000031a09e8 [rpadlpar_io] #8 [c0000000e4f07b50] remove_slot_store at c0080000031a0b9c [rpadlpar_io] #9 [c0000000e4f07be0] kobj_attr_store at c000000000817d8c #10 [c0000000e4f07c00] sysfs_kf_write at c00000000063e504 #11 [c0000000e4f07c20] kernfs_fop_write_iter at c00000000063d868 #12 [c0000000e4f07c70] new_sync_write at c00000000054339c #13 [c0000000e4f07d10] vfs_write at c000000000546624 #14 [c0000000e4f07d60] ksys_write at c0000000005469f4 #15 [c0000000e4f07db0] system_call_exception at c000000000030840 #16 [c0000000e4f07e10] system_call_vectored_common at c00000000000c168To avoid it, we can take a reference to the host_bridge->dev until we redone using phb. Then when we drop the reference the phb will be freed. 漏洞公开时间:2025-02-26 15:00:56 漏洞创建时间:2025-02-26 14:55:10 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2022-49196 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/33d39efb61a84e055ca2386157d39ebbdf6b7d31 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/403f9e0bc5535a0a5184d1352fa3a70e6ffacb6f | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/895ca4ae1f72e0a0160ab162723e59c9f265ec93 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/fe2640bd7a62f1f7c3f55fbda31084085075bc30 | | | suse_bugzilla | https://www.kernel.org | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://cve.org/CVERecord/?id=CVE-2022-49196 | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://git.kernel.org/stable/c/33d39efb61a84e055ca2386157d39ebbdf6b7d31 | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://git.kernel.org/stable/c/403f9e0bc5535a0a5184d1352fa3a70e6ffacb6f | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://git.kernel.org/stable/c/895ca4ae1f72e0a0160ab162723e59c9f265ec93 | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://git.kernel.org/stable/c/fe2640bd7a62f1f7c3f55fbda31084085075bc30 | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-49196 | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2022/CVE-2022-49196.mbox | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://git.kernel.org/stable/c/33d39efb61a84e055ca2386157d39ebbdf6b7d31 | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://git.kernel.org/stable/c/403f9e0bc5535a0a5184d1352fa3a70e6ffacb6f | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://git.kernel.org/stable/c/895ca4ae1f72e0a0160ab162723e59c9f265ec93 | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://git.kernel.org/stable/c/fe2640bd7a62f1f7c3f55fbda31084085075bc30 | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://bugzilla.redhat.com/show_bug.cgi?id=2348173 | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | redhat_bugzilla | https://lore.kernel.org/linux-cve-announce/2025022617-CVE-2022-49196-978c@gregkh/T | https://bugzilla.redhat.com/show_bug.cgi?id=2348173 | | redhat_bugzilla | https://lore.kernel.org/linux-cve-announce/2025022617-CVE-2022-49196-978c@gregkh/T | https://bugzilla.redhat.com/show_bug.cgi?id=2348173 | | amazon_linux_explore | https://access.redhat.com/security/cve/CVE-2022-49196 | https://explore.alas.aws.amazon.com/CVE-2022-49196.html | | amazon_linux_explore | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-49196 | https://explore.alas.aws.amazon.com/CVE-2022-49196.html | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://git.kernel.org/stable/c/33d39efb61a84e055ca2386157d39ebbdf6b7d31 | | nvd | | | | https://git.kernel.org/stable/c/403f9e0bc5535a0a5184d1352fa3a70e6ffacb6f | | nvd | | | | https://git.kernel.org/stable/c/895ca4ae1f72e0a0160ab162723e59c9f265ec93 | | nvd | | | | https://git.kernel.org/stable/c/fe2640bd7a62f1f7c3f55fbda31084085075bc30 | | nvd | </details> 二、漏洞分析结构反馈 影响性分析说明: In the Linux kernel, the following vulnerability has been resolved:powerpc/pseries: Fix use after free in remove_phb_dynamic()In remove_phb_dynamic() we use &phb->io_resource, after we ve calleddevice_unregister(&host_bridge->dev). But the unregister may have freedphb, because pcibios_free_controller_deferred() is the release functionfor the host_bridge.If there are no outstanding references when we call device_unregister()then phb will be freed out from under us.This has gone mainly unnoticed, but with slub_debug and page_poisonenabled it can lead to a crash:PID: 7574 TASK: c0000000d492cb80 CPU: 13 COMMAND: drmgr #0 [c0000000e4f075a0] crash_kexec at c00000000027d7dc#1 [c0000000e4f075d0] oops_end at c000000000029608#2 [c0000000e4f07650] __bad_page_fault at c0000000000904b4#3 [c0000000e4f076c0] do_bad_slb_fault at c00000000009a5a8#4 [c0000000e4f076f0] data_access_slb_common_virt at c000000000008b30Data SLB Access [380] exception frame:R0: c000000000167250 R1: c0000000e4f07a00 R2: c000000002a46100R3: c000000002b39ce8 R4: 00000000000000c0 R5: 00000000000000a9R6: 3894674d000000c0 R7: 0000000000000000 R8: 00000000000000ffR9: 0000000000000100 R10: 6b6b6b6b6b6b6b6b R11: 0000000000008000R12: c00000000023da80 R13: c0000009ffd38b00 R14: 0000000000000000R15: 000000011c87f0f0 R16: 0000000000000006 R17: 0000000000000003R18: 0000000000000002 R19: 0000000000000004 R20: 0000000000000005R21: 000000011c87ede8 R22: 000000011c87c5a8 R23: 000000011c87d3a0R24: 0000000000000000 R25: 0000000000000001 R26: c0000000e4f07cc8R27: c00000004d1cc400 R28: c0080000031d00e8 R29: c00000004d23d800R30: c00000004d1d2400 R31: c00000004d1d2540NIP: c000000000167258 MSR: 8000000000009033 OR3: c000000000e9f474CTR: 0000000000000000 LR: c000000000167250 XER: 0000000020040003CCR: 0000000024088420 MQ: 0000000000000000 DAR: 6b6b6b6b6b6b6ba3DSISR: c0000000e4f07920 Syscall Result: fffffffffffffff2[NIP : release_resource+56][LR : release_resource+48]#5 [c0000000e4f07a00] release_resource at c000000000167258 (unreliable)#6 [c0000000e4f07a30] remove_phb_dynamic at c000000000105648#7 [c0000000e4f07ab0] dlpar_remove_slot at c0080000031a09e8 [rpadlpar_io]#8 [c0000000e4f07b50] remove_slot_store at c0080000031a0b9c [rpadlpar_io]#9 [c0000000e4f07be0] kobj_attr_store at c000000000817d8c#10 [c0000000e4f07c00] sysfs_kf_write at c00000000063e504#11 [c0000000e4f07c20] kernfs_fop_write_iter at c00000000063d868#12 [c0000000e4f07c70] new_sync_write at c00000000054339c#13 [c0000000e4f07d10] vfs_write at c000000000546624#14 [c0000000e4f07d60] ksys_write at c0000000005469f4#15 [c0000000e4f07db0] system_call_exception at c000000000030840#16 [c0000000e4f07e10] system_call_vectored_common at c00000000000c168To avoid it, we can take a reference to the host_bridge->dev until we redone using phb. Then when we drop the reference the phb will be freed. openEuler评分: 7.8 Vector:CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 受影响版本排查(受影响/不受影响): 1.openEuler-20.03-LTS-SP4(4.19.90):受影响 2.openEuler-22.03-LTS-SP3(5.10.0):不受影响 3.openEuler-22.03-LTS-SP4(5.10.0):不受影响 4.master(6.12.33):不受影响 5.openEuler-24.03-LTS(6.6.0):不受影响 6.openEuler-24.03-LTS-Next(6.6.0):不受影响 7.openEuler-24.03-LTS-SP1(6.6.0):不受影响 8.openEuler-24.03-LTS-SP2(6.6.0):不受影响 9.openEuler-24.03-LTS-SP3(6.6.0):不受影响 修复是否涉及abi变化(是/否): 1.openEuler-20.03-LTS-SP4(4.19.90):否 2.openEuler-22.03-LTS-SP3(5.10.0):否 3.master(6.12.33):否 4.openEuler-24.03-LTS(6.6.0):否 5.openEuler-24.03-LTS-Next(6.6.0):否 6.openEuler-22.03-LTS-SP4(5.10.0):否 7.openEuler-24.03-LTS-SP1(6.6.0):否 8.openEuler-24.03-LTS-SP2(6.6.0):否 9.openEuler-24.03-LTS-SP3(6.6.0):否 原因说明: 1.openEuler-22.03-LTS-SP3(5.10.0):不受影响-组件不存在 2.openEuler-22.03-LTS-SP4(5.10.0):不受影响-组件不存在 3.openEuler-20.03-LTS-SP4(4.19.90):不修复-超出修复范围 4.master(6.12.33):不受影响-漏洞代码不能被攻击者触发 5.openEuler-24.03-LTS-Next(6.6.0):不受影响-漏洞代码不能被攻击者触发 6.openEuler-24.03-LTS(6.6.0):不受影响-漏洞代码不存在 7.openEuler-24.03-LTS-SP1(6.6.0):不受影响-漏洞代码不存在 8.openEuler-24.03-LTS-SP2(6.6.0):不受影响-漏洞代码不存在 9.openEuler-24.03-LTS-SP3(6.6.0):不受影响-漏洞代码不存在
一、漏洞信息 漏洞编号:[CVE-2022-49196](https://nvd.nist.gov/vuln/detail/CVE-2022-49196) 漏洞归属组件:[kernel](https://gitee.com/src-openeuler/kernel) 漏洞归属的版本:4.19.140,4.19.194,4.19.90,5.10.0,6.1.19,6.1.8,6.4.0,6.6.0 CVSS V3.x分值: BaseScore:7.8 High Vector:CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 漏洞简述: In the Linux kernel, the following vulnerability has been resolved:powerpc/pseries: Fix use after free in remove_phb_dynamic()In remove_phb_dynamic() we use &phb->io_resource, after we ve calleddevice_unregister(&host_bridge->dev). But the unregister may have freedphb, because pcibios_free_controller_deferred() is the release functionfor the host_bridge.If there are no outstanding references when we call device_unregister()then phb will be freed out from under us.This has gone mainly unnoticed, but with slub_debug and page_poisonenabled it can lead to a crash: PID: 7574 TASK: c0000000d492cb80 CPU: 13 COMMAND: drmgr #0 [c0000000e4f075a0] crash_kexec at c00000000027d7dc #1 [c0000000e4f075d0] oops_end at c000000000029608 #2 [c0000000e4f07650] __bad_page_fault at c0000000000904b4 #3 [c0000000e4f076c0] do_bad_slb_fault at c00000000009a5a8 #4 [c0000000e4f076f0] data_access_slb_common_virt at c000000000008b30 Data SLB Access [380] exception frame: R0: c000000000167250 R1: c0000000e4f07a00 R2: c000000002a46100 R3: c000000002b39ce8 R4: 00000000000000c0 R5: 00000000000000a9 R6: 3894674d000000c0 R7: 0000000000000000 R8: 00000000000000ff R9: 0000000000000100 R10: 6b6b6b6b6b6b6b6b R11: 0000000000008000 R12: c00000000023da80 R13: c0000009ffd38b00 R14: 0000000000000000 R15: 000000011c87f0f0 R16: 0000000000000006 R17: 0000000000000003 R18: 0000000000000002 R19: 0000000000000004 R20: 0000000000000005 R21: 000000011c87ede8 R22: 000000011c87c5a8 R23: 000000011c87d3a0 R24: 0000000000000000 R25: 0000000000000001 R26: c0000000e4f07cc8 R27: c00000004d1cc400 R28: c0080000031d00e8 R29: c00000004d23d800 R30: c00000004d1d2400 R31: c00000004d1d2540 NIP: c000000000167258 MSR: 8000000000009033 OR3: c000000000e9f474 CTR: 0000000000000000 LR: c000000000167250 XER: 0000000020040003 CCR: 0000000024088420 MQ: 0000000000000000 DAR: 6b6b6b6b6b6b6ba3 DSISR: c0000000e4f07920 Syscall Result: fffffffffffffff2 [NIP : release_resource+56] [LR : release_resource+48] #5 [c0000000e4f07a00] release_resource at c000000000167258 (unreliable) #6 [c0000000e4f07a30] remove_phb_dynamic at c000000000105648 #7 [c0000000e4f07ab0] dlpar_remove_slot at c0080000031a09e8 [rpadlpar_io] #8 [c0000000e4f07b50] remove_slot_store at c0080000031a0b9c [rpadlpar_io] #9 [c0000000e4f07be0] kobj_attr_store at c000000000817d8c #10 [c0000000e4f07c00] sysfs_kf_write at c00000000063e504 #11 [c0000000e4f07c20] kernfs_fop_write_iter at c00000000063d868 #12 [c0000000e4f07c70] new_sync_write at c00000000054339c #13 [c0000000e4f07d10] vfs_write at c000000000546624 #14 [c0000000e4f07d60] ksys_write at c0000000005469f4 #15 [c0000000e4f07db0] system_call_exception at c000000000030840 #16 [c0000000e4f07e10] system_call_vectored_common at c00000000000c168To avoid it, we can take a reference to the host_bridge->dev until we redone using phb. Then when we drop the reference the phb will be freed. 漏洞公开时间:2025-02-26 15:00:56 漏洞创建时间:2025-02-26 14:55:10 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2022-49196 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/33d39efb61a84e055ca2386157d39ebbdf6b7d31 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/403f9e0bc5535a0a5184d1352fa3a70e6ffacb6f | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/895ca4ae1f72e0a0160ab162723e59c9f265ec93 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/fe2640bd7a62f1f7c3f55fbda31084085075bc30 | | | suse_bugzilla | https://www.kernel.org | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://cve.org/CVERecord/?id=CVE-2022-49196 | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://git.kernel.org/stable/c/33d39efb61a84e055ca2386157d39ebbdf6b7d31 | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://git.kernel.org/stable/c/403f9e0bc5535a0a5184d1352fa3a70e6ffacb6f | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://git.kernel.org/stable/c/895ca4ae1f72e0a0160ab162723e59c9f265ec93 | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://git.kernel.org/stable/c/fe2640bd7a62f1f7c3f55fbda31084085075bc30 | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-49196 | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2022/CVE-2022-49196.mbox | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://git.kernel.org/stable/c/33d39efb61a84e055ca2386157d39ebbdf6b7d31 | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://git.kernel.org/stable/c/403f9e0bc5535a0a5184d1352fa3a70e6ffacb6f | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://git.kernel.org/stable/c/895ca4ae1f72e0a0160ab162723e59c9f265ec93 | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://git.kernel.org/stable/c/fe2640bd7a62f1f7c3f55fbda31084085075bc30 | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | suse_bugzilla | https://bugzilla.redhat.com/show_bug.cgi?id=2348173 | https://bugzilla.suse.com/show_bug.cgi?id=1238274 | | redhat_bugzilla | https://lore.kernel.org/linux-cve-announce/2025022617-CVE-2022-49196-978c@gregkh/T | https://bugzilla.redhat.com/show_bug.cgi?id=2348173 | | redhat_bugzilla | https://lore.kernel.org/linux-cve-announce/2025022617-CVE-2022-49196-978c@gregkh/T | https://bugzilla.redhat.com/show_bug.cgi?id=2348173 | | amazon_linux_explore | https://access.redhat.com/security/cve/CVE-2022-49196 | https://explore.alas.aws.amazon.com/CVE-2022-49196.html | | amazon_linux_explore | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-49196 | https://explore.alas.aws.amazon.com/CVE-2022-49196.html | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://git.kernel.org/stable/c/33d39efb61a84e055ca2386157d39ebbdf6b7d31 | | nvd | | | | https://git.kernel.org/stable/c/403f9e0bc5535a0a5184d1352fa3a70e6ffacb6f | | nvd | | | | https://git.kernel.org/stable/c/895ca4ae1f72e0a0160ab162723e59c9f265ec93 | | nvd | | | | https://git.kernel.org/stable/c/fe2640bd7a62f1f7c3f55fbda31084085075bc30 | | nvd | </details> 二、漏洞分析结构反馈 影响性分析说明: In the Linux kernel, the following vulnerability has been resolved:powerpc/pseries: Fix use after free in remove_phb_dynamic()In remove_phb_dynamic() we use &phb->io_resource, after we ve calleddevice_unregister(&host_bridge->dev). But the unregister may have freedphb, because pcibios_free_controller_deferred() is the release functionfor the host_bridge.If there are no outstanding references when we call device_unregister()then phb will be freed out from under us.This has gone mainly unnoticed, but with slub_debug and page_poisonenabled it can lead to a crash:PID: 7574 TASK: c0000000d492cb80 CPU: 13 COMMAND: drmgr #0 [c0000000e4f075a0] crash_kexec at c00000000027d7dc#1 [c0000000e4f075d0] oops_end at c000000000029608#2 [c0000000e4f07650] __bad_page_fault at c0000000000904b4#3 [c0000000e4f076c0] do_bad_slb_fault at c00000000009a5a8#4 [c0000000e4f076f0] data_access_slb_common_virt at c000000000008b30Data SLB Access [380] exception frame:R0: c000000000167250 R1: c0000000e4f07a00 R2: c000000002a46100R3: c000000002b39ce8 R4: 00000000000000c0 R5: 00000000000000a9R6: 3894674d000000c0 R7: 0000000000000000 R8: 00000000000000ffR9: 0000000000000100 R10: 6b6b6b6b6b6b6b6b R11: 0000000000008000R12: c00000000023da80 R13: c0000009ffd38b00 R14: 0000000000000000R15: 000000011c87f0f0 R16: 0000000000000006 R17: 0000000000000003R18: 0000000000000002 R19: 0000000000000004 R20: 0000000000000005R21: 000000011c87ede8 R22: 000000011c87c5a8 R23: 000000011c87d3a0R24: 0000000000000000 R25: 0000000000000001 R26: c0000000e4f07cc8R27: c00000004d1cc400 R28: c0080000031d00e8 R29: c00000004d23d800R30: c00000004d1d2400 R31: c00000004d1d2540NIP: c000000000167258 MSR: 8000000000009033 OR3: c000000000e9f474CTR: 0000000000000000 LR: c000000000167250 XER: 0000000020040003CCR: 0000000024088420 MQ: 0000000000000000 DAR: 6b6b6b6b6b6b6ba3DSISR: c0000000e4f07920 Syscall Result: fffffffffffffff2[NIP : release_resource+56][LR : release_resource+48]#5 [c0000000e4f07a00] release_resource at c000000000167258 (unreliable)#6 [c0000000e4f07a30] remove_phb_dynamic at c000000000105648#7 [c0000000e4f07ab0] dlpar_remove_slot at c0080000031a09e8 [rpadlpar_io]#8 [c0000000e4f07b50] remove_slot_store at c0080000031a0b9c [rpadlpar_io]#9 [c0000000e4f07be0] kobj_attr_store at c000000000817d8c#10 [c0000000e4f07c00] sysfs_kf_write at c00000000063e504#11 [c0000000e4f07c20] kernfs_fop_write_iter at c00000000063d868#12 [c0000000e4f07c70] new_sync_write at c00000000054339c#13 [c0000000e4f07d10] vfs_write at c000000000546624#14 [c0000000e4f07d60] ksys_write at c0000000005469f4#15 [c0000000e4f07db0] system_call_exception at c000000000030840#16 [c0000000e4f07e10] system_call_vectored_common at c00000000000c168To avoid it, we can take a reference to the host_bridge->dev until we redone using phb. Then when we drop the reference the phb will be freed. openEuler评分: 7.8 Vector:CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 受影响版本排查(受影响/不受影响): 1.openEuler-20.03-LTS-SP4(4.19.90):受影响 2.openEuler-22.03-LTS-SP3(5.10.0):不受影响 3.openEuler-22.03-LTS-SP4(5.10.0):不受影响 4.master(6.12.33):不受影响 5.openEuler-24.03-LTS(6.6.0):不受影响 6.openEuler-24.03-LTS-Next(6.6.0):不受影响 7.openEuler-24.03-LTS-SP1(6.6.0):不受影响 8.openEuler-24.03-LTS-SP2(6.6.0):不受影响 9.openEuler-24.03-LTS-SP3(6.6.0):不受影响 修复是否涉及abi变化(是/否): 1.openEuler-20.03-LTS-SP4(4.19.90):否 2.openEuler-22.03-LTS-SP3(5.10.0):否 3.master(6.12.33):否 4.openEuler-24.03-LTS(6.6.0):否 5.openEuler-24.03-LTS-Next(6.6.0):否 6.openEuler-22.03-LTS-SP4(5.10.0):否 7.openEuler-24.03-LTS-SP1(6.6.0):否 8.openEuler-24.03-LTS-SP2(6.6.0):否 9.openEuler-24.03-LTS-SP3(6.6.0):否 原因说明: 1.openEuler-22.03-LTS-SP3(5.10.0):不受影响-组件不存在 2.openEuler-22.03-LTS-SP4(5.10.0):不受影响-组件不存在 3.openEuler-20.03-LTS-SP4(4.19.90):不修复-超出修复范围 4.master(6.12.33):不受影响-漏洞代码不能被攻击者触发 5.openEuler-24.03-LTS-Next(6.6.0):不受影响-漏洞代码不能被攻击者触发 6.openEuler-24.03-LTS(6.6.0):不受影响-漏洞代码不存在 7.openEuler-24.03-LTS-SP1(6.6.0):不受影响-漏洞代码不存在 8.openEuler-24.03-LTS-SP2(6.6.0):不受影响-漏洞代码不存在 9.openEuler-24.03-LTS-SP3(6.6.0):不受影响-漏洞代码不存在
Comments (
13
)
Sign in
to comment
Status
Done
Backlog
已挂起
Doing
Done
Declined
Assignees
Not set
sanglipeng
sanglipeng
Assignee
Collaborator
+Assign
+Mention
Labels
CVE/FIXED
sig/Kernel
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(3)
1
https://gitee.com/src-openeuler/kernel.git
git@gitee.com:src-openeuler/kernel.git
src-openeuler
kernel
kernel
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register