diff options
author | 2025-02-24 17:13:30 -0800 | |
---|---|---|
committer | 2025-02-25 09:09:18 -0800 | |
commit | 00817f0f1c45b007965f5676b9a2013bb39c7228 (patch) | |
tree | 2b77d45e88ec9b47a2846b53adb13ab452b92bf7 /net/lapb/lapb_timer.c | |
parent | nvme-pci: skip CMB blocks incompatible with PCI P2P DMA (diff) | |
download | wireguard-linux-00817f0f1c45b007965f5676b9a2013bb39c7228.tar.xz wireguard-linux-00817f0f1c45b007965f5676b9a2013bb39c7228.zip |
nvme-ioctl: fix leaked requests on mapping error
All the callers assume nvme_map_user_request() frees the request on a
failure. This wasn't happening on invalid metadata or io_uring command
flags, so we've been leaking those requests.
Fixes: 23fd22e55b767b ("nvme: wire up fixed buffer support for nvme passthrough")
Fixes: 7c2fd76048e95d ("nvme: fix metadata handling in nvme-passthrough")
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions