CVE-2026-23376

nvmet-fcloop: Check remoteport port_state before calling done callback

State
Published
Severity
Not scored
Published
Mar 25, 2026
Updated
May 23, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 10c165af35d225eb033f4edc7fcc699a8d2d533d to before f30b95159a53e72529a9ca1667f11cd1970240a7Affected
  • 10c165af35d225eb033f4edc7fcc699a8d2d533d to before 31d3817bcd9e192b30abe3cf4b68f69d48864dd2Affected
  • 10c165af35d225eb033f4edc7fcc699a8d2d533d to before dd677d0598387ea623820ab2bd0e029c377445a3Affected
  • 2cf857075bcc8e83c4aa5fe7d8f1efd6af51e04eAffected
  • 6.17.3 to before 6.18Affected
LinuxLinux
  • 6.18Affected
  • before 6.18Not affected
  • 6.18.17 through 6.18.*Not affected
  • 6.19.7 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.