Closed
fix(cve): 修复 CVE-2026-6862 在 efivar 中的漏洞 #77
HouRunZeAdd on Apr 23Closed at 5 days ago
fix(cve): 修复 CVE-2026-6862 在 efivar 中的漏洞 #77
Closed
HouRunZeAdd on Apr 23Closed at 5 days ago
HouRunZe
Apr 23

📄 Problem (问题背景)

  • 涉及漏洞:

  • 风险描述:CVE-2026-6862 是一个 CWE-674(不受控递归)漏洞。libefiboot 的 device path node parser 在 efidp_is_valid() 函数中未验证 Length 字段至少为 4 字节,当 Length 为 0 或小于 4 时,会导致无限递归,进而引发栈溢出和拒绝服务攻击。

🛠️ Solution (解决方案)

  • 🔍 全量审计声明:

    重要:本项目已基于上游(Upstream)主分支(Main/Master)执行全量补丁审计。上游 Bugzilla 状态为 NEW,暂无官方修复。已根据 Red Hat mitigation 建议实现安全补丁。

  • 改动详情:

    • 补丁处理:新增 CVE-2026-6862-fix-infinite-recursion.patch,在 efidp_is_valid() 的 while 循环中添加节点最小长度检查,确保 hdr->length >= 4。
    • SPEC 变更:
      • 新增 Patch9004 引入安全补丁。
      • Release 版本号从 8 递增至 9。
      • 在 %changelog 中增加修复记录。

🔗 Reference (参考资料)

此PR由AI与人协作完成,如有疑问或需要技术支持,请联系infra sig团队获取帮助

likedislike
The current Pull Request has been closed by openeuler-ci-bot.
HHouRunZe
Apr 23 Created pull request, commit 97283e06
HHouRunZe
Apr 23 Associated issue: CVE-2026-6862
openeuler-ci-botopeneuler-ci-botCollaborators
Apr 23 Set t_feng,overweight,zhuchunyi,yanan-rock,compile_success,zhangqiumiao,anonymous_z,han_hui_hui,shenyangyang as approver
openeuler-ci-botopeneuler-ci-botCollaborators
Apr 23 Added label: sig/sig-OS-Builder
openeuler-ci-bot
openeuler-ci-botCollaborators
Apr 23 Comments:

Welcome To openEuler Community

Hey @hourunze , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.

Contact Guide

If you have any questions, please contact the SIG: sig-OS-Builder ,
and any of the maintainers: @anonymous_z, @compile_success, @han_hui_hui, @overweight, @shenyangyang, @t_feng, @yanan-rock, @zhangqiumiao, @zhuchunyi ,
and any of the committers: @ouuleilei, @t_feng, @yanan-rock, @yue-yuankun, @zhangqiumiao .

likedislike
42 messages are collapsed here。 See more
overweightCollaborators
25 days ago Comments:

评审发现问题:1) 补丁头的 git index 行为 1234567..abcdefg,非真实 commit hash,疑似手工伪造的 diff,请提供真实上游 commit 或重新生成补丁;2) spec 变更删除了全部历史 changelog(38-1 到 38-8),不符合社区规范,请保留历史条目仅追加新条目。请修正后重新提交,暂不合入。

likedislike
yue-yuankunCollaborators
5 days ago Comments:

社区采用了 https://github.com/rhboot/efivar/pull/303 ,使用上游社区方案

likedislike
yue-yuankunCollaborators
5 days ago Comments:

/close

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
5 days ago Close pull request
yue-yuankunCollaborators
5 days ago Comments: