394 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

ext4文件系统上触发open时发现softlockup

已完成
缺陷
创建于  
2020-02-28 15:45

1.使用附件的tmp.c编译
2.tmp.img挂载到tmp_dir,执行./tmp tmp_dir,出现softlockup

RELEASE: 4.19.95-2002.1.0.0027.aarch64
PANIC: "Kernel panic - not syncing: softlockup: hung tasks"

crash> bt
PID: 3811 TASK: ffff8000f6dc5d00 CPU: 0 COMMAND: "arm_syscall-tmp"
bt: invalid kernel virtual address: 0 type: "IRQ stack contents"
bt: read of IRQ stack at 0 failed
#0 [ffff00000800fb30] __crash_kexec at ffff0000081b0cd0
#1 [ffff00000800fcc0] panic at ffff0000080e9b58
#2 [ffff00000800fda0] watchdog_timer_fn at ffff0000081e808c
#3 [ffff00000800fe20] __hrtimer_run_queues at ffff00000818ac10
#4 [ffff00000800fea0] hrtimer_interrupt at ffff00000818bb7c
#5 [ffff00000800ff10] arch_timer_handler_virt at ffff00000880d334
#6 [ffff00000800ff30] handle_percpu_devid_irq at ffff00000816ab9c
#7 [ffff00000800ff70] generic_handle_irq at ffff000008162ee0
#8 [ffff00000800ff90] __handle_domain_irq at ffff0000081637fc
#9 [ffff00000800ffd0] gic_handle_irq at ffff0000080816c0
--- ---
#10 [ffff00000d52f810] el1_irq at ffff0000080834b4
PC: ffff0000089de3dc [__ll_sc_atomic_sub_return_release+20]
LR: ffff00000235eb38 [ext4_es_lookup_extent+192]
SP: ffff00000d52f820 PSTATE: a0000005
X29: ffff00000d52f820 X28: 0000000000000000 X27: 0000000000000007
X26: 0000000014f01be0 X25: 0000000000000000 X24: 0000000000000000
X23: 0000000000000001 X22: ffff8000412bf6a8 X21: ffff00000d52f8c0
X20: ffff8000412bf3e8 X19: 0000000014f01be4 X18: 0000000000000000
X17: 0000000000000000 X16: 0000000000000000 X15: 0000000000000000
X14: 0000000000000000 X13: 0000000000000000 X12: 0000000000000010
X11: 0000000000000010 X10: ffff800060272000 X9: 0000000000000000
X8: ffff8000ff9783e8 X7: 0000000000000000 X6: ffff00000d52fae0
X5: 0000000000000000 X4: ffff00000d52fa58 X3: 00000000fffffffe
X2: ffff8000412bf6a8 X1: ffff8000412bf6a8 X0: 0000000000000200
#11 [ffff00000d52f820] __ll_sc_atomic_sub_return_release at ffff0000089de3d8
#12 [ffff00000d52f860] ext4_map_blocks at ffff00000236f410 [ext4]
#13 [ffff00000d52f8f0] ext4_getblk at ffff000002370910 [ext4]
#14 [ffff00000d52f950] ext4_bread_batch at ffff000002370c18 [ext4]
#15 [ffff00000d52f9b0] ext4_find_entry at ffff00000238acd8 [ext4]
#16 [ffff00000d52faa0] ext4_lookup at ffff00000238b058 [ext4]
#17 [ffff00000d52faf0] lookup_open at ffff000008345f34
#18 [ffff00000d52fb80] do_last at ffff000008346748
#19 [ffff00000d52fc30] path_openat at ffff000008346c94
#20 [ffff00000d52fcb0] do_filp_open at ffff00000834836c
#21 [ffff00000d52fdd0] do_sys_open at ffff000008330a4c
#22 [ffff00000d52fe40] __arm64_sys_openat at ffff000008330b40
#23 [ffff00000d52fe60] el0_svc_common at ffff0000080982a4
#24 [ffff00000d52fea0] el0_svc_handler at ffff000008098394
#25 [ffff00000d52fff0] el0_svc at ffff000008084184

附件
poc.rar(18.54 KB)下载
ltx 2020-02-28 15:45

评论 (2)

Hey @ltx, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developpers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/command.md to find the details.

ltx 创建了缺陷
ltx 关联仓库设置为openEuler/kernel
ltx 上传了附件poc.rar
ltx 修改了描述
ltx 修改了描述
ltx 修改了描述
ltx 负责人设置为hy
展开全部操作日志

The issue has been solved in openeuler-2020-02-29
The commit id is: 2ec9c93cfac0ff65b85957e7bc18320242afffde

hy 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936 5601591 lutianxiong 1587133339
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助