已开启
[OLK-5.10] xprt_complete_bc_request+0xc5 空指针异常 #8655
dongchenchen创建于  3月5日
dongchenchen
dongchenchen
3月5日 创建

环境信息

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

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

【硬件平台】(缺陷相关的硬件信息,如:处理器型号、内存、磁盘、网卡、BIOS 等信息)

【组网信息】(和网络、性能相关的问题,应该说明详细的组网和场景信息)

缺陷信息

【问题复现步骤】
1.
2.
3.

【实际结果】请描述出问题的结果和影响
[1467902.605259] BUG: kernel NULL pointer dereference, address: 00000000000000c8
[1467902.606277] #PF: supervisor write access in kernel mode
[1467902.607411] #PF: error_code(0x0002) - not-present page
...
[1467902.619706] RIP: 0010:_raw_spin_lock+0xc/0x20
...
[1467902.680631] xprt_complete_bc_request+0xc5/0x130 [sunrpc]
[1467902.685434] xs_read_stream.constprop.0+0x282/0x300 [sunrpc]
[1467902.690352] xs_stream_data_receive+0x41/0xc0 [sunrpc]
[1467902.695375] xs_stream_data_receive_workfn+0x2c/0x40 [sunrpc]
[1467902.700488] process_one_work+0x1b0/0x350

【期望结果】请描述出期望的结果和影响

【其他相关附件信息】比如 syslog、dmesg、panic、lockup、kdump 信息、图片等

# 这里可以附上相关文本信息

【已分析信息】如已经做过分析和定位,请尽量附上详细的分析结果

xprt->bc_serv值为空,引发空指针异常

二、缺陷分析结构反馈
影响性分析说明:

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

缺陷根因说明:

受影响版本排查(受影响/不受影响):
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成员
3月5日 添加了label:sig/Kernel
openeuler-ci-botopeneuler-ci-bot成员
3月5日 issue状态由 已挂起 改变为 待办的
openeuler-ci-bot
openeuler-ci-bot成员
3月5日 评论:

Welcome To openEuler Community

Hey @dongchenchen1997 , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.

Contact Guide

If you have any questions, please contact the SIG: Kernel ,
and any of the maintainers: @hanjunguo, @oekernel, @sanglipeng, @zeng_zhaorong, @zhengzengkai ,
and any of the committers: @CTC-XiboWang, @Frank_Sae, @GongLei-, @LiuYongQiang0816, @SuperSix173, @Tankll2021, @TrueAI, @allen-shi, @baratta, @caixu-blue, @chenjiesong, @chenjunxin1992, @chenke2026, @chiqijun, @chriszjh, @duanqiangwen, @fangfeng123, @fanghaiqinghw, @gaojuxin09, @gouhao2022, @guzitao, @hanjunguo, @hanliyang, @hellotcc, @hjx_gitff, @hongwu-wang, @htforge, @hu-chunzhi, @hunan4222, @jackknight, @jerry_lilijun, @junlong-zheng, @juntianlinux, @kailiu42, @kaitiandu, @kazero00, @kevinzhu1, @kile2009, @koishimind, @kongzizaixian, @leoliu-oc, @li-huisong, @linan888, @linyunsheng, @liulongfang, @lostway1, @lujialin2, @markyuan4ta21, @mingqian218472, @mufengyan, @qinirao, @robinorg, @rock_hw, @sanglipeng, @shu-shengming, @shuaijiakun, @sming56_admin, @stavewu, @stkid, @wangboe2022, @wenzhiwei11, @whoisxxx, @wkfxxx, @woqidaideshi, @wsoydl, @xingmz1, @xukuohai, @yeweihua999, @ygn-ndwd-official, @yonghu_4dc5, @young-sun, @yuehaibing_planb, @yuzenghui1, @zhang-changzhong, @zhangyi089, @zhujianwei001, @zichengqu, @zqiao216 .

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
3月5日 评论:

@
issue变更为 [已取消/已挂起] 状态前,请操作者填写相关原因
请按如下格式评论原因后,重新进行操作


/reason xxxxxx

likedislike
openeuler-ci-botopeneuler-ci-bot成员
3月5日 将 allen-shi 设为负责人
openeuler-ci-botopeneuler-ci-bot成员
3月5日 修改了issue 的描述
openeuler-ci-botopeneuler-ci-bot成员
3月5日 移除了负责人 allen-shi
openeuler-ci-bot
openeuler-ci-bot成员
3月5日 评论:

@allen-shi , @alvin-ling , @baratta , @caixu-blue , @chenguangli , @chenjiesong , @chenjunxin1992 , @chenke2026 , @chenwei_kernel , @chiqijun , @chriszjh , @colyli , @CTC-XiboWang , @duanqiangwen , @fangfeng123 , @fanghaiqinghw , @Frank_Sae , @gaojuxin09 , @georgeguo , @giree2 , @GongLei- , @gouhao2022 , @guohaocs2c , @guzitao , @hailan94 , @hanjunguo , @hanliyang , @haochengxie , @hellotcc , @hitmoon , @hjx_gitff , @hongwu-wang , @htforge , @hu-chunzhi , @hunan4222 , @jackknight , @jentlestea , @jerry_lilijun , @jiaoff , @junlong-zheng , @juntianlinux , @kailiu42 , @kaitiandu , @kazero00 , @kevinzhu1 , @kile2009 , @koishimind , @kongzizaixian , @kylin-mayukun , @lengchao , @leoliu-oc , @liaotao-wave , @li-huisong , @linan888 , @lindv , @linyunsheng , @liulongfang , @LiuYongQiang0816 , @lixuefeng-loongson , @LiYihang226 , @lostway1 , @lujialin2 , @maobibo , @mao-hongbo , @markyuan4ta21 , @mingqian218472 , @mufengyan , @newbeats , @pi3orama , @qinirao , @robinorg , @rock_hw , @sanglipeng , @shuaijiakun , @shu-shengming , @sming56_admin , @stavewu , @stkid , @sunying2022 , @SuperSix173 , @Tankll2021 , @TrueAI , @wangboe2022 , @wangxiongfeng , @wenzhiwei11 , @whoisxxx , @wkfxxx , @woqidaideshi , @wsoydl , @xingmz1 , @xukuohai , @yeweihua999 , @ygn-ndwd-official , @yonghu_4dc5 , @young1c , @young-sun , @yuehaibing_planb , @yuzenghui1 , @zhang-changzhong , @zhangwei123171 , @zhangyi089 , @zhenpengzheng , @zhujianwei001 , @zichengqu , @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://gitcode.com/Coopermassaki/cve-manager/blob/master/cve-vulner-manager/doc/md/defect-manager-manual.md
pr关联issue具体操作请参考:
https://docs.gitcode.com/docs/help/home/org_project/pullrequests/pr-related-issue

likedislike
openeuler-ci-botopeneuler-ci-bot成员
3月5日 添加了label:DEFECT/UNFIXED
Oopeneuler-infra-bot成员
3月9日 关联了pull request: SUNRPC: Ensure the transport backchannel association