freebsd-dev/sys/dev/ocs_fc
Ram Kishore Vegesna 7377d3831b ocs_fc: Fix use after free bug in ocs_hw_async_call()
Freed ctx is used in the later callee ocs_hw_command(),
which is a use after free bug.

Return error if sli_cmd_common_nop() failed.

PR: 255865
Reported by: lylgood@foxmail.com
Approved by:: markj
2021-05-28 11:21:10 +05:30
..
ocs_cam.c Introduce support of SCSI Command Priority. 2020-10-25 19:34:02 +00:00
ocs_cam.h ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_common.h ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_ddump.c ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_ddump.h
ocs_device.c ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_device.h ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_domain.c ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_domain.h
ocs_drv_fc.h ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_els.c ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_els.h
ocs_fabric.c ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_fabric.h ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_fcp.h ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_hw_queues.c ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_hw_queues.h ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_hw.c ocs_fc: Fix use after free bug in ocs_hw_async_call() 2021-05-28 11:21:10 +05:30
ocs_hw.h ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_io.c ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_io.h ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_ioctl.c ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_ioctl.h ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_list.h ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_mgmt.c ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_mgmt.h ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_node.c ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_node.h ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_os.c ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_os.h ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_pci.c ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_scsi.c ocs_fc: Fix memory leak in ocs_scsi_io_alloc() 2021-04-22 17:48:37 +05:30
ocs_scsi.h Introduce support of SCSI Command Priority. 2020-10-25 19:34:02 +00:00
ocs_sm.c
ocs_sm.h
ocs_sport.c ocs_fc: Fix a use after free in ocs_sport_free 2021-05-28 10:56:13 +05:30
ocs_sport.h ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_stats.h ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_unsol.c Introduce support of SCSI Command Priority. 2020-10-25 19:34:02 +00:00
ocs_unsol.h
ocs_utils.c ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_utils.h ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_vpd.h ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_xport.c ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs_xport.h ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
ocs.h ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
sli4.c ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
sli4.h ocs_fc: clean up empty lines in .c and .h files 2020-09-01 22:02:12 +00:00
version.h