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
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
128
Star
72
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-2025-38152
Done
#IC2CBF
CVE和安全问题
openeuler-ci-bot
owner
Opened this issue
2025-04-18 23:59
一、漏洞信息 漏洞编号:[CVE-2025-38152](https://nvd.nist.gov/vuln/detail/CVE-2025-38152) 漏洞归属组件:[kernel](https://gitee.com/src-openeuler/kernel) 漏洞归属的版本:4.19.140,4.19.194,4.19.90,5.10.0,6.1.19,6.4.0,6.6.0 CVSS V3.0分值: BaseScore:5.5 Medium Vector:CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H 漏洞简述: In the Linux kernel, the following vulnerability has been resolved:remoteproc: core: Clear table_sz when rproc_shutdownThere is case as below could trigger kernel dump:Use U-Boot to start remote processor(rproc) with resource tablepublished to a fixed address by rproc. After Kernel boots up,stop the rproc, load a new firmware which doesn t have resource table,and start rproc.When starting rproc with a firmware not have resource table,`memcpy(loaded_table, rproc->cached_table, rproc->table_sz)` willtrigger dump, because rproc->cache_table is set to NULL during the laststop operation, but rproc->table_sz is still valid.This issue is found on i.MX8MP and i.MX9.Dump as below:Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000Mem abort info: ESR = 0x0000000096000004 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x04: level 0 translation faultData abort info: ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 CM = 0, WnR = 0, TnD = 0, TagAccess = 0 GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0user pgtable: 4k pages, 48-bit VAs, pgdp=000000010af63000[0000000000000000] pgd=0000000000000000, p4d=0000000000000000Internal error: Oops: 0000000096000004 [#1] PREEMPT SMPModules linked in:CPU: 2 UID: 0 PID: 1060 Comm: sh Not tainted 6.14.0-rc7-next-20250317-dirty #38Hardware name: NXP i.MX8MPlus EVK board (DT)pstate: a0000005 (NzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)pc : __pi_memcpy_generic+0x110/0x22clr : rproc_start+0x88/0x1e0Call trace: __pi_memcpy_generic+0x110/0x22c (P) rproc_boot+0x198/0x57c state_store+0x40/0x104 dev_attr_store+0x18/0x2c sysfs_kf_write+0x7c/0x94 kernfs_fop_write_iter+0x120/0x1cc vfs_write+0x240/0x378 ksys_write+0x70/0x108 __arm64_sys_write+0x1c/0x28 invoke_syscall+0x48/0x10c el0_svc_common.constprop.0+0xc0/0xe0 do_el0_svc+0x1c/0x28 el0_svc+0x30/0xcc el0t_64_sync_handler+0x10c/0x138 el0t_64_sync+0x198/0x19cClear rproc->table_sz to address the issue. 漏洞公开时间:2025-04-18 15:15:43 漏洞创建时间:2025-04-18 23:59:12 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2025-38152 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/068f6648ff5b0c7adeb6c363fae7fb188aa178fa | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/2df19f5f6f72da6f6ebab7cdb3a3b9f7686bb476 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/6e66bca8cd51ebedd5d32426906a38e4a3c69c5f | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/7c6bb82a6f3da6ab2d3fbea03901482231708b98 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/8e0fd2a3b9852ac3cf540edb06ccc0153b38b5af | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/e6015ca453b82ec54aec9682dcc38773948fcc48 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/efdde3d73ab25cef4ff2d06783b0aad8b093c0e4 | | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2025-38152 | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | suse_bugzilla | https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2025/CVE-2025-38152.mbox | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | suse_bugzilla | https://git.kernel.org/stable/c/6e66bca8cd51ebedd5d32426906a38e4a3c69c5f | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | suse_bugzilla | https://git.kernel.org/stable/c/e6015ca453b82ec54aec9682dcc38773948fcc48 | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | suse_bugzilla | https://git.kernel.org/stable/c/7c6bb82a6f3da6ab2d3fbea03901482231708b98 | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | suse_bugzilla | https://git.kernel.org/stable/c/2df19f5f6f72da6f6ebab7cdb3a3b9f7686bb476 | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | suse_bugzilla | https://git.kernel.org/stable/c/8e0fd2a3b9852ac3cf540edb06ccc0153b38b5af | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | suse_bugzilla | https://git.kernel.org/stable/c/068f6648ff5b0c7adeb6c363fae7fb188aa178fa | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | suse_bugzilla | https://git.kernel.org/stable/c/efdde3d73ab25cef4ff2d06783b0aad8b093c0e4 | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | suse_bugzilla | https://bugzilla.redhat.com/show_bug.cgi?id=2360928 | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2025-38152 | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | redhat_bugzilla | https://lore.kernel.org/linux-cve-announce/2025041817-CVE-2025-38152-c8b3@gregkh/T | https://bugzilla.redhat.com/show_bug.cgi?id=2360928 | | anolis | | https://anas.openanolis.cn/cves/detail/CVE-2025-38152 | | mageia | | http://advisories.mageia.org/MGASA-2025-0142.html | | osv | https://git.kernel.org/stable/c/068f6648ff5b0c7adeb6c363fae7fb188aa178fa | https://osv.dev/vulnerability/CVE-2025-38152 | | osv | https://git.kernel.org/stable/c/2df19f5f6f72da6f6ebab7cdb3a3b9f7686bb476 | https://osv.dev/vulnerability/CVE-2025-38152 | | osv | https://git.kernel.org/stable/c/6e66bca8cd51ebedd5d32426906a38e4a3c69c5f | https://osv.dev/vulnerability/CVE-2025-38152 | | osv | https://git.kernel.org/stable/c/7c6bb82a6f3da6ab2d3fbea03901482231708b98 | https://osv.dev/vulnerability/CVE-2025-38152 | | osv | https://git.kernel.org/stable/c/8e0fd2a3b9852ac3cf540edb06ccc0153b38b5af | https://osv.dev/vulnerability/CVE-2025-38152 | | osv | https://git.kernel.org/stable/c/e6015ca453b82ec54aec9682dcc38773948fcc48 | https://osv.dev/vulnerability/CVE-2025-38152 | | osv | https://git.kernel.org/stable/c/efdde3d73ab25cef4ff2d06783b0aad8b093c0e4 | https://osv.dev/vulnerability/CVE-2025-38152 | | osv | https://security-tracker.debian.org/tracker/CVE-2025-38152 | https://osv.dev/vulnerability/CVE-2025-38152 | </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/068f6648ff5b0c7adeb6c363fae7fb188aa178fa | | nvd | | | | https://git.kernel.org/stable/c/2df19f5f6f72da6f6ebab7cdb3a3b9f7686bb476 | | nvd | | | | https://git.kernel.org/stable/c/6e66bca8cd51ebedd5d32426906a38e4a3c69c5f | | nvd | | | | https://git.kernel.org/stable/c/7c6bb82a6f3da6ab2d3fbea03901482231708b98 | | nvd | | | | https://git.kernel.org/stable/c/8e0fd2a3b9852ac3cf540edb06ccc0153b38b5af | | nvd | | | | https://git.kernel.org/stable/c/e6015ca453b82ec54aec9682dcc38773948fcc48 | | nvd | | | | https://git.kernel.org/stable/c/efdde3d73ab25cef4ff2d06783b0aad8b093c0e4 | | nvd | </details> 二、漏洞分析结构反馈 影响性分析说明: In the Linux kernel, the following vulnerability has been resolved:remoteproc: core: Clear table_sz when rproc_shutdownThere is case as below could trigger kernel dump:Use U-Boot to start remote processor(rproc) with resource tablepublished to a fixed address by rproc. After Kernel boots up,stop the rproc, load a new firmware which doesn t have resource table,and start rproc.When starting rproc with a firmware not have resource table,`memcpy(loaded_table, rproc->cached_table, rproc->table_sz)` willtrigger dump, because rproc->cache_table is set to NULL during the laststop operation, but rproc->table_sz is still valid.This issue is found on i.MX8MP and i.MX9.Dump as below:Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000Mem abort info: ESR = 0x0000000096000004 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x04: level 0 translation faultData abort info: ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 CM = 0, WnR = 0, TnD = 0, TagAccess = 0 GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0user pgtable: 4k pages, 48-bit VAs, pgdp=000000010af63000[0000000000000000] pgd=0000000000000000, p4d=0000000000000000Internal error: Oops: 0000000096000004 [#1] PREEMPT SMPModules linked in:CPU: 2 UID: 0 PID: 1060 Comm: sh Not tainted 6.14.0-rc7-next-20250317-dirty #38Hardware name: NXP i.MX8MPlus EVK board (DT)pstate: a0000005 (NzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)pc : __pi_memcpy_generic+0x110/0x22clr : rproc_start+0x88/0x1e0Call trace: __pi_memcpy_generic+0x110/0x22c (P) rproc_boot+0x198/0x57c state_store+0x40/0x104 dev_attr_store+0x18/0x2c sysfs_kf_write+0x7c/0x94 kernfs_fop_write_iter+0x120/0x1cc vfs_write+0x240/0x378 ksys_write+0x70/0x108 __arm64_sys_write+0x1c/0x28 invoke_syscall+0x48/0x10c el0_svc_common.constprop.0+0xc0/0xe0 do_el0_svc+0x1c/0x28 el0_svc+0x30/0xcc el0t_64_sync_handler+0x10c/0x138 el0t_64_sync+0x198/0x19cClear rproc->table_sz to address the issue. 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-24.03-LTS(6.6.0):受影响 2.openEuler-24.03-LTS-SP1(6.6.0):受影响 3.openEuler-24.03-LTS-SP2(6.6.0):受影响 4.openEuler-20.03-LTS-SP4(4.19.90):不受影响 5.openEuler-22.03-LTS-SP3(5.10.0):不受影响 6.openEuler-22.03-LTS-SP4(5.10.0):不受影响 7.master(6.12.33):不受影响 8.openEuler-24.03-LTS-Next(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):否 原因说明: 1.openEuler-24.03-LTS(6.6.0):正常修复 2.openEuler-24.03-LTS-SP1(6.6.0):正常修复 3.openEuler-24.03-LTS-SP2(6.6.0):正常修复 4.master(6.12.33):不受影响-漏洞代码不能被攻击者触发 5.openEuler-24.03-LTS-Next(6.6.0):不受影响-漏洞代码不能被攻击者触发 6.openEuler-20.03-LTS-SP4(4.19.90):不受影响-漏洞代码不存在 7.openEuler-22.03-LTS-SP3(5.10.0):不受影响-漏洞代码不存在 8.openEuler-22.03-LTS-SP4(5.10.0):不受影响-漏洞代码不存在 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2025-1870
一、漏洞信息 漏洞编号:[CVE-2025-38152](https://nvd.nist.gov/vuln/detail/CVE-2025-38152) 漏洞归属组件:[kernel](https://gitee.com/src-openeuler/kernel) 漏洞归属的版本:4.19.140,4.19.194,4.19.90,5.10.0,6.1.19,6.4.0,6.6.0 CVSS V3.0分值: BaseScore:5.5 Medium Vector:CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H 漏洞简述: In the Linux kernel, the following vulnerability has been resolved:remoteproc: core: Clear table_sz when rproc_shutdownThere is case as below could trigger kernel dump:Use U-Boot to start remote processor(rproc) with resource tablepublished to a fixed address by rproc. After Kernel boots up,stop the rproc, load a new firmware which doesn t have resource table,and start rproc.When starting rproc with a firmware not have resource table,`memcpy(loaded_table, rproc->cached_table, rproc->table_sz)` willtrigger dump, because rproc->cache_table is set to NULL during the laststop operation, but rproc->table_sz is still valid.This issue is found on i.MX8MP and i.MX9.Dump as below:Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000Mem abort info: ESR = 0x0000000096000004 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x04: level 0 translation faultData abort info: ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 CM = 0, WnR = 0, TnD = 0, TagAccess = 0 GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0user pgtable: 4k pages, 48-bit VAs, pgdp=000000010af63000[0000000000000000] pgd=0000000000000000, p4d=0000000000000000Internal error: Oops: 0000000096000004 [#1] PREEMPT SMPModules linked in:CPU: 2 UID: 0 PID: 1060 Comm: sh Not tainted 6.14.0-rc7-next-20250317-dirty #38Hardware name: NXP i.MX8MPlus EVK board (DT)pstate: a0000005 (NzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)pc : __pi_memcpy_generic+0x110/0x22clr : rproc_start+0x88/0x1e0Call trace: __pi_memcpy_generic+0x110/0x22c (P) rproc_boot+0x198/0x57c state_store+0x40/0x104 dev_attr_store+0x18/0x2c sysfs_kf_write+0x7c/0x94 kernfs_fop_write_iter+0x120/0x1cc vfs_write+0x240/0x378 ksys_write+0x70/0x108 __arm64_sys_write+0x1c/0x28 invoke_syscall+0x48/0x10c el0_svc_common.constprop.0+0xc0/0xe0 do_el0_svc+0x1c/0x28 el0_svc+0x30/0xcc el0t_64_sync_handler+0x10c/0x138 el0t_64_sync+0x198/0x19cClear rproc->table_sz to address the issue. 漏洞公开时间:2025-04-18 15:15:43 漏洞创建时间:2025-04-18 23:59:12 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2025-38152 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/068f6648ff5b0c7adeb6c363fae7fb188aa178fa | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/2df19f5f6f72da6f6ebab7cdb3a3b9f7686bb476 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/6e66bca8cd51ebedd5d32426906a38e4a3c69c5f | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/7c6bb82a6f3da6ab2d3fbea03901482231708b98 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/8e0fd2a3b9852ac3cf540edb06ccc0153b38b5af | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/e6015ca453b82ec54aec9682dcc38773948fcc48 | | | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | https://git.kernel.org/stable/c/efdde3d73ab25cef4ff2d06783b0aad8b093c0e4 | | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2025-38152 | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | suse_bugzilla | https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2025/CVE-2025-38152.mbox | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | suse_bugzilla | https://git.kernel.org/stable/c/6e66bca8cd51ebedd5d32426906a38e4a3c69c5f | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | suse_bugzilla | https://git.kernel.org/stable/c/e6015ca453b82ec54aec9682dcc38773948fcc48 | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | suse_bugzilla | https://git.kernel.org/stable/c/7c6bb82a6f3da6ab2d3fbea03901482231708b98 | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | suse_bugzilla | https://git.kernel.org/stable/c/2df19f5f6f72da6f6ebab7cdb3a3b9f7686bb476 | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | suse_bugzilla | https://git.kernel.org/stable/c/8e0fd2a3b9852ac3cf540edb06ccc0153b38b5af | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | suse_bugzilla | https://git.kernel.org/stable/c/068f6648ff5b0c7adeb6c363fae7fb188aa178fa | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | suse_bugzilla | https://git.kernel.org/stable/c/efdde3d73ab25cef4ff2d06783b0aad8b093c0e4 | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | suse_bugzilla | https://bugzilla.redhat.com/show_bug.cgi?id=2360928 | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2025-38152 | https://bugzilla.suse.com/show_bug.cgi?id=1241627 | | redhat_bugzilla | https://lore.kernel.org/linux-cve-announce/2025041817-CVE-2025-38152-c8b3@gregkh/T | https://bugzilla.redhat.com/show_bug.cgi?id=2360928 | | anolis | | https://anas.openanolis.cn/cves/detail/CVE-2025-38152 | | mageia | | http://advisories.mageia.org/MGASA-2025-0142.html | | osv | https://git.kernel.org/stable/c/068f6648ff5b0c7adeb6c363fae7fb188aa178fa | https://osv.dev/vulnerability/CVE-2025-38152 | | osv | https://git.kernel.org/stable/c/2df19f5f6f72da6f6ebab7cdb3a3b9f7686bb476 | https://osv.dev/vulnerability/CVE-2025-38152 | | osv | https://git.kernel.org/stable/c/6e66bca8cd51ebedd5d32426906a38e4a3c69c5f | https://osv.dev/vulnerability/CVE-2025-38152 | | osv | https://git.kernel.org/stable/c/7c6bb82a6f3da6ab2d3fbea03901482231708b98 | https://osv.dev/vulnerability/CVE-2025-38152 | | osv | https://git.kernel.org/stable/c/8e0fd2a3b9852ac3cf540edb06ccc0153b38b5af | https://osv.dev/vulnerability/CVE-2025-38152 | | osv | https://git.kernel.org/stable/c/e6015ca453b82ec54aec9682dcc38773948fcc48 | https://osv.dev/vulnerability/CVE-2025-38152 | | osv | https://git.kernel.org/stable/c/efdde3d73ab25cef4ff2d06783b0aad8b093c0e4 | https://osv.dev/vulnerability/CVE-2025-38152 | | osv | https://security-tracker.debian.org/tracker/CVE-2025-38152 | https://osv.dev/vulnerability/CVE-2025-38152 | </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/068f6648ff5b0c7adeb6c363fae7fb188aa178fa | | nvd | | | | https://git.kernel.org/stable/c/2df19f5f6f72da6f6ebab7cdb3a3b9f7686bb476 | | nvd | | | | https://git.kernel.org/stable/c/6e66bca8cd51ebedd5d32426906a38e4a3c69c5f | | nvd | | | | https://git.kernel.org/stable/c/7c6bb82a6f3da6ab2d3fbea03901482231708b98 | | nvd | | | | https://git.kernel.org/stable/c/8e0fd2a3b9852ac3cf540edb06ccc0153b38b5af | | nvd | | | | https://git.kernel.org/stable/c/e6015ca453b82ec54aec9682dcc38773948fcc48 | | nvd | | | | https://git.kernel.org/stable/c/efdde3d73ab25cef4ff2d06783b0aad8b093c0e4 | | nvd | </details> 二、漏洞分析结构反馈 影响性分析说明: In the Linux kernel, the following vulnerability has been resolved:remoteproc: core: Clear table_sz when rproc_shutdownThere is case as below could trigger kernel dump:Use U-Boot to start remote processor(rproc) with resource tablepublished to a fixed address by rproc. After Kernel boots up,stop the rproc, load a new firmware which doesn t have resource table,and start rproc.When starting rproc with a firmware not have resource table,`memcpy(loaded_table, rproc->cached_table, rproc->table_sz)` willtrigger dump, because rproc->cache_table is set to NULL during the laststop operation, but rproc->table_sz is still valid.This issue is found on i.MX8MP and i.MX9.Dump as below:Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000Mem abort info: ESR = 0x0000000096000004 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x04: level 0 translation faultData abort info: ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 CM = 0, WnR = 0, TnD = 0, TagAccess = 0 GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0user pgtable: 4k pages, 48-bit VAs, pgdp=000000010af63000[0000000000000000] pgd=0000000000000000, p4d=0000000000000000Internal error: Oops: 0000000096000004 [#1] PREEMPT SMPModules linked in:CPU: 2 UID: 0 PID: 1060 Comm: sh Not tainted 6.14.0-rc7-next-20250317-dirty #38Hardware name: NXP i.MX8MPlus EVK board (DT)pstate: a0000005 (NzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)pc : __pi_memcpy_generic+0x110/0x22clr : rproc_start+0x88/0x1e0Call trace: __pi_memcpy_generic+0x110/0x22c (P) rproc_boot+0x198/0x57c state_store+0x40/0x104 dev_attr_store+0x18/0x2c sysfs_kf_write+0x7c/0x94 kernfs_fop_write_iter+0x120/0x1cc vfs_write+0x240/0x378 ksys_write+0x70/0x108 __arm64_sys_write+0x1c/0x28 invoke_syscall+0x48/0x10c el0_svc_common.constprop.0+0xc0/0xe0 do_el0_svc+0x1c/0x28 el0_svc+0x30/0xcc el0t_64_sync_handler+0x10c/0x138 el0t_64_sync+0x198/0x19cClear rproc->table_sz to address the issue. 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-24.03-LTS(6.6.0):受影响 2.openEuler-24.03-LTS-SP1(6.6.0):受影响 3.openEuler-24.03-LTS-SP2(6.6.0):受影响 4.openEuler-20.03-LTS-SP4(4.19.90):不受影响 5.openEuler-22.03-LTS-SP3(5.10.0):不受影响 6.openEuler-22.03-LTS-SP4(5.10.0):不受影响 7.master(6.12.33):不受影响 8.openEuler-24.03-LTS-Next(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):否 原因说明: 1.openEuler-24.03-LTS(6.6.0):正常修复 2.openEuler-24.03-LTS-SP1(6.6.0):正常修复 3.openEuler-24.03-LTS-SP2(6.6.0):正常修复 4.master(6.12.33):不受影响-漏洞代码不能被攻击者触发 5.openEuler-24.03-LTS-Next(6.6.0):不受影响-漏洞代码不能被攻击者触发 6.openEuler-20.03-LTS-SP4(4.19.90):不受影响-漏洞代码不存在 7.openEuler-22.03-LTS-SP3(5.10.0):不受影响-漏洞代码不存在 8.openEuler-22.03-LTS-SP4(5.10.0):不受影响-漏洞代码不存在 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2025-1870
Comments (
11
)
Sign in
to comment
Status
Done
Backlog
已挂起
Doing
Done
Declined
Assignees
Not set
CTC-Xibo.Wang
CTC-XiboWang
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
Comment
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