Bug 8463 - net: rds: Fix possible NULL-pointer dereference
Summary: net: rds: Fix possible NULL-pointer dereference
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: net (show other bugs) net
Version: 5.10.y-19
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: XuanZhuo
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-09 14:51 UTC by daichx
Modified: 2024-03-09 18:26 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description daichx inspur_group 2024-03-09 14:51:08 UTC
Description of problem:
[ Upstream commit f1d95df0f31048f1c59092648997686e3f7d9478 ]

In rds_rdma_cm_event_handler_cmn() check, if conn pointer exists
before dereferencing it as rdma_set_service_type() argument

Version-Release number of selected component (if applicable):

:
Comment 1 小龙 admin 2024-03-09 18:26:18 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2840