summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRoi Dayan <roid@mellanox.com>2017-08-21 11:04:50 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2017-09-28 06:23:09 +0200
commit38e8a5c040d3ec99a8351c688dcdf0f549611565 (patch)
tree24cbe56b95e9aefe95b2bc8f3d6e5e6c18e6dc2c /include
parentsctp: Fix a big endian bug in sctp_diag_dump() (diff)
downloadlinux-38e8a5c040d3ec99a8351c688dcdf0f549611565.tar.xz
linux-38e8a5c040d3ec99a8351c688dcdf0f549611565.zip
net/mlx5e: IPoIB, Fix access to invalid memory address
When cleaning rdma netdevice we need to save the mdev pointer because priv is released when we release netdev. This bug was found using the kernel address sanitizer (KASAN). use-after-free in mlx5_rdma_netdev_free+0xe3/0x100 [mlx5_core] Fixes: 48935bbb7ae8 ("net/mlx5e: IPoIB, Add netdevice profile skeleton") Signed-off-by: Roi Dayan <roid@mellanox.com> Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions