CVE-2026-23376
JSON

5.5medium

nvmet-fcloop: Check remoteport port_state before calling done callback

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.14% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 6.17.3 before 6.18, from 6.18.1 before 6.18.17, from 6.19 before 6.19.7, 6.18, 7.0NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: nvmet-fcloop: Verificar el estado del puerto de remoteport antes de llamar a la función de devolución de llamada 'done' En nvme_fc_handle_ls_rqst_work, la función de devolución de llamada lsrsp->done solo se establece cuando el estado del puerto de remoteport es FC_OBJSTATE_ONLINE. De lo contrario, se espera que la llamada LLDD de nvme_fc_xmt_ls_rsp a lport->ops->xmt_ls_rsp falle y la propia capa de transporte nvme-fc llamará directamente a nvme_fc_xmt_ls_rsp_free en lugar de depender de la función de devolución de llamada 'done' de LLDD para liberar los recursos de lsrsp. Actualizar la rutina fcloop_t2h_xmt_ls_rsp para verificar el estado del puerto de remoteport. Si está en línea, entonces la función de devolución de llamada lsrsp->done liberará el lsrsp. De lo contrario, devolver -ENODEV para indicar al transporte nvme-fc que se encargue de liberar lsrsp.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-23376 changed 2026-11-05CVE Terms of Use
NVDCVE-2026-23376 changed 2026-11-05Public domain