Repository navigation
fix(cve): CVE-2026-125203 - 兼容性适配修改 - #61
Conversation
|
/hold |
|
TAG Bot TAG: 7%6.1.5-0deepin16 |
|
@hudeng-go pr 存在冲突,需要 rebase |
|
收到:rebase ffmpeg PR #61 并解决冲突。 |
… cover every subpacket channel CVE: CVE-2026-125203 (high) - libavcodec/cook: the channel mask was not checked against the number of subpacket channels, so a crafted Cook multichannel stream could describe more channels than the channel mask covers, leading to an out of array write. Require av_popcount(channel_mask) to equal total_channels, otherwise reject the stream with AVERROR_INVALIDDATA. Upstream: FFmpeg/FFmpeg@3e09f5e Co-authored-by: hudeng <hudeng@deepin.org> Generated-By: deepseek-v4-flash
CVE: CVE-2026-125203 - 兼容性适配:上游 3e09f5e2 的检查引用了 total_channels 变量,但该变量在 6.1 分支(libavcodec 60)中不存在(上游更新版本由子包循环另行维护该计数)。改为在 cook_decode_init 中声明 int total_channels = 0 并在子包解析循环内累加 q->subpacket[s].num_channels,使 channel_mask 覆盖校验与上游语义等价。 Co-authored-by: hudeng <hudeng@deepin.org> Generated-By: deepseek-v4-flash
…id integer overflow CVE: CVE-2026-125267 (high) - APAC 解码器中 bitstream 缓冲区大小计算存在整数溢出,可导致内存耗尽(OOM)及越界访问 Upstream: FFmpeg/FFmpeg@63958ce2b5dd1b22f534fc968c86329cbbceef07,https://github.com/FFmpeg/FFmpeg/commit/e15ddb7f9a2f9b3ab8ac305efb6f94ddc18463d0 Co-authored-by: hudeng <hudeng@deepin.org> Generated-By: deepseek-v4-flash
…ite input CVE: CVE-2026-125228 (medium) - FFmpeg 8.1.3 之前版本及 9.x 9.0.2 之前的 libavcodec/vorbisenc.c 的 put_vector() 存在越界读取漏洞:当输入含 NaN 浮点样本时,codebook 条目保持为 -1,导致数组前的堆内存读取,可使应用崩溃或将相邻堆内存泄漏到输出中。 Upstream: FFmpeg/FFmpeg@e33548a Co-authored-by: hudeng <hudeng@deepin.org> Generated-By: deepseek-v4-flash
67e51d7 to
e8fca40
Compare
|
已 rebase 并解决冲突,PR 可评审:#61 现为新 head 验证: 仍需人工合并:PR 上还有 CI 的 do-not-merge/hold 标签(quilt 上游版本校验,infra-settings#134),且 tide 需要 OWNERS 审批。 |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: lzwind 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 |
|
/integrate |
|
AutoIntegrationPr Bot |
CVE: CVE-2026-125203 - 兼容性适配:上游 3e09f5e2 的检查引用了 total_channels 变量,但该变量在 6.1 分支(libavcodec 60)中不存在(上游更新版本由子包循环另行维护该计数)。改为在 cook_decode_init 中声明 int total_channels = 0 并在子包解析循环内累加 q->subpacket[s].num_channels,使 channel_mask 覆盖校验与上游语义等价。
Co-authored-by: hudeng hudeng@deepin.org
Generated-By: deepseek-v4-flash
CVE: CVE-2026-125267 (high) - APAC 解码器中 bitstream 缓冲区大小计算存在整数溢出,可导致内存耗尽(OOM)及越界访问
Upstream: FFmpeg/FFmpeg@63958ce2b5dd1b22f534fc968c86329cbbceef07,https://github.com/FFmpeg/FFmpeg/commit/e15ddb7f9a2f9b3ab8ac305efb6f94ddc18463d0
Co-authored-by: hudeng hudeng@deepin.org
Generated-By: deepseek-v4-flash
CVE: CVE-2026-125228 (medium) - FFmpeg 8.1.3 之前版本及 9.x 9.0.2 之前的 libavcodec/vorbisenc.c 的 put_vector() 存在越界读取漏洞:当输入含 NaN 浮点样本时,codebook 条目保持为 -1,导致数组前的堆内存读取,可使应用崩溃或将相邻堆内存泄漏到输出中。
Upstream: FFmpeg/FFmpeg@e33548a
Co-authored-by: hudeng hudeng@deepin.org
Generated-By: deepseek-v4-flash
Rebase onto current master
Rebased onto
master(b82a695); the branch had drifted a long way behind and conflicted indebian/changeloganddebian/patches/series.debian/changelog: master's7:6.1.5-0deepin15entry is kept, and the three CVE entries are collected in a new7:6.1.5-0deepin16entry. The previous head reuseddeepin13, which is already tagged.debian/patches/series: master's ordering is preserved and the three new patches are appended afterAdd-slice-param-of-vaapi-hevc.patch.Diff against master is limited to the three CVE patches,
debian/patches/seriesanddebian/changelog; no unrelated master changes are reverted.Verification
quilt push -aapplies the whole series cleanly (CVE-2026-125203 second hunk applies with a 7-line offset).configure --disable-x86asmdue to missing nasm locally, thenmake -j16).deepin_developx86_64 and aarch64 builds both pass for7:6.1.5-0deepin16; the generated source package matches the gitdebian/tree.The PR remains on
/holdper deepin-community/infra-settings#134 and still needs an approver.