Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: stable@vger.kernel.org
Cc: Sasha Levin <sashal@kernel.org>,
	gregkh@linuxfoundation.org, kbusch@kernel.org, hch@lst.de,
	sagi@grimberg.me, roger.pau@citrix.com, phil@raspberrypi.com,
	linux-nvme@lists.infradead.org, Nicolai Buchwitz <nb@tipi-net.de>
Subject: Re: [PATCH 6.18.y] nvme-pci: DMA unmap the correct regions in nvme_free_sgls
Date: Thu, 16 Jul 2026 21:37:28 -0400	[thread overview]
Message-ID: <20260716232340.0001-stable-reply@kernel.org> (raw)
In-Reply-To: <20260714201342.1347823-1-nb@tipi-net.de>

On Tue, Jul 14, 2026 at 10:13:42PM +0200, Nicolai Buchwitz 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.

Queued for 6.18, thanks.

-- 
Thanks,
Sasha


      parent reply	other threads:[~2026-07-17  1:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-14 20:13 [PATCH 6.18.y] nvme-pci: DMA unmap the correct regions in nvme_free_sgls Nicolai Buchwitz
2026-07-14 21:16 ` Keith Busch
2026-07-17  1:37 ` Sasha Levin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260716232340.0001-stable-reply@kernel.org \
    --to=sashal@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hch@lst.de \
    --cc=kbusch@kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=nb@tipi-net.de \
    --cc=phil@raspberrypi.com \
    --cc=roger.pau@citrix.com \
    --cc=sagi@grimberg.me \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox