|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] nvme-pci: fix parameter order in nvme_free_sgls() call
On Wed, Jan 28, 2026 at 07:59:05AM -0700, Keith Busch wrote: > 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. On Wed, Jan 28, 2026 at 09:49:58AM +0100, Christoph Hellwig wrote: > Reviewed-by: Christoph Hellwig <hch@xxxxxx> > > but maybe we can reword the subject to sound less harmless, e.g.: > > nvme-pci: DMA unmap the correct regions in nvme_free_sgls On Wed, Jan 28, 2026 at 07:59:05AM -0700, Keith Busch wrote: > Thanks, applied to nvme-6.19 with updated subject. Hi, I think this wants to be included in v6.18 too, as it also has the faulty commit. And indeed, I do hit this issue when running 6.18.38. -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab Attachment:
signature.asc
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |