[PATCH 0/4] nvme-[tcp|rdma] fix for possible use-after-free

Sagi Grimberg sagi at grimberg.me
Sun Jan 30 01:21:15 PST 2022


A few use-after-free reports were seen in the wild with nvme-tcp when testing
ctrl reset and error recovery under load. Analysis shows that the exact same
use-after-free can happen with nvme-rdma as well. This patch series addresses
these issues for both.

Sagi Grimberg (4):
  nvme-tcp: fix a possible use-after-free in controller reset during
    load
  nvme-tcp: fix possible use-after-free in transport error_recovery work
  nvme-rdma: fix a possible use-after-free in controller reset during
    load
  nvme-rdma: fix possible use-after-free in transport error_recovery
    work

 drivers/nvme/host/rdma.c | 5 +++++
 drivers/nvme/host/tcp.c  | 5 +++++
 2 files changed, 10 insertions(+)

-- 
2.30.2




More information about the Linux-nvme mailing list