10 Star 10 Fork 33

src-openEuler / secGear

 / 详情

安全通道功能,client释放通道后,server端报错

已验收
缺陷
创建于  
2023-03-07 20:04

运行server,运行client。client执行完毕释放通道,等待一段时间。

cpu15/39739:03/07 14:49:26.551 [rsa-demo-1] [secGear][STRACE] enclave send secret:This is enclave secret 888

cpu15/39739: [HM] [ERROR][2341]vmem_as_ondemand_prepare failed
cpu15/39739: [HM] [ERROR][1855]process b00000029 (tid: 42) data abort:
cpu15/39739: [HM] [ERROR][1857]Bad memory access on address: 0x240103000000000, fault_code: 0x92000004
cpu15/39739: [HM]
cpu15/39739: [HM] Dump task states for tcb
cpu15/39739: [HM] ----------
cpu15/39739: [HM] name=[rsa-demo] tid=42 is-idle=0 is-curr=0
cpu15/39739: [HM] state=BLOCKED@MEMFAULT sched.pol=0 prio=46 queued=1
cpu15/39739: [HM] aff[0]=ffffffffffffffff aff[1]=ffffffffffffffff
cpu15/39739: [HM] flags=0 smc-switch=0 ca=39739 prefer-ca=39739
cpu15/39739: [HM] Registers dump:
cpu15/39739: [HM] ----------
cpu15/39739: [HM] 64 bits userspace stack dump:
cpu15/39739: [HM] ----------
cpu15/39739: [HM] <free+0x30/0x40c>
cpu15/39739: [HM] <del_ecdh_ctx+0x30/0x5c>
cpu15/39739: [HM] <enclave_stop_sec_chl+0x38/0x74>
cpu15/39739: [HM] <ecall_enclave_stop_sec_chl+0xb4/0xec>
cpu15/39739: [HM] <TA_InvokeCommandEntryPoint+0x19c/0x264>
cpu15/39739: [HM] <tee_task_entry+0x328/0x9e0>
cpu15/39739: [HM] <thread_func_wrapper+0x40/0x6c>
cpu15/39739: [HM] Dump task states END
cpu15/39739: [HM]

评论 (2)

lijiaming 创建了缺陷

Hi lijiaming666, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-confidential-computing, and any of the maintainers: @chenmaodong , @itrustee_kernel , @dongdo-yao , @blue , @houmingyong , @modric , @hzero1996

openeuler-ci-bot 添加了
 
sig/sig-confidential
标签
lijiaming 修改了描述
houmingyong 负责人设置为houmingyong

服务端维护一个连接链表

  1. client正常结束后,会通知服务端释放对应node
  2. client异常后,未通知到服务端,服务端超时检查会释放对应node

问题:链表删除存在问题,导致重复释放。

lijiaming 任务状态待办的 修改为已验收

登录 后才可以发表评论

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

搜索帮助

344bd9b3 5694891 D2dac590 5694891