[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240724175735.lndoof76kovv5ge6@nj.shetty@samsung.com>
Date: Wed, 24 Jul 2024 23:27:35 +0530
From: Nitesh Shetty <nj.shetty@...sung.com>
To: Leon Romanovsky <leon@...nel.org>
Cc: Keith Busch <kbusch@...nel.org>, Jens Axboe <axboe@...nel.dk>, Christoph
Hellwig <hch@....de>, Sagi Grimberg <sagi@...mberg.me>, Leon Romanovsky
<leonro@...dia.com>, Chaitanya Kulkarni <chaitanya.kulkarni@....com>,
linux-nvme@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] nvme-pci: add missing condition check for existence of
mapped data
On 24/07/24 01:31PM, Leon Romanovsky wrote:
>From: Leon Romanovsky <leonro@...dia.com>
>
>nvme_map_data() is called when request has physical segments, hence
>the nvme_unmap_data() should have same condition to avoid dereference.
>
>Fixes: 4aedb705437f ("nvme-pci: split metadata handling from nvme_map_data / nvme_unmap_data")
>Signed-off-by: Leon Romanovsky <leonro@...dia.com>
>---
Reviewed-by: Nitesh Shetty <nj.shetty@...sung.com>
Powered by blists - more mailing lists