[PATCH] nvme-pci: fix parameter order in nvme_free_sgls() call
Keith Busch
kbusch at kernel.org
Wed Jan 28 06:59:05 PST 2026
On Tue, Jan 27, 2026 at 08:59:06PM +0100, Roger Pau Monne wrote:
> The call to nvme_free_sgls() in nvme_unmap_data() has the sg_list and sge
> parameters swapped. This wasn't noticed by the compiler because both share
> the same type. On a Xen PV hardware domain, and possibly any other
> architectures that takes that path, this leads to corruption of the NVMe
> contents.
Thanks, applied to nvme-6.19 with updated subject.
More information about the Linux-nvme
mailing list