[prev in list] [next in list] [prev in thread] [next in thread] 

List:       target-devel
Subject:    Re: [PATCH v2] scsi: target: pscsi: Fix possible null-pointer dereference in pscsi_complete_cmd()
From:       "Martin K. Petersen" <martin.petersen () oracle ! com>
Date:       2021-08-24 4:02:59
Message-ID: 162977310549.31461.1789264867256411794.b4-ty () oracle ! com
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic