5.5medium
scsi: lpfc: Fix resource leak in lpfc_sli4_send_seq_to_ulp()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Fix resource leak in lpfc_sli4_send_seq_to_ulp() If no handler is found in lpfc_complete_unsol_iocb() to match the rctl of a received frame, the frame is dropped and resources are leaked. Fix by returning resources when discarding an unhandled frame type. Update lpfc_fc_frame_check() handling of NOP basic link service.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 4f774513f7b3fe96648b8936f60f835e6ceaa88e before fa1b509d41c5433672f72c0615cf4aefa0611c99, from 4f774513f7b3fe96648b8936f60f835e6ceaa88e before 40cf4ea4d2d497f7732c87d350ba5c3f5e8a43a1, from 4f774513f7b3fe96648b8936f60f835e6ceaa88e before 08709769ff2fb6c5ffedcda3742700d8ea1618a8, from 4f774513f7b3fe96648b8936f60f835e6ceaa88e before 7860d8f8082605b57596aa82d3d438c1fdad9a9e, from 4f774513f7b3fe96648b8936f60f835e6ceaa88e before 646db1a560f44236b7278b822ca99a1d3b6ea72c, 2.6.31 Not affected: before 2.6.31, from 5.10.121 up to 5.10.*, from 5.15.46 up to 5.15.*, from 5.17.14 up to 5.17.*, from 5.18.3 up to 5.18.*, from 5.19 up to * | CVE List |
| linux linux_kernel | before 5.10.121, from 5.11 before 5.15.46, from 5.16 before 5.17.14, from 5.18 before 5.18.3 | NVD |
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: scsi: lpfc: Fix resource leak in lpfc_sli4_send_seq_to_ulp() If no handler is found in lpfc_complete_unsol_iocb() to match the rctl of a received frame, the frame is dropped and resources are leaked. Fix by returning resources when discarding an unhandled frame type. Update lpfc_fc_frame_check() handling of NOP basic link service.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: scsi: lpfc: Se corrige la pérdida de recursos en lpfc_sli4_send_seq_to_ulp() Si no se encuentra ningún controlador en lpfc_complete_unsol_iocb() que coincida con el rctl de una trama recibida, la trama se descarta y se pierden recursos. Se soluciona devolviendo recursos al descartar un tipo de trama no controlada. Se actualiza la gestión de lpfc_fc_frame_check() del servicio de enlace básico NOP.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-49521 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2022-49521 changed 2026-11-05 | Public domain |