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: <162977310549.31461.1789264867256411794.b4-ty@oracle.com>
Date:   Tue, 24 Aug 2021 00:02:59 -0400
From:   "Martin K. Petersen" <martin.petersen@...cle.com>
To:     Tuo Li <islituo@...il.com>
Cc:     "Martin K . Petersen" <martin.petersen@...cle.com>,
        target-devel@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-scsi@...r.kernel.org, TOTE Robot <oslab@...nghua.edu.cn>,
        baijiaju1990@...il.com
Subject: Re: [PATCH v2] scsi: target: pscsi: Fix possible null-pointer dereference in pscsi_complete_cmd()

On Mon, 9 Aug 2021 21:04:13 -0700, Tuo Li wrote:

> The return value of transport_kmap_data_sg() is assigned to the variable
> buf:
>   buf = transport_kmap_data_sg(cmd);
> 
> And then it is checked:
>   if (!buf) {
> 
> [...]

Applied to 5.15/scsi-queue, thanks!

[1/1] scsi: target: pscsi: Fix possible null-pointer dereference in pscsi_complete_cmd()
      https://git.kernel.org/mkp/scsi/c/0f99792c01d1

-- 
Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ