Revision 12e5eef0f4d8087ea7b559f6630be08ffea2d851 authored by Bernard Metzler on 02 March 2020, 15:58:14 UTC, committed by Jason Gunthorpe on 04 March 2020, 18:26:23 UTC
A failing call to ib_device_set_netdev() during device creation caused
system crash due to xa_destroy of uninitialized xarray hit by device
deallocation. Fixed by moving xarray initialization before potential
device deallocation.

Fixes: bdcf26bf9b3a ("rdma/siw: network and RDMA core interface")
Link: https://lore.kernel.org/r/20200302155814.9896-1-bmt@zurich.ibm.com
Reported-by: syzbot+2e80962bedd9559fe0b3@syzkaller.appspotmail.com
Signed-off-by: Bernard Metzler <bmt@zurich.ibm.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
1 parent 78f34a1
History
File Mode Size
Kconfig -rw-r--r-- 996 bytes

back to top