[PATCH] nvme-pci: add missing condition check for existence of mapped data

Keith Busch kbusch at kernel.org
Thu Jul 25 07:29:29 PDT 2024


On Wed, Jul 24, 2024 at 01:31:14PM +0300, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro at nvidia.com>
> 
> nvme_map_data() is called when request has physical segments, hence
> the nvme_unmap_data() should have same condition to avoid dereference.

Thanks, applied to nvme-6.11.



More information about the Linux-nvme mailing list