lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed,  9 Dec 2020 12:23:18 -0500
From:   "Martin K. Petersen" <>
To:     Chris Leech <>,
        "James E.J. Bottomley" <>,
        Qinglang Miao <>,
        Lee Duncan <>
Cc:     "Martin K . Petersen" <>,,,
Subject: Re: [PATCH] scsi: iscsi: fix inappropriate use of put_device

On Fri, 20 Nov 2020 15:48:52 +0800, Qinglang Miao wrote:

> kfree(conn) is called inside put_device(&conn->dev) so that
> another one would cause use-after-free. Besides, device_unregister
> should be used here rather than put_device.

Applied to 5.11/scsi-queue, thanks!

[1/1] scsi: iscsi: fix inappropriate use of put_device

Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists