corosync: Fix CVE-2026-35091 and CVE-2026-35092#1
Open
deepin-ci-robot wants to merge 1 commit intomasterfrom
Open
corosync: Fix CVE-2026-35091 and CVE-2026-35092#1deepin-ci-robot wants to merge 1 commit intomasterfrom
deepin-ci-robot wants to merge 1 commit intomasterfrom
Conversation
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>
Contributor
Author
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
TAG Bot TAG: 3.1.5-2deepin1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_entries和failed_list_entries在提升为size_t之前相加,允许整数溢出(回绕),导致required_len计算错误。影响: 使用 totemudp/totemudpu 模式的 Corosync 部署
上游修复
测试
修改文件
debian/patches/cve_2026_35092_35091.patch: 新增安全补丁debian/patches/series: 追加补丁到末尾debian/changelog: 更新版本和修复说明