Skip to content

corosync: Fix CVE-2026-35091 and CVE-2026-35092#1

Open
deepin-ci-robot wants to merge 1 commit intomasterfrom
fix/CVE-2026-35092-multi
Open

corosync: Fix CVE-2026-35091 and CVE-2026-35092#1
deepin-ci-robot wants to merge 1 commit intomasterfrom
fix/CVE-2026-35092-multi

Conversation

@deepin-ci-robot
Copy link
Copy Markdown
Contributor

CVE 修复

本 PR 修复了两个安全漏洞:

CVE-2026-35091

漏洞描述: 错误的返回值漏洞导致越界读取

check_memb_commit_token_sanity 函数中,当消息长度不足时,函数错误地返回了 0(成功)而不是 -1(失败)。这可能导致:

  • 越界读取
  • 拒绝服务攻击
  • 潜在的内存内容泄露

影响: 使用 totemudp/totemudpu 模式(默认配置)的 Corosync 部署

CVE-2026-35092

漏洞描述: 整数溢出漏洞导致拒绝服务

check_memb_join_sanity 函数中,32 位无符号网络值 proc_list_entriesfailed_list_entries 在提升为 size_t 之前相加,允许整数溢出(回绕),导致 required_len 计算错误。

影响: 使用 totemudp/totemudpu 模式的 Corosync 部署

上游修复

测试

  • ✅ quilt pop -a 成功
  • ✅ quilt push -a 成功
  • ✅ 补丁正确应用

修改文件

  • debian/patches/cve_2026_35092_35091.patch: 新增安全补丁
  • debian/patches/series: 追加补丁到末尾
  • debian/changelog: 更新版本和修复说明

CVE-2026-35091: Fix wrong return value in memb_commit_token sanity check
- Previously, check_memb_commit_token_sanity returned 0 (success) instead
  of -1 (failure) when the message was too short
- This could lead to out-of-bounds read and denial of service

CVE-2026-35092: Fix integer overflow in memb_join_sanity
- The 32-bit unsigned network values proc_list_entries and failed_list_entries
  were added together before being promoted to size_t
- This allowed integer overflow (wraparound) and resulted in incorrectly
  small required_len calculation

Upstream: corosync/corosync@a16614a
Upstream: corosync/corosync@4082294

Generated-By: uos/glm-5.1
Co-Authored-By: hudeng <hudeng@deepin.org>
@deepin-ci-robot
Copy link
Copy Markdown
Contributor Author

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign zeno-sole for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@github-actions
Copy link
Copy Markdown

TAG Bot

TAG: 3.1.5-2deepin1
EXISTED: no
DISTRIBUTION: unstable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants