[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161586434245.11995.9802602851023582228.b4-ty@oracle.com>
Date: Mon, 15 Mar 2021 23:13:57 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Lv Yunlong <lyl2019@...l.ustc.edu.cn>, jejb@...ux.ibm.com,
Kai.Makisara@...umbus.fi
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: Re: [PATCH] scsi: Fix a use after free in st_open
On Wed, 10 Mar 2021 22:46:36 -0800, Lv Yunlong wrote:
> In st_open, if STp->in_use is true, STp will be freed by
> scsi_tape_put(). However, STp is still used by DEBC_printk()
> after. It is better to DEBC_printk() before scsi_tape_put().
Applied to 5.12/scsi-fixes, thanks!
[1/1] scsi: Fix a use after free in st_open
https://git.kernel.org/mkp/scsi/c/c8c165dea4c8
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists