Bug 2393206 (CVE-2025-38695) - CVE-2025-38695 kernel: scsi: lpfc: Check for hdwq null ptr when cleaning up lpfc_vport structure
Summary: CVE-2025-38695 kernel: scsi: lpfc: Check for hdwq null ptr when cleaning up l...
Keywords:
Status: NEW
Alias: CVE-2025-38695
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-04 16:05 UTC by OSIDB Bzimport
Modified: 2026-06-29 18:59 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-04 16:05:12 UTC
In the Linux kernel, the following vulnerability has been resolved:

scsi: lpfc: Check for hdwq null ptr when cleaning up lpfc_vport structure

If a call to lpfc_sli4_read_rev() from lpfc_sli4_hba_setup() fails, the
resultant cleanup routine lpfc_sli4_vport_delete_fcp_xri_aborted() may
occur before sli4_hba.hdwqs are allocated.  This may result in a null
pointer dereference when attempting to take the abts_io_buf_list_lock for
the first hardware queue.  Fix by adding a null ptr check on
phba->sli4_hba.hdwq and early return because this situation means there
must have been an error during port initialization.

Comment 1 Jon Moroney 2025-09-04 17:06:49 UTC Comment hidden (spam)

Note You need to log in before you can comment on or make changes to this bug.