Messages in this thread | | | From | "Martin K. Petersen" <> | Subject | Re: [PATCH] scsi: Fix a use after free in st_open | Date | Mon, 15 Mar 2021 23:13:57 -0400 |
| |
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
| |