登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
轻量养虾,开箱即用!低 Token + 稳定算力,Gitee & 模力方舟联合出品的 PocketClaw 正式开售!点击了解详情
代码拉取完成,页面将自动刷新
仓库状态说明
开源项目
>
其他开源
>
操作系统
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
128
Star
73
Fork
330
src-openEuler
/
kernel
关闭
代码
Issues
1197
Pull Requests
35
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
开发画像分析
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
CVE-2023-52506
已完成
#I95ATE
CVE和安全问题
openeuler-ci-bot
拥有者
创建于
2024-03-03 06:59
一、漏洞信息 漏洞编号:[CVE-2023-52506](https://nvd.nist.gov/vuln/detail/CVE-2023-52506) 漏洞归属组件:[kernel](https://gitee.com/src-openeuler/kernel) 漏洞归属的版本:6.1.19 CVSS V3.0分值: BaseScore:0.0 None Vector:CVSS:3.0/ 漏洞简述: A vulnerability was found in Linux Kernel up to 6.1.55/6.5.5 (Operating System). It has been classified as problematic.CWE is classifying the issue as CWE-665. The product does not initialize or incorrectly initializes a resource, which might leave the resource in an unexpected state when it is accessed or used.This is going to have an impact on confidentiality, integrity, and availability.Upgrading to version 6.1.56, 6.5.6 or 6.6 eliminates this vulnerability. Applying the patch f105e893a8ed/19878758accf/b795fb9f5861 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version. 漏洞公开时间:2024-03-02 00:00:00 漏洞创建时间:2024-03-02 22:59:14 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2023-52506 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | | https://git.kernel.org/stable/c/19878758accf6b2788091a771d9f9fee7bab11ab | | | | https://git.kernel.org/stable/c/b795fb9f5861ee256070d59e33130980a01fadd7 | | | | https://git.kernel.org/stable/c/f105e893a8edd48bdf4bef9fef845a9ff402f737 | | | | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-52506 | | | | https://git.kernel.org/linus/b795fb9f5861ee256070d59e33130980a01fadd7 | | | | https://www.cve.org/CVERecord?id=CVE-2023-52506 | | </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/f105e893a8edd48bdf4bef9fef845a9f | https://git.kernel.org/stable/c/f105e893a8edd48bdf4bef9fef845a9ff402f737.patch | | ljqc | | | https://git.kernel.org/stable/c/19878758accf6b2788091a771d9f9fee | https://git.kernel.org/stable/c/19878758accf6b2788091a771d9f9fee7bab11ab.patch | | ljqc | | | https://git.kernel.org/stable/c/b795fb9f5861ee256070d59e33130980 | https://git.kernel.org/stable/c/b795fb9f5861ee256070d59e33130980a01fadd7.patch | | ljqc | </details> 二、漏洞分析结构反馈 影响性分析说明: In the Linux kernel, the following vulnerability has been resolved:LoongArch: Set all reserved memblocks on Node#0 at initializationAfter commit 61167ad5fecdea ( mm: pass nid to reserve_bootmem_region() )we get a panic if DEFERRED_STRUCT_PAGE_INIT is enabled:[ 0.000000] CPU 0 Unable to handle kernel paging request at virtual address 0000000000002b82, era == 90000000040e3f28, ra == 90000000040e3f18[ 0.000000] Oops[#1]:[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 6.5.0+ #733[ 0.000000] pc 90000000040e3f28 ra 90000000040e3f18 tp 90000000046f4000 sp 90000000046f7c90[ 0.000000] a0 0000000000000001 a1 0000000000200000 a2 0000000000000040 a3 90000000046f7ca0[ 0.000000] a4 90000000046f7ca4 a5 0000000000000000 a6 90000000046f7c38 a7 0000000000000000[ 0.000000] t0 0000000000000002 t1 9000000004b00ac8 t2 90000000040e3f18 t3 90000000040f0800[ 0.000000] t4 00000000000f0000 t5 80000000ffffe07e t6 0000000000000003 t7 900000047fff5e20[ 0.000000] t8 aaaaaaaaaaaaaaab u0 0000000000000018 s9 0000000000000000 s0 fffffefffe000000[ 0.000000] s1 0000000000000000 s2 0000000000000080 s3 0000000000000040 s4 0000000000000000[ 0.000000] s5 0000000000000000 s6 fffffefffe000000 s7 900000000470b740 s8 9000000004ad4000[ 0.000000] ra: 90000000040e3f18 reserve_bootmem_region+0xec/0x21c[ 0.000000] ERA: 90000000040e3f28 reserve_bootmem_region+0xfc/0x21c[ 0.000000] CRMD: 000000b0 (PLV0 -IE -DA +PG DACF=CC DACM=CC -WE)[ 0.000000] PRMD: 00000000 (PPLV0 -PIE -PWE)[ 0.000000] EUEN: 00000000 (-FPE -SXE -ASXE -BTE)[ 0.000000] ECFG: 00070800 (LIE=11 VS=7)[ 0.000000] ESTAT: 00010800 [PIL] (IS=11 ECode=1 EsubCode=0)[ 0.000000] BADV: 0000000000002b82[ 0.000000] PRID: 0014d000 (Loongson-64bit, Loongson-3A6000)[ 0.000000] Modules linked in:[ 0.000000] Process swapper (pid: 0, threadinfo=(____ptrval____), task=(____ptrval____))[ 0.000000] Stack : 0000000000000000 9000000002eb5430 0000003a00000020 90000000045ccd00[ 0.000000] 900000000470e000 90000000002c1918 0000000000000000 9000000004110780[ 0.000000] 00000000fe6c0000 0000000480000000 9000000004b4e368 9000000004110748[ 0.000000] 0000000000000000 900000000421ca84 9000000004620000 9000000004564970[ 0.000000] 90000000046f7d78 9000000002cc9f70 90000000002c1918 900000000470e000[ 0.000000] 9000000004564970 90000000040bc0e0 90000000046f7d78 0000000000000000[ 0.000000] 0000000000004000 90000000045ccd00 0000000000000000 90000000002c1918[ 0.000000] 90000000002c1900 900000000470b700 9000000004b4df78 9000000004620000[ 0.000000] 90000000046200a8 90000000046200a8 0000000000000000 9000000004218b2c[ 0.000000] 9000000004270008 0000000000000001 0000000000000000 90000000045ccd00[ 0.000000] ...[ 0.000000] Call Trace:[ 0.000000] [<90000000040e3f28>] reserve_bootmem_region+0xfc/0x21c[ 0.000000] [<900000000421ca84>] memblock_free_all+0x114/0x350[ 0.000000] [<9000000004218b2c>] mm_core_init+0x138/0x3cc[ 0.000000] [<9000000004200e38>] start_kernel+0x488/0x7a4[ 0.000000] [<90000000040df0d8>] kernel_entry+0xd8/0xdc[ 0.000000][ 0.000000] Code: 02eb21ad 00410f4c 380c31ac <262b818d> 6800b70d 02c1c196 0015001c 57fe4bb1 260002cdThe reason is early memblock_reserve() in memblock_init() set node id toMAX_NUMNODES, making NODE_DATA(nid) a NULL dereference in the call chainreserve_bootmem_region() -> init_reserved_page(). After memblock_init(),those late calls of memblock_reserve() operate on subregions of memblock.memory regions. As a result, these reserved regions will be set to thecorrect node at the first iteration of memmap_init_reserved_pages().So set all reserved memblocks on Node#0 at initialization can avoid thispanic. openEuler评分: 5.5 Vector:CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H 受影响版本排查(受影响/不受影响): 1.openEuler-20.03-LTS-SP1:不受影响 2.openEuler-20.03-LTS-SP4:不受影响 3.openEuler-22.03-LTS:不受影响 4.openEuler-22.03-LTS-SP1:不受影响 5.openEuler-22.03-LTS-SP2:不受影响 6.openEuler-22.03-LTS-SP3:不受影响 7.master:不受影响 8.openEuler-22.03-LTS-Next:不受影响 9.openEuler-24.03-LTS:不受影响 10.openEuler-24.03-LTS-Next:不受影响 修复是否涉及abi变化(是/否): 1.openEuler-20.03-LTS-SP1:否 2.openEuler-20.03-LTS-SP4:否 3.openEuler-22.03-LTS:否 4.openEuler-22.03-LTS-SP1:否 5.openEuler-22.03-LTS-SP2:否 6.openEuler-22.03-LTS-SP3:否 7.master:否 8.openEuler-22.03-LTS-Next:否 9.openEuler-24.03-LTS:否 10.openEuler-24.03-LTS-Next:否 原因说明: 1.master: 2.openEuler-20.03-LTS-SP4: 3.openEuler-22.03-LTS-SP1: 4.openEuler-22.03-LTS-SP3: 5.openEuler-22.03-LTS-SP4: 6.openEuler-24.03-LTS: 7.openEuler-24.03-LTS-Next: 8.openEuler-24.03-LTS-SP1:
一、漏洞信息 漏洞编号:[CVE-2023-52506](https://nvd.nist.gov/vuln/detail/CVE-2023-52506) 漏洞归属组件:[kernel](https://gitee.com/src-openeuler/kernel) 漏洞归属的版本:6.1.19 CVSS V3.0分值: BaseScore:0.0 None Vector:CVSS:3.0/ 漏洞简述: A vulnerability was found in Linux Kernel up to 6.1.55/6.5.5 (Operating System). It has been classified as problematic.CWE is classifying the issue as CWE-665. The product does not initialize or incorrectly initializes a resource, which might leave the resource in an unexpected state when it is accessed or used.This is going to have an impact on confidentiality, integrity, and availability.Upgrading to version 6.1.56, 6.5.6 or 6.6 eliminates this vulnerability. Applying the patch f105e893a8ed/19878758accf/b795fb9f5861 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version. 漏洞公开时间:2024-03-02 00:00:00 漏洞创建时间:2024-03-02 22:59:14 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2023-52506 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | | https://git.kernel.org/stable/c/19878758accf6b2788091a771d9f9fee7bab11ab | | | | https://git.kernel.org/stable/c/b795fb9f5861ee256070d59e33130980a01fadd7 | | | | https://git.kernel.org/stable/c/f105e893a8edd48bdf4bef9fef845a9ff402f737 | | | | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-52506 | | | | https://git.kernel.org/linus/b795fb9f5861ee256070d59e33130980a01fadd7 | | | | https://www.cve.org/CVERecord?id=CVE-2023-52506 | | </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/f105e893a8edd48bdf4bef9fef845a9f | https://git.kernel.org/stable/c/f105e893a8edd48bdf4bef9fef845a9ff402f737.patch | | ljqc | | | https://git.kernel.org/stable/c/19878758accf6b2788091a771d9f9fee | https://git.kernel.org/stable/c/19878758accf6b2788091a771d9f9fee7bab11ab.patch | | ljqc | | | https://git.kernel.org/stable/c/b795fb9f5861ee256070d59e33130980 | https://git.kernel.org/stable/c/b795fb9f5861ee256070d59e33130980a01fadd7.patch | | ljqc | </details> 二、漏洞分析结构反馈 影响性分析说明: In the Linux kernel, the following vulnerability has been resolved:LoongArch: Set all reserved memblocks on Node#0 at initializationAfter commit 61167ad5fecdea ( mm: pass nid to reserve_bootmem_region() )we get a panic if DEFERRED_STRUCT_PAGE_INIT is enabled:[ 0.000000] CPU 0 Unable to handle kernel paging request at virtual address 0000000000002b82, era == 90000000040e3f28, ra == 90000000040e3f18[ 0.000000] Oops[#1]:[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 6.5.0+ #733[ 0.000000] pc 90000000040e3f28 ra 90000000040e3f18 tp 90000000046f4000 sp 90000000046f7c90[ 0.000000] a0 0000000000000001 a1 0000000000200000 a2 0000000000000040 a3 90000000046f7ca0[ 0.000000] a4 90000000046f7ca4 a5 0000000000000000 a6 90000000046f7c38 a7 0000000000000000[ 0.000000] t0 0000000000000002 t1 9000000004b00ac8 t2 90000000040e3f18 t3 90000000040f0800[ 0.000000] t4 00000000000f0000 t5 80000000ffffe07e t6 0000000000000003 t7 900000047fff5e20[ 0.000000] t8 aaaaaaaaaaaaaaab u0 0000000000000018 s9 0000000000000000 s0 fffffefffe000000[ 0.000000] s1 0000000000000000 s2 0000000000000080 s3 0000000000000040 s4 0000000000000000[ 0.000000] s5 0000000000000000 s6 fffffefffe000000 s7 900000000470b740 s8 9000000004ad4000[ 0.000000] ra: 90000000040e3f18 reserve_bootmem_region+0xec/0x21c[ 0.000000] ERA: 90000000040e3f28 reserve_bootmem_region+0xfc/0x21c[ 0.000000] CRMD: 000000b0 (PLV0 -IE -DA +PG DACF=CC DACM=CC -WE)[ 0.000000] PRMD: 00000000 (PPLV0 -PIE -PWE)[ 0.000000] EUEN: 00000000 (-FPE -SXE -ASXE -BTE)[ 0.000000] ECFG: 00070800 (LIE=11 VS=7)[ 0.000000] ESTAT: 00010800 [PIL] (IS=11 ECode=1 EsubCode=0)[ 0.000000] BADV: 0000000000002b82[ 0.000000] PRID: 0014d000 (Loongson-64bit, Loongson-3A6000)[ 0.000000] Modules linked in:[ 0.000000] Process swapper (pid: 0, threadinfo=(____ptrval____), task=(____ptrval____))[ 0.000000] Stack : 0000000000000000 9000000002eb5430 0000003a00000020 90000000045ccd00[ 0.000000] 900000000470e000 90000000002c1918 0000000000000000 9000000004110780[ 0.000000] 00000000fe6c0000 0000000480000000 9000000004b4e368 9000000004110748[ 0.000000] 0000000000000000 900000000421ca84 9000000004620000 9000000004564970[ 0.000000] 90000000046f7d78 9000000002cc9f70 90000000002c1918 900000000470e000[ 0.000000] 9000000004564970 90000000040bc0e0 90000000046f7d78 0000000000000000[ 0.000000] 0000000000004000 90000000045ccd00 0000000000000000 90000000002c1918[ 0.000000] 90000000002c1900 900000000470b700 9000000004b4df78 9000000004620000[ 0.000000] 90000000046200a8 90000000046200a8 0000000000000000 9000000004218b2c[ 0.000000] 9000000004270008 0000000000000001 0000000000000000 90000000045ccd00[ 0.000000] ...[ 0.000000] Call Trace:[ 0.000000] [<90000000040e3f28>] reserve_bootmem_region+0xfc/0x21c[ 0.000000] [<900000000421ca84>] memblock_free_all+0x114/0x350[ 0.000000] [<9000000004218b2c>] mm_core_init+0x138/0x3cc[ 0.000000] [<9000000004200e38>] start_kernel+0x488/0x7a4[ 0.000000] [<90000000040df0d8>] kernel_entry+0xd8/0xdc[ 0.000000][ 0.000000] Code: 02eb21ad 00410f4c 380c31ac <262b818d> 6800b70d 02c1c196 0015001c 57fe4bb1 260002cdThe reason is early memblock_reserve() in memblock_init() set node id toMAX_NUMNODES, making NODE_DATA(nid) a NULL dereference in the call chainreserve_bootmem_region() -> init_reserved_page(). After memblock_init(),those late calls of memblock_reserve() operate on subregions of memblock.memory regions. As a result, these reserved regions will be set to thecorrect node at the first iteration of memmap_init_reserved_pages().So set all reserved memblocks on Node#0 at initialization can avoid thispanic. openEuler评分: 5.5 Vector:CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H 受影响版本排查(受影响/不受影响): 1.openEuler-20.03-LTS-SP1:不受影响 2.openEuler-20.03-LTS-SP4:不受影响 3.openEuler-22.03-LTS:不受影响 4.openEuler-22.03-LTS-SP1:不受影响 5.openEuler-22.03-LTS-SP2:不受影响 6.openEuler-22.03-LTS-SP3:不受影响 7.master:不受影响 8.openEuler-22.03-LTS-Next:不受影响 9.openEuler-24.03-LTS:不受影响 10.openEuler-24.03-LTS-Next:不受影响 修复是否涉及abi变化(是/否): 1.openEuler-20.03-LTS-SP1:否 2.openEuler-20.03-LTS-SP4:否 3.openEuler-22.03-LTS:否 4.openEuler-22.03-LTS-SP1:否 5.openEuler-22.03-LTS-SP2:否 6.openEuler-22.03-LTS-SP3:否 7.master:否 8.openEuler-22.03-LTS-Next:否 9.openEuler-24.03-LTS:否 10.openEuler-24.03-LTS-Next:否 原因说明: 1.master: 2.openEuler-20.03-LTS-SP4: 3.openEuler-22.03-LTS-SP1: 4.openEuler-22.03-LTS-SP3: 5.openEuler-22.03-LTS-SP4: 6.openEuler-24.03-LTS: 7.openEuler-24.03-LTS-Next: 8.openEuler-24.03-LTS-SP1:
评论 (
9
)
登录
后才可以发表评论
状态
已完成
待办的
已挂起
进行中
已完成
已拒绝
负责人
未设置
CTC-Xibo.Wang
CTC-XiboWang
负责人
协作者
+负责人
+协作者
标签
CVE/UNAFFECTED
sig/Kernel
未设置
项目
未立项任务
未立项任务
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (
-
)
标签 (
-
)
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(2)
1
https://gitee.com/src-openeuler/kernel.git
git@gitee.com:src-openeuler/kernel.git
src-openeuler
kernel
kernel
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册