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
458
Star
1.7K
Fork
1.9K
GVP
openEuler
/
kernel
Closed
Code
Issues
1271
Pull Requests
991
Wiki
Insights
Pipelines
Service
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.
cgroup oom后触发非法指针访问
Done
#I5MJU8
Bug
Tong Tiangen
Opened this issue
2022-08-16 15:54
<!-- #请根据issue的类型在标题右侧下拉框中选择对应的选项(需求、缺陷或CVE等)--> <!-- #请根据issue相关的版本在里程碑中选择对应的节点,若是与版本无关,请选择“不关联里程碑”--> 【标题描述】cgroup oom后出发非法指针访问 【环境信息】 硬件信息: 1) 裸机场景提供出问题的硬件信息; 2) 虚机场景提供虚机XML文件或者配置信息 软件信息: 1) OS版本及分支 2) 内核信息 3) 发现问题的组件版本信息 如果有特殊组网,请提供网络拓扑图 【问题复现步骤】 1、找了一个现成的cgroup组 把bash加进去 2、每隔10秒vi打开一个大文件 触发cgroup组oom_kill杀继承 存储环境持续10分钟左右 出现oops复位 出现概率(是否必现,概率性错误): 概率性错误 【预期结果】 不出现oops问题 【实际结果】 出现了oops 【附件信息】 <1>[24700.682554]Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 <1>[24700.682558]Mem abort info: <1>[24700.682559] ESR = 0x96000004 <1>[24700.682561] Exception class = DABT (current EL), IL = 32 bits <1>[24700.682562] SET = 0, FnV = 0 <1>[24700.682563] EA = 0, S1PTW = 0 <1>[24700.682564]Data abort info: <1>[24700.682565] ISV = 0, ISS = 0x00000004 <1>[24700.682566] CM = 0, WnR = 0 <1>[24700.682570]user pgtable: 4k pages, 48-bit VAs, pgdp = 00000000e29d3465 <1>[24700.682571][0000000000000000] pgd=0000000000000000 <0>[24700.682575]Internal error: Oops: 96000004 [#1] SMP <0>[24700.682578]Process cp (pid: 3495805, stack limit = 0x0000000000000000) <4>[24700.682582]CPU: 82 PID: 3495805 Comm: cp Tainted: P WC O K 4.19.90-vhulk2204.1.0.h1160.eulerosv2r10.aarch64 #1 <4>[24700.682584]Hardware name: PANGEA/STL6SPCA, BIOS BIOS TA Pangea4U4P - 32.11.60T13 07/20/2022 <4>[24700.682586]pstate: 60400009 (nZCv daif +PAN -UAO) <4>[24700.682594]pc : __entry_tramp_text_end+0x2688/0x6000 <4>[24700.682603]lr : copyout_generic_read+0x48/0x58 <4>[24700.682604]sp : ffff0000f67dbb80 <4>[24700.682604]x29: ffff0000f67dbb80 x28: ffff7e8987dda280 <4>[24700.682606]x27: 0000000000001000 x26: 0000aaaad5d13000 <4>[24700.682607]x25: 0000000000001000 x24: 0000000000000000 <4>[24700.682609]x23: 0000000000000000 x22: ffff0000f67dbd80 <4>[24700.682610]x21: ffff0000f67dbd48 x20: 0000000000001000 <4>[24700.682611]x19: ffffa261f768a000 x18: 0000000000000000 <4>[24700.682612]x17: 0000000000000000 x16: 0000000000000000 <4>[24700.682614]x15: 0000000000000000 x14: 0000e5536e1d4098 <4>[24700.682615]x13: dcad000000001577 x12: bcb20000000008db <4>[24700.682616]x11: be400000000000ae x10: 00002917308a3ebf <4>[24700.682617]x9 : 33c1000000001577 x8 : 84f60000000008db <4>[24700.682618]x7 : d2c00000000000ae x6 : 0000aaaad5d13000 <4>[24700.682620]x5 : 0000aaaad5d14000 x4 : 0000000000000000 <4>[24700.682621]x3 : 0000aaaad5d13000 x2 : 0000000000000f80 <4>[24700.682622]x1 : ffffa261f768a040 x0 : 0000aaaad5d13000 <4>[24700.682625]Call trace: <4>[24700.682627] __entry_tramp_text_end+0x2688/0x6000 <4>[24700.682629] copy_page_to_iter_generic_read+0xcc/0x258 <4>[24700.682641] generic_file_buffered_read+0x258/0xb00 <4>[24700.682645] generic_file_read_iter+0x114/0x190 <4>[24700.682757] nfs_file_read+0x8c/0x100 [nfs] <4>[24700.682765] __vfs_read+0x130/0x1a0 <4>[24700.682767] vfs_read+0x94/0x150 <4>[24700.682768] ksys_read+0x74/0xf0 <4>[24700.682769] __arm64_sys_read+0x24/0x30 <4>[24700.682782] el0_svc_common+0x80/0x200 <4>[24700.682783] el0_svc_handler+0x78/0xe0 <4>[24700.682787] el0_svc+0x10/0x5c0 <0>[24700.682790]Code: d65f03c0 d500419f eb0000df 54000081 (394001e3) <5>[24700.682791]kernel fault(0x1) notification starting on CPU 82
<!-- #请根据issue的类型在标题右侧下拉框中选择对应的选项(需求、缺陷或CVE等)--> <!-- #请根据issue相关的版本在里程碑中选择对应的节点,若是与版本无关,请选择“不关联里程碑”--> 【标题描述】cgroup oom后出发非法指针访问 【环境信息】 硬件信息: 1) 裸机场景提供出问题的硬件信息; 2) 虚机场景提供虚机XML文件或者配置信息 软件信息: 1) OS版本及分支 2) 内核信息 3) 发现问题的组件版本信息 如果有特殊组网,请提供网络拓扑图 【问题复现步骤】 1、找了一个现成的cgroup组 把bash加进去 2、每隔10秒vi打开一个大文件 触发cgroup组oom_kill杀继承 存储环境持续10分钟左右 出现oops复位 出现概率(是否必现,概率性错误): 概率性错误 【预期结果】 不出现oops问题 【实际结果】 出现了oops 【附件信息】 <1>[24700.682554]Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 <1>[24700.682558]Mem abort info: <1>[24700.682559] ESR = 0x96000004 <1>[24700.682561] Exception class = DABT (current EL), IL = 32 bits <1>[24700.682562] SET = 0, FnV = 0 <1>[24700.682563] EA = 0, S1PTW = 0 <1>[24700.682564]Data abort info: <1>[24700.682565] ISV = 0, ISS = 0x00000004 <1>[24700.682566] CM = 0, WnR = 0 <1>[24700.682570]user pgtable: 4k pages, 48-bit VAs, pgdp = 00000000e29d3465 <1>[24700.682571][0000000000000000] pgd=0000000000000000 <0>[24700.682575]Internal error: Oops: 96000004 [#1] SMP <0>[24700.682578]Process cp (pid: 3495805, stack limit = 0x0000000000000000) <4>[24700.682582]CPU: 82 PID: 3495805 Comm: cp Tainted: P WC O K 4.19.90-vhulk2204.1.0.h1160.eulerosv2r10.aarch64 #1 <4>[24700.682584]Hardware name: PANGEA/STL6SPCA, BIOS BIOS TA Pangea4U4P - 32.11.60T13 07/20/2022 <4>[24700.682586]pstate: 60400009 (nZCv daif +PAN -UAO) <4>[24700.682594]pc : __entry_tramp_text_end+0x2688/0x6000 <4>[24700.682603]lr : copyout_generic_read+0x48/0x58 <4>[24700.682604]sp : ffff0000f67dbb80 <4>[24700.682604]x29: ffff0000f67dbb80 x28: ffff7e8987dda280 <4>[24700.682606]x27: 0000000000001000 x26: 0000aaaad5d13000 <4>[24700.682607]x25: 0000000000001000 x24: 0000000000000000 <4>[24700.682609]x23: 0000000000000000 x22: ffff0000f67dbd80 <4>[24700.682610]x21: ffff0000f67dbd48 x20: 0000000000001000 <4>[24700.682611]x19: ffffa261f768a000 x18: 0000000000000000 <4>[24700.682612]x17: 0000000000000000 x16: 0000000000000000 <4>[24700.682614]x15: 0000000000000000 x14: 0000e5536e1d4098 <4>[24700.682615]x13: dcad000000001577 x12: bcb20000000008db <4>[24700.682616]x11: be400000000000ae x10: 00002917308a3ebf <4>[24700.682617]x9 : 33c1000000001577 x8 : 84f60000000008db <4>[24700.682618]x7 : d2c00000000000ae x6 : 0000aaaad5d13000 <4>[24700.682620]x5 : 0000aaaad5d14000 x4 : 0000000000000000 <4>[24700.682621]x3 : 0000aaaad5d13000 x2 : 0000000000000f80 <4>[24700.682622]x1 : ffffa261f768a040 x0 : 0000aaaad5d13000 <4>[24700.682625]Call trace: <4>[24700.682627] __entry_tramp_text_end+0x2688/0x6000 <4>[24700.682629] copy_page_to_iter_generic_read+0xcc/0x258 <4>[24700.682641] generic_file_buffered_read+0x258/0xb00 <4>[24700.682645] generic_file_read_iter+0x114/0x190 <4>[24700.682757] nfs_file_read+0x8c/0x100 [nfs] <4>[24700.682765] __vfs_read+0x130/0x1a0 <4>[24700.682767] vfs_read+0x94/0x150 <4>[24700.682768] ksys_read+0x74/0xf0 <4>[24700.682769] __arm64_sys_read+0x24/0x30 <4>[24700.682782] el0_svc_common+0x80/0x200 <4>[24700.682783] el0_svc_handler+0x78/0xe0 <4>[24700.682787] el0_svc+0x10/0x5c0 <0>[24700.682790]Code: d65f03c0 d500419f eb0000df 54000081 (394001e3) <5>[24700.682791]kernel fault(0x1) notification starting on CPU 82
Comments (
2
)
Sign in
to comment
Status
Done
Backlog
已挂起
Fixing
Confirmed
Done
Accepted
Canceled
Assignees
Not set
Labels
sig/Kernel
Not set
Projects
Unprojected
Unprojected
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)
参与者(2)
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
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