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: <159054550934.12032.465431351148000035.b4-ty@oracle.com>
Date:   Tue, 26 May 2020 22:13:03 -0400
From:   "Martin K. Petersen" <martin.petersen@...cle.com>
To:     Dick Kennedy <dick.kennedy@...adcom.com>,
        linux-scsi@...r.kernel.org, Xiyu Yang <xiyuyang19@...an.edu.cn>,
        James Smart <james.smart@...adcom.com>,
        linux-kernel@...r.kernel.org,
        "James E.J. Bottomley" <jejb@...ux.ibm.com>
Cc:     "Martin K . Petersen" <martin.petersen@...cle.com>,
        Xin Tan <tanxin.ctf@...il.com>, yuanxzhang@...an.edu.cn,
        kjlu@....edu
Subject: Re: [PATCH] scsi: lpfc: Fix lpfc_nodelist leak when processing unsolicited event

On Mon, 25 May 2020 22:16:24 +0800, Xiyu Yang wrote:

> In order to create or activate a new node, lpfc_els_unsol_buffer()
> invokes lpfc_nlp_init() or lpfc_enable_node() or lpfc_nlp_get(), all of
> them will return a reference of the specified lpfc_nodelist object to
> "ndlp" with increased refcnt.
> 
> When lpfc_els_unsol_buffer() returns, local variable "ndlp" becomes
> invalid, so the refcount should be decreased to keep refcount balanced.
> 
> [...]

Applied to 5.8/scsi-queue, thanks!

[1/1] scsi: lpfc: Fix lpfc_nodelist leak when processing unsolicited event
      https://git.kernel.org/mkp/scsi/c/7217e6e694da

-- 
Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ