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: <172014707934.1511036.12995216547242595225.b4-ty@oracle.com>
Date: Thu,  4 Jul 2024 23:53:28 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: james.smart@...adcom.com, dick.kennedy@...adcom.com,
        James.Bottomley@...senPartnership.com,
        Huai-Yuan Liu <qq810974084@...il.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
        linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
        baijiaju1990@...il.com
Subject: Re: [PATCH V4] scsi: lpfc: Fix a possible null pointer dereference

On Fri, 21 Jun 2024 16:25:45 +0800, Huai-Yuan Liu wrote:

> In function lpfc_xcvr_data_show, the memory allocation with kmalloc might
> fail, thereby making rdp_context a null pointer. In the following context
> and functions that use this pointer, there are dereferencing operations,
> leading to null pointer dereference.
> 
> To fix this issue, a null pointer check should be added. If it is null,
> use scnprintf to notify the user and return len.
> 
> [...]

Applied to 6.11/scsi-queue, thanks!

[1/1] scsi: lpfc: Fix a possible null pointer dereference
      https://git.kernel.org/mkp/scsi/c/5e0bf3e8aec2

-- 
Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ