summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMichal Kalderon <michal.kalderon@marvell.com>2019-09-25 15:33:32 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-10-01 17:31:27 +0300
commit390d3fdcae2da52755b31aa44fcf19ecb5a2488b (patch)
tree55c6f62c8be34f0f884993d3249513cf3ac8dacc /tools/perf/scripts/python/stackcollapse.py
parentdf791c54d627bae53c9be3be40a69594c55de487 (diff)
downloadlinux-390d3fdcae2da52755b31aa44fcf19ecb5a2488b.tar.xz
RDMA/core: Fix use after free and refcnt leak on ndev in_device in iwarp_query_port
If an iWARP driver is probed and removed while there are no ips set for the device, it will lead to a reference count leak on the inet device of the netdevice. In addition, the netdevice was accessed after already calling netdev_put, which could lead to using the netdev after already freed. Fixes: 4929116bdf72 ("RDMA/core: Add common iWARP query port") Link: https://lore.kernel.org/r/20190925123332.10746-1-michal.kalderon@marvell.com Signed-off-by: Ariel Elior <ariel.elior@marvell.com> Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com> Reviewed-by: Shiraz Saleem <shiraz.saleem@intel.com> Reviewed-by: Kamal Heib <kamalheib1@gmail.com> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions