已开启
[安全审计] MKSH-CONF-003: 信号处理竞争条件的可利用性。`main.c` 的 `exinit()` 与 `histrap.c` 中 `setjmp`... #46
c_bing_b创建于 7月7日
openharmony_ci
7月7日 评论:
7月7日 评论:
感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 [@JerryH1011](https://gitcode.com/JerryH1011) [@LeonChan525](https://gitcode.com/LeonChan525) [@zhu-sheng-le](https://gitcode.com/zhu-sheng-le) 。如果需要调整订阅PR、Issue的变更状态,请访问链接。
Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer gitcode for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.


7月7日 添加了label:waiting_for_assign
安全审计问题确认 — MKSH-CONF-003
本 Issue 来自 AI Security Probe 7.0 对
openharmony/third_party_mksh的安全审计,属于问题确认表中待社区确认的问题。发生了什么问题?
信号处理竞争条件的可利用性。
main.c的exinit()与histrap.c中setjmp/siglongjmp的交互存在竞态窗口。如果信号处理函数中调用了非异步信号安全的函数,可能导致未定义行为。来源: 威胁建模 / 风险接口扫描
当前风险判断: Confirmed HIGH
证据位置:
main.c exinit() + histrap.c关联修复项: MKSH-T15 (P1)
建议修复方式: 审计 siglongjmp 使用路径,确保信号安全函数调用
需要确认的问题
建议确认方式
版本或分支信息