diff options
| author | Roger Pau Monne <roger.pau@citrix.com> | 2026-01-27 20:59:06 +0100 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2026-01-28 06:58:10 -0800 |
| commit | a54afbc8a2138f8c2490510cf26cde188d480c43 (patch) | |
| tree | 1cfd707dd61d0f616c9eb07575095035f5f80ea3 /tools/perf/scripts/python/bin | |
| parent | nvmet: fix race in nvmet_bio_done() leading to NULL pointer dereference (diff) | |
| download | linux-a54afbc8a2138f8c2490510cf26cde188d480c43.tar.gz linux-a54afbc8a2138f8c2490510cf26cde188d480c43.zip | |
nvme-pci: DMA unmap the correct regions in nvme_free_sgls
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.
Fixes: f0887e2a52d4 ("nvme-pci: create common sgl unmapping helper")
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
