Re: [PATCH net] net/rds: Fix error handling in rds_ib_add_one()

2019-10-02 Thread David Miller
From: Sudhakar Dindukurti Date: Tue, 1 Oct 2019 10:21:02 -0700 > From: Dotan Barak > > rds_ibdev:ipaddr_list and rds_ibdev:conn_list are initialized > after allocation some resources such as protection domain. > If allocation of such resources fail, then these uninitialized > variables are acc

Re: [PATCH net] net/rds: Fix error handling in rds_ib_add_one()

2019-10-01 Thread santosh . shilimkar
On 10/1/19 10:21 AM, Sudhakar Dindukurti wrote: From: Dotan Barak rds_ibdev:ipaddr_list and rds_ibdev:conn_list are initialized after allocation some resources such as protection domain. If allocation of such resources fail, then these uninitialized variables are accessed in rds_ib_dev_free() i

[PATCH net] net/rds: Fix error handling in rds_ib_add_one()

2019-10-01 Thread Sudhakar Dindukurti
From: Dotan Barak rds_ibdev:ipaddr_list and rds_ibdev:conn_list are initialized after allocation some resources such as protection domain. If allocation of such resources fail, then these uninitialized variables are accessed in rds_ib_dev_free() in failure path. This can potentially crash the sys