# CVE-2026-23376: nvmet-fcloop: Check remoteport port_state before calling done callback

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-03-25T10:27:56.458Z
- Modified: 2026-11-05T22:18:18.810Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 10c165af35d225eb033f4edc7fcc699a8d2d533d before f30b95159a53e72529a9ca1667f11cd1970240a7; from 10c165af35d225eb033f4edc7fcc699a8d2d533d before 31d3817bcd9e192b30abe3cf4b68f69d48864dd2; from 10c165af35d225eb033f4edc7fcc699a8d2d533d before dd677d0598387ea623820ab2bd0e029c377445a3; 2cf857075bcc8e83c4aa5fe7d8f1efd6af51e04e; from 6.17.3 before 6.18; 6.18 (not affected: before 6.18; from 6.18.17 up to 6.18.*; from 6.19.7 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.17.3 before 6.18; from 6.18.1 before 6.18.17; from 6.19 before 6.19.7; 6.18; 7.0

## References

- <https://git.kernel.org/stable/c/f30b95159a53e72529a9ca1667f11cd1970240a7> (patch)
- <https://git.kernel.org/stable/c/31d3817bcd9e192b30abe3cf4b68f69d48864dd2> (patch)
- <https://git.kernel.org/stable/c/dd677d0598387ea623820ab2bd0e029c377445a3> (patch)

## Sources

- CVE List: [CVE-2026-23376](https://www.cve.org/CVERecord?id=CVE-2026-23376), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-23376](https://nvd.nist.gov/vuln/detail/CVE-2026-23376), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-23376 · Whole record: https://cve.day/CVE-2026-23376.json · Rebuilt by cve.day 2026-11-25T22:59:16.700Z
