lists.openwall.net   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  linux-cve-announce  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]
Message-Id: <164732052813.23186.105308943748760649.b4-ty@oracle.com>
Date:   Tue, 15 Mar 2022 01:02:32 -0400
From:   "Martin K. Petersen" <martin.petersen@...cle.com>
To:     hare@...e.de, Jianglei Nie <niejianglei2021@....com>,
        jejb@...ux.ibm.com
Cc:     "Martin K . Petersen" <martin.petersen@...cle.com>,
        linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: libfc: Fix use after free in fc_exch_abts_resp()

On Thu, 3 Mar 2022 09:51:15 +0800, Jianglei Nie wrote:

> fc_exch_release(ep) will decrease the ep's reference count. When the
> reference count reaches zero, it is freed. But ep is still used in the
> following code, which will lead to a use after free.
> 
> We should return the function after the call of fc_exch_release() to
> avoid use after free.
> 
> [...]

Applied to 5.18/scsi-queue, thanks!

[1/1] scsi: libfc: Fix use after free in fc_exch_abts_resp()
      https://git.kernel.org/mkp/scsi/c/271add11994b

-- 
Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ