** Changed in: linux (Ubuntu Jammy)
Assignee: (unassigned) => Massimiliano Pellizzer (mpellizzer)
** Description changed:
+ [Impact]
+
+ net/smc: fix neighbour and rtable leak in smc_ib_find_route()
+
+ In smc_ib_find_route(), the neighbour found by neigh_lookup() and rtable
+ resolved by ip_route_output_flow() are not released or put before return.
+ It may cause the refcount leak, so fix it.
+
+
+ [Fix]
+
+ Cherry pick the fix commit in Jammy:
+ - 2ddc0dd7fec8 net/smc: fix neighbour and rtable leak in smc_ib_find_route()
+
+ [Test Plan]
+
+ Compile tested only.
+
+
+ [Where Problems Could Occur]
+
+ The fix affects the SMC-R RDMA route resolution subsystem.
+ An issue with this fix may lead to incorrect handling of
+ reference counting neighbor and routing table objects
+ during RDMA path establishment.
+ A user might experience problems such asfailed RDMA connection setups
+ resulting in fallback to TCP even on capable hardware.
+
+ ---
+
Description:
net/smc: fix neighbour and rtable leak in smc_ib_find_route()
-----------------------------------------------------------------------------
Symptom: The handshake device gets hung during the cleanup after
the SMCR-v2 workload
Problem: In smc_ib_find_route(), the neighbour found by
neigh_lookup() and rtable resolved by ip_route_output_flow() are not
released or put before return. It may cause the refcount leak.
Solution: Release the neighbour found via neigh_release()
Upstream-ID: 2ddc0dd7fec86ee53b8928a5cca5fbddd4fc7c06
Author: [email protected]
Component: kernel
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2109601
Title:
[UBUNTU 22.04] net/smc: fix neighbour and rtable leak in
smc_ib_find_route()
Status in linux package in Ubuntu:
Invalid
Status in linux source package in Jammy:
In Progress
Bug description:
[Impact]
net/smc: fix neighbour and rtable leak in smc_ib_find_route()
In smc_ib_find_route(), the neighbour found by neigh_lookup() and rtable
resolved by ip_route_output_flow() are not released or put before return.
It may cause the refcount leak, so fix it.
[Fix]
Cherry pick the fix commit in Jammy:
- 2ddc0dd7fec8 net/smc: fix neighbour and rtable leak in smc_ib_find_route()
[Test Plan]
Compile tested only.
[Where Problems Could Occur]
The fix affects the SMC-R RDMA route resolution subsystem.
An issue with this fix may lead to incorrect handling of
reference counting neighbor and routing table objects
during RDMA path establishment.
A user might experience problems such asfailed RDMA connection setups
resulting in fallback to TCP even on capable hardware.
---
Description:
net/smc: fix neighbour and rtable leak in smc_ib_find_route()
-----------------------------------------------------------------------------
Symptom: The handshake device gets hung during the cleanup after
the SMCR-v2 workload
Problem: In smc_ib_find_route(), the neighbour found by
neigh_lookup() and rtable resolved by ip_route_output_flow() are not
released or put before return. It may cause the refcount leak.
Solution: Release the neighbour found via neigh_release()
Upstream-ID: 2ddc0dd7fec86ee53b8928a5cca5fbddd4fc7c06
Author: [email protected]
Component: kernel
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2109601/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp