lkml.org 
[lkml]   [2019]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/1] scsi: fnic: fix use after free
From
Date

Pan,

> The memory chunk io_req is released by mempool_free. Accessing
> io_req->start_time will result in a use after free bug. The variable
> start_time is a backup of the timestamp. So, use start_time here to
> avoid use after free.

Applied to 5.5/scsi-queue, thanks!

--
Martin K. Petersen Oracle Linux Engineering

\
 
 \ /
  Last update: 2019-11-05 06:23    [W:0.030 / U:1.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site