Re: [PATCH] mpt3sas: Don't overreach ioc->reply_post[] during initialization

From: Martin K. Petersen
Date: Wed Mar 23 2016 - 16:36:25 EST


>>>>> "Calvin" == Calvin Owens <calvinowens@xxxxxx> writes:

Calvin> In _base_make_ioc_operational(), we walk ioc->reply_queue_list
Calvin> and pull a pointer out of successive elements of
Calvin> ioc->reply_post[] for each entry in that list if RDPQ is
Calvin> enabled.

Calvin> Since the code pulls the pointer for the next iteration at the
Calvin> bottom of the loop, it triggers the a KASAN dump on the final
Calvin> iteration:

Applied to 4.6/scsi-fixes.

Thanks!

--
Martin K. Petersen Oracle Linux Engineering