已开启
220-[fuzz]-euleros_h435_kasan-rpcb_enc_getaddr-null-ptr-deref fuzz问题单同步 #6612
peulerosci创建于  2025年11月21日
peulerosci
2025年11月21日 创建

【缺陷描述】:请补充详细的缺陷问题现象描述

一、缺陷信息

【缺陷所属的os版本】(如openEuler-22.03-LTS,参考命令"cat /etc/os-release"结果)

【内核版本】(如kernel-5.10.0-60.138.0.165,参考命令"uname -r"结果)

【缺陷所属软件及版本号】(如kernel-5.10.0-60.138.0.165,参考命令"rpm -q 包名"结果)

【环境信息】
硬件信息

  • 提供跟硬件相关的信息,如架构、cpu和内存规格等
  • 虚拟机场景,额外补充宿主机os版本类型

软件信息

  • 跟缺陷所属软件相关的其它软件版本信息(如软件包构建失败由gcc引起,请填写gcc的版本号)

网络信息

  • 如果有特殊组网,请提供网络拓扑信息以及网络数据走向

【问题复现步骤】:请描述具体的操作步骤

【实际结果】,请描述出问题的结果和影响
【期望结果】,请描述出期望的结果和影响
【其他相关附件信息】
比如系统message日志/组件日志、dump信息、图片等

【缺陷详情及分析指导参考链接】

二、缺陷分析结构反馈
影响性分析说明:
渗透测试,rpcb_register_inet6、rpcb_register_inet4函数中,调rpc_sockaddr2uaddr申请内存,没有检查返回值,导致空指针访问报错。
缺陷严重等级:(Critical/High/Moderate/Low)
Moderate
缺陷根因说明:
rpcb_register_inet6、rpcb_register_inet4函数中,调rpc_sockaddr2uaddr申请内存,没有检查返回值,导致空指针访问报错。
受影响版本排查(受影响/不受影响):
openEuler-20.03-LTS-SP4:不受影响
openEuler-22.03-LTS-SP3:受影响
openEuler-22.03-LTS-SP4:受影响
openEuler-24.03-LTS:受影响
openEuler-24.03-LTS-SP1:受影响
openEuler-24.03-LTS-SP2:受影响
修复是否涉及abi变化(是/否):
openEuler-20.03-LTS-SP4:否
openEuler-22.03-LTS-SP3:否
openEuler-22.03-LTS-SP4:否
openEuler-24.03-LTS:否
openEuler-24.03-LTS-SP1:否
openEuler-24.03-LTS-SP2:否

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
2025年11月21日 评论:

Bug Issue Usage Guide

  • To change the issue status to 已验收, 已挂起, or 已取消, you need to perform the operation by commenting.
  • If the issue is not associated with a milestone, either the issue creator or repository maintainer can change its status to one of the three states by commenting as shown in the table below.
  • If the issue is associated with a milestone, refer to the table below.
Comment Target Status Who Can Do It
/state2accepted 已验收 Issue creator
/state2suspended 已挂起 Release managerment SIG maintainer
/state2cancelled 已取消 QA SIG maintainer

Notice ❗

  • When adding a milestone, if the current issue status is 已验收, 已挂起, or 已取消, manually change the status to 待办的.
likedislike
Ppeulerosci
2025年11月21日 创建了缺陷
openeuler-ci-bot
openeuler-ci-bot成员
2025年11月21日 评论:

Hi peulerosci, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers.

likedislike
openeuler-ci-botopeneuler-ci-bot成员
2025年11月21日 将负责人设置为CTC-Xibo.Wang
openeuler-ci-botopeneuler-ci-bot成员
2025年11月21日 修改了描述
openeuler-ci-bot
openeuler-ci-bot成员
2025年11月21日 评论:

@xiexiuqi , @hanjun-guo , @zhengzengkai , @sanglipeng , @x56Jason , @CTC-XiboWang , @Frank_Sae , @Hongchen_Zhang , @JerryHZ , @LiYihang226 , @LiuYongQiang0816 , @Lostwayzxc , @SuperSix173 , @WangBoe2022 , @YGN-NDWD-Official , @Young1c , @allen-shi , @alvin-ling , @chenguangli , @chenke1978 , @chenwei_kernel , @chiqijun , @chris_zjh , @colyli , @duanqiangwen , @gaojuxin09 , @gasonchen , @georgeguo , @giree2 , @gouhao2022 , @guohaocs2c , @guzitao , @hanliyang , @haochengxie , @hellotcc , @hitmoon , @hjx_gitff , @htforge , @hu-chunzhi , @hunan4222 , @jentlestea , @jiaoff , @jimmy_hero , @juntianlinux , @kailiu42 , @kevinzhu1 , @kile2009 , @koishimind , @kongzizaixian , @kylin-mayukun , @lengchao , @leoliu-oc , @li-huisong , @linan888 , @liulongfang , @lixuefeng-loongson , @lujialin2 , @mao-hongbo , @maobibo , @markyuan4ta2 , @mingqian218472 , @newbeats , @qinirao , @shuaijiakun , @sming56_admin , @stavewu , @stkid , @wangxiongfeng , @whoisxxx , @wkfxxx , @woqidaideshi , @wsoydl , @xingmz , @xukuohai , @yeweihua999 , @yonghu_4dc5 , @youngersun , @yuehaibing_planb , @yunshenglin , @yuzenghui , @zhang-changzhong , @zhangyi089 , @zhenpengzheng , @zhujianwei001 , @zqiao216
以下的要求不是强制性的, 未按模板评论时对issue无任何影响
issue处理注意事项:
1. 当前issue受影响的分支提交pr时, 须在pr描述中填写当前issue编号进行关联, 否则无法关闭当前issue;
2. 模板内容需要填写完整, 无论是受影响或者不受影响都需要填写完整内容,未引入的分支不需要填写, 否则无法关闭当前issue;
3. 以下为模板中需要填写完整的内容, 请复制到评论区回复, 注: 内容的标题名称(影响性分析说明, 缺陷严重等级, 受影响版本排查(受影响/不受影响), 修复是否涉及abi变化(是/否))不能省略,省略后defect-manager将无法正常解析填写内容.
评论区可能使用到的指令说明:

指令 指令说明 使用权限
/check-issue 触发defect-manager校验 不限
/reason xxx /reason +挂起或取消条件 不限

影响性分析说明:

缺陷严重等级:(Critical/High/Moderate/Low)

缺陷根因说明:

受影响版本排查(受影响/不受影响):

  1. openEuler-20.03-LTS-SP4:
  2. openEuler-22.03-LTS-SP3:
  3. openEuler-22.03-LTS-SP4:
  4. openEuler-24.03-LTS:
  5. openEuler-24.03-LTS-SP1:
  6. openEuler-24.03-LTS-SP2:

abi变化(是/否):

  1. openEuler-20.03-LTS-SP4:
  2. openEuler-22.03-LTS-SP3:
  3. openEuler-22.03-LTS-SP4:
  4. openEuler-24.03-LTS:
  5. openEuler-24.03-LTS-SP1:
  6. openEuler-24.03-LTS-SP2:

缺陷issue处理具体操作请参考:
https://gitee.com/Coopermassaki/cve-manager/blob/master/cve-vulner-manager/doc/md/defect-manager-manual.md
pr关联issue具体操作请参考:
https://gitee.com/help/articles/4142

likedislike
openeuler-ci-botopeneuler-ci-bot成员
2025年11月21日 添加了   sig/Kernel 标签
openeuler-ci-botopeneuler-ci-bot成员
2025年11月21日 将计划截止日期设置为2025-11-28
openeuler-ci-botopeneuler-ci-bot成员
2025年11月21日 将计划开始日期设置为2025-11-21
openeuler-ci-botopeneuler-ci-bot成员
2025年11月21日 添加了   DEFECT/UNFIXED 标签
zhaoyonghao10zhaoyonghao10
2025年11月27日 关联了openEuler/kernel Pull Request !19331
zhaoyonghao10zhaoyonghao10
2025年12月9日 关联了openEuler/kernel Pull Request !19588
zhaoyonghao10
zhaoyonghao10
2025年12月11日 评论:

影响性分析说明:
渗透测试,rpcb_register_inet6、rpcb_register_inet4函数中,调rpc_sockaddr2uaddr申请内存,没有检查返回值,导致空指针访问报错。
缺陷严重等级:(Critical/High/Moderate/Low)
Moderate
缺陷根因说明:
rpcb_register_inet6、rpcb_register_inet4函数中,调rpc_sockaddr2uaddr申请内存,没有检查返回值,导致空指针访问报错。
受影响版本排查(受影响/不受影响):

openEuler-20.03-LTS-SP4:不受影响
openEuler-22.03-LTS-SP3:受影响
openEuler-22.03-LTS-SP4:受影响
openEuler-24.03-LTS:受影响
openEuler-24.03-LTS-SP1:受影响
openEuler-24.03-LTS-SP2:受影响
abi变化(是/否):

openEuler-20.03-LTS-SP4:否
openEuler-22.03-LTS-SP3:否
openEuler-22.03-LTS-SP4:否
openEuler-24.03-LTS:否
openEuler-24.03-LTS-SP1:否
openEuler-24.03-LTS-SP2:否

likedislike
openeuler-ci-botopeneuler-ci-bot成员
2025年12月11日 修改了描述
openeuler-ci-bot
openeuler-ci-bot成员
2025年12月11日 评论:

@CTC-XiboWang 经过defect-manager解析,已分析的内容如下表所示:

状态 需分析 内容
已分析 1.影响性分析说明 渗透测试,rpcb_register_inet6、rpcb_register_inet4函数中,调rpc_sockaddr2uaddr申请内存,没有检查返回值,导致空指针访问报错。
已分析 2.缺陷严重等级 Moderate
已分析 3.缺陷根因定位 rpcb_register_inet6、rpcb_register_inet4函数中,调rpc_sockaddr2uaddr申请内存,没有检查返回值,导致空指针访问报错。
已分析 4.受影响版本排查 openEuler-20.03-LTS-SP4:不受影响,openEuler-22.03-LTS-SP3:受影响,openEuler-22.03-LTS-SP4:受影响,openEuler-24.03-LTS:受影响,openEuler-24.03-LTS-SP1:受影响,openEuler-24.03-LTS-SP2:受影响
已分析 5.abi变化 openEuler-20.03-LTS-SP4:否,openEuler-22.03-LTS-SP3:否,openEuler-22.03-LTS-SP4:否,openEuler-24.03-LTS:否,openEuler-24.03-LTS-SP1:否,openEuler-24.03-LTS-SP2:否

请确认分析内容的准确性,确认无误后,您可以进行后续步骤,否则您可以继续分析

likedislike
openeuler-ci-botopeneuler-ci-bot成员
1月19日 关联了看板:Kernel SIG
zhaoyonghao10zhaoyonghao10
2月28日 关联了pull request:sunrpc: fix NULL pointer dereference in rpcb_register_inet6 and rpcb_register_inet4
openeuler-ci-botopeneuler-ci-bot成员
3月3日 关闭了 issue
openeuler-ci-botopeneuler-ci-bot成员
3月3日 issue状态由 待办的 改变为 已完成
openeuler-ci-botopeneuler-ci-bot成员
3月3日 issue状态由 已完成 改变为 待办的
openeuler-ci-botopeneuler-ci-bot成员
3月3日 重新打开了 issue
openeuler-ci-bot
openeuler-ci-bot成员
3月3日 评论:

@CTC-XiboWang
关闭issue前,需要将受影响的分支在合并pr时关联上当前issue编号: #6612
受影响分支: openEuler-22.03-LTS-SP3/openEuler-22.03-LTS-SP4/openEuler-24.03-LTS/openEuler-24.03-LTS-SP1/openEuler-24.03-LTS-SP2
具体操作参考: https://docs.gitcode.com/docs/help/home/org_project/pullrequests/pr-related-issue

likedislike
openeuler-ci-botopeneuler-ci-bot成员
3月3日 添加了label:DEFECT/UNFIXED