summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorShiraz Saleem <shiraz.saleem@intel.com>2021-12-07 18:21:36 +0300
committerJason Gunthorpe <jgg@nvidia.com>2021-12-07 20:43:52 +0300
commit1e11a39a82e95ce86f849f40dda0d9c0498cebd9 (patch)
treed0ced435a66d347a53fb95f210093641a0164d48 /scripts/gdb/linux/tasks.py
parent60a8b5a1611b4a26de4839ab9c1fc2a9cf3e17c1 (diff)
downloadlinux-1e11a39a82e95ce86f849f40dda0d9c0498cebd9.tar.xz
RDMA/irdma: Fix a user-after-free in add_pble_prm
When irdma_hmc_sd_one fails, 'chunk' is freed while its still on the PBLE info list. Add the chunk entry to the PBLE info list only after successful setting of the SD in irdma_hmc_sd_one. Fixes: e8c4dbc2fcac ("RDMA/irdma: Add PBLE resource manager") Link: https://lore.kernel.org/r/20211207152135.2192-1-shiraz.saleem@intel.com Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions