In the Linux kernel, the following vulnerability has been resolved:
scsi: lpfc: Fix possible memory leak in lpfcrcvpadisc()
The call to lpfcsli4resumerpi() in lpfcrcv_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 lpfcsli4resume_rpi() and conditionally release the elsiocb resource.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@edf82aa7e9eb864a09229392054d131b34a5c9e8",
"id": "CVE-2024-35930-007858e4",
"deprecated": false,
"target": {
"file": "drivers/scsi/lpfc/lpfc_nportdisc.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"253406032504328101066210437439235491959",
"293675535060756199405536641056242249915",
"217503641598776769639346574607683269547",
"309133828937294874308533695978370176877",
"259713039903746515251715788811231327505"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e2cd32435b1dff3d63759476a3abc878e02fb6c8",
"id": "CVE-2024-35930-1535bf6d",
"deprecated": false,
"target": {
"file": "drivers/scsi/lpfc/lpfc_nportdisc.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"253406032504328101066210437439235491959",
"293675535060756199405536641056242249915",
"217503641598776769639346574607683269547",
"309133828937294874308533695978370176877",
"259713039903746515251715788811231327505"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7849e6f8410da96384e3d1f6b6d730f095142dc7",
"id": "CVE-2024-35930-315f04ec",
"deprecated": false,
"target": {
"function": "lpfc_rcv_padisc",
"file": "drivers/scsi/lpfc/lpfc_nportdisc.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 1839.0,
"function_hash": "159938583612140505193688713134492881761"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ee0b5f96b6d66a1e6698228dcb41df11ec7f352f",
"id": "CVE-2024-35930-3a59417b",
"deprecated": false,
"target": {
"function": "lpfc_rcv_padisc",
"file": "drivers/scsi/lpfc/lpfc_nportdisc.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 1827.0,
"function_hash": "41435882421367035877216882182544426021"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3320126ed3afbc11934502319b340f91a4d61c8f",
"id": "CVE-2024-35930-3f313af5",
"deprecated": false,
"target": {
"function": "lpfc_rcv_padisc",
"file": "drivers/scsi/lpfc/lpfc_nportdisc.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 1827.0,
"function_hash": "41435882421367035877216882182544426021"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e2cd32435b1dff3d63759476a3abc878e02fb6c8",
"id": "CVE-2024-35930-4b9039a2",
"deprecated": false,
"target": {
"function": "lpfc_rcv_padisc",
"file": "drivers/scsi/lpfc/lpfc_nportdisc.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 1834.0,
"function_hash": "165465061413616990381874473540072501372"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ae917d4bcab80ab304b774d492e2fcd6c52c06b",
"id": "CVE-2024-35930-60f6b577",
"deprecated": false,
"target": {
"file": "drivers/scsi/lpfc/lpfc_nportdisc.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"253406032504328101066210437439235491959",
"293675535060756199405536641056242249915",
"217503641598776769639346574607683269547",
"309133828937294874308533695978370176877",
"259713039903746515251715788811231327505"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3320126ed3afbc11934502319b340f91a4d61c8f",
"id": "CVE-2024-35930-76f47e55",
"deprecated": false,
"target": {
"file": "drivers/scsi/lpfc/lpfc_nportdisc.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"253406032504328101066210437439235491959",
"293675535060756199405536641056242249915",
"217503641598776769639346574607683269547",
"309133828937294874308533695978370176877",
"259713039903746515251715788811231327505"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@07a2aa674fca679316b8ac51440adb895b53a7cf",
"id": "CVE-2024-35930-9e3a75f1",
"deprecated": false,
"target": {
"file": "drivers/scsi/lpfc/lpfc_nportdisc.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"253406032504328101066210437439235491959",
"293675535060756199405536641056242249915",
"217503641598776769639346574607683269547",
"309133828937294874308533695978370176877",
"259713039903746515251715788811231327505"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7849e6f8410da96384e3d1f6b6d730f095142dc7",
"id": "CVE-2024-35930-c087f980",
"deprecated": false,
"target": {
"file": "drivers/scsi/lpfc/lpfc_nportdisc.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"253406032504328101066210437439235491959",
"293675535060756199405536641056242249915",
"217503641598776769639346574607683269547",
"309133828937294874308533695978370176877",
"259713039903746515251715788811231327505"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ee0b5f96b6d66a1e6698228dcb41df11ec7f352f",
"id": "CVE-2024-35930-d6e268c6",
"deprecated": false,
"target": {
"file": "drivers/scsi/lpfc/lpfc_nportdisc.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"253406032504328101066210437439235491959",
"293675535060756199405536641056242249915",
"217503641598776769639346574607683269547",
"309133828937294874308533695978370176877",
"259713039903746515251715788811231327505"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@07a2aa674fca679316b8ac51440adb895b53a7cf",
"id": "CVE-2024-35930-d9db2906",
"deprecated": false,
"target": {
"function": "lpfc_rcv_padisc",
"file": "drivers/scsi/lpfc/lpfc_nportdisc.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 1827.0,
"function_hash": "41435882421367035877216882182544426021"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ae917d4bcab80ab304b774d492e2fcd6c52c06b",
"id": "CVE-2024-35930-f252310b",
"deprecated": false,
"target": {
"function": "lpfc_rcv_padisc",
"file": "drivers/scsi/lpfc/lpfc_nportdisc.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 1827.0,
"function_hash": "41435882421367035877216882182544426021"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@edf82aa7e9eb864a09229392054d131b34a5c9e8",
"id": "CVE-2024-35930-f7c7619c",
"deprecated": false,
"target": {
"function": "lpfc_rcv_padisc",
"file": "drivers/scsi/lpfc/lpfc_nportdisc.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 1812.0,
"function_hash": "286617198379324197264582615936208124119"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c473288f27d15014447de5a891bdf22a0695847a",
"id": "CVE-2024-35930-fe25df38",
"deprecated": false,
"target": {
"file": "drivers/scsi/lpfc/lpfc_nportdisc.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"253406032504328101066210437439235491959",
"293675535060756199405536641056242249915",
"217503641598776769639346574607683269547",
"309133828937294874308533695978370176877",
"259713039903746515251715788811231327505"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c473288f27d15014447de5a891bdf22a0695847a",
"id": "CVE-2024-35930-fe87e2fb",
"deprecated": false,
"target": {
"function": "lpfc_rcv_padisc",
"file": "drivers/scsi/lpfc/lpfc_nportdisc.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 1829.0,
"function_hash": "70359768073303125302331613081094200015"
}
}
]