Merged
CVE修复: kernel_linux_6.6 master (325个安全补丁) - 2026-11-23 #464
CVE修复: kernel_linux_6.6 master (325个安全补丁) - 2026-11-23 #464
Merged
wanghao794Add on 8 days ago
wanghao794
wanghao794
8 days ago

CVE 修复列表

本 PR 包含 325 个 CVE 安全补丁的 cherry-pick,覆盖 master 分支上判定为受影响的所有漏洞。

修复统计

  • 直接 cherry-pick 成功: 325 个
  • 空提交(补丁已存在): 16 个
  • 冲突待 backport: 58 个
  • 不受影响: 8 个
  • 上游无补丁: 73 个
  • 未完成(pipeline): 5 个

涉及模块

文件系统(ext4/f2fs/exfat/nfs/ocfs2)、网络(netfilter/bluetooth/tcp/sctp)、安全(apparmor/selinux)、USB、HID、GPU、arch(arm64/x86/loongarch)等

关联 Issue: 待创建

likedislike
Pull Request has been successfully merged by openharmony_ci.
(Thank you for wanghao794's contribution.)
openharmony_ciopenharmony_ciCollaborators
8 days ago Added label: waiting_on_author
openharmony_ci
openharmony_ciCollaborators
8 days ago Comments:

感谢提交 Pull Requests!如果您提交的PR已经开发完毕,请评论 "start build" 触发门禁,更多交互操作,请访问OpenHarmony社区支持命令清单。如果需要调整订阅PR、Issue的变更状态,请访问订阅链接。


Thanks for submitting the pull request. If your Pull Request has already been developed, you can leave a "start build" comment to trigger the gated system. For more commands, please visit OpenHarmony Command List. If you need to change the subscription of a Pull Request or Issue, please visit the link.

likedislike
openharmony_ciopenharmony_ciCollaborators
8 days ago Added label: dco检查成功
lijiawei
lijiaweiCollaborators7 days agoStart code review2
net/ipv4/icmp.c
Outdated
@@ -1127,0 +1134,4 @@
1134+ * If IPv6 identifier lookup is unavailable, silently
1135+ * discard the request instead of misreporting NO_IF.
1136+ */
1137+ if (IS_ERR(dev))
lijiawei
lijiawei7 days agoComments:

[net/ipv4/icmp.c:1137] icmp_build_probe() 中对 ipv6_stub->ipv6_dev_find() 的返回值只增加了 IS_ERR(dev) 检查,未处理返回 NULL 的情况。6.6 基线中 ipv6_dev_find()(net/ipv6/addrconf.c)查找失败时返回 NULL 而非错误指针,且 !CONFIG_IPV6 时的内联 stub 也返回 NULL;若基线未引入将 NULL 改为 ERR_PTR 的配套改动(本 PR 中无 addrconf 相关补丁),该检查永远不会命中,紧随其后的 dev_hold(dev) 仍会空指针解引用,CVE 修复无效。需确认基线 ipv6_dev_find() 的返回值约定;若返回 NULL,应将条件改为 if (!dev)(或同时覆盖 NULL 与 ERR_PTR)后再走失败路径。

likedislike
System
System MessageSystem
7 days ago Comments:

changed this line on abef36c3 view diff detail

likedislike
lijiawei
lijiaweiCollaborators
7 days ago Comments:

代码检视完成 — 2026年11月24日 09:48

已完成对 openharmony/kernel_linux_6.6#464(CVE修复:325个安全补丁)的全量代码检视。

检视范围: 320 个变更文件(新增约 3184 行)全部审查完毕。按风险分级:高风险(net/security/crypto/mm/fs 及 additions>50)171 个逐函数审查,中风险(drivers)83 个按 hunk 审查,低风险 66 个快速扫描。其中 20 个文件因平台 diff 折叠,已通过 base..head 全文比对重新取回真实 diff 后补审。

共发布 1 条评审意见:

# 文件 行号 严重程度 意见摘要
1 net/ipv4/icmp.c 1137 严重 ipv6_dev_find() 在 6.6 基线查找失败返回 NULL 而非 ERR_PTR,新增的 IS_ERR(dev) 检查不会命中,dev_hold(dev) 仍会空指针解引用,需改为 !dev 或补齐 addrconf 侧 ERR_PTR 改动

严重程度统计: 严重: 1 / 重要: 0 / 次要: 0

关键发现:

本次为上游 CVE 修复的批量回合,绝大多数补丁与上游语义一致、上下文匹配、锁与引用配对正确。唯一实质性问题集中在 icmp.c 的 CVE 修复 backport 不完整:该修复依赖上游将 ipv6_dev_find() 返回值由 NULL 改为 ERR_PTR(-ENODEV) 的配套改动,而本 PR 未包含 net/ipv6/addrconf.c 的相应变更,导致新增的 IS_ERR() 判断形同虚设,NULL 路径仍会触发空指针解引用。

审查中还针对若干“依赖符号是否存在于 6.6 基线”的疑点(如 spi_cleanup、hci_conn_valid、regulator_lock_two、skb_zcopy_downgrade_managed、fbcon_delete_modelist、两参数 fs_put_dax、guard()/scoped_guard() 的 cleanup.h 依赖)逐一拉取基线源码核实,均确认基线已具备,不构成问题,故未发布相应评论。

请查看上方行内评审意见并处理。如有疑问可在对应评论下回复讨论。

likedislike
92 messages are collapsed here。 See more
lijiaweilijiaweiCollaborators
1 day ago Approval passed
openharmony_ciopenharmony_ciCollaborators
1 day ago Closed associated issue
openharmony_ciopenharmony_ciCollaborators
1 day ago Merged pull request, merge node SHA: 7446266c5403d259772d4ffc69be577f039990c2
openharmony_ciopenharmony_ciCollaborators
1 day ago Removed label: waiting_for_review
openharmony_ciopenharmony_ciCollaborators
1 day ago Added label: merged