CVE-2024-35930
Assigner: Linux
Published: 2024-05-19T10:10:39.051Z
State: PUBLISHED
descriptions: value: In the Linux kernel, the following vulnerability has been resolved:

scsi: lpfc: Fix possible memory leak in lpfc_rcv_padisc()

The call to lpfc_sli4_resume_rpi() in lpfc_rcv_padisc() may return an
unsuccessful status.  In such cases, the elsiocb is not issued, the
completion is not called, and thus the elsiocb resource is leaked.

Check return value after calling lpfc_sli4_resume_rpi() and conditionally
release the elsiocb resource.
affected: product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 1da177e4c3f4
lessThan: edf82aa7e9eb
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: e2cd32435b1d
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: c473288f27d1
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: 7849e6f8410d
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: ee0b5f96b6d6
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: 07a2aa674fca
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: 3320126ed3af
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: 2ae917d4bcab
status: affected
versionType: git
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 4.19.312
lessThanOrEqual: 4.19.*
status: unaffected
versionType: custom
version: 5.4.274
lessThanOrEqual: 5.4.*
status: unaffected
versionType: custom
version: 5.10.215
lessThanOrEqual: 5.10.*
status: unaffected
versionType: custom
version: 5.15.155
lessThanOrEqual: 5.15.*
status: unaffected
versionType: custom
version: 6.1.86
lessThanOrEqual: 6.1.*
status: unaffected
versionType: custom
version: 6.6.27
lessThanOrEqual: 6.6.*
status: unaffected
versionType: custom
version: 6.8.6
lessThanOrEqual: 6.8.*
status: unaffected
versionType: custom
version: 6.9
lessThanOrEqual: *
status: unaffected
versionType: original_commit_for_fix
title: scsi: lpfc: Fix possible memory leak in lpfc_rcv_padisc()
x_generator: engine: bippy-d175d3acf727