In the Linux kernel, the following vulnerability has been resolved:
scsi: qla2xxx: Pointer may be dereferenced
Klocwork tool reported pointer 'rport' returned from call to function fcbsgto_rport() may be NULL and will be dereferenced.
Add a fix to validate rport before dereferencing.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53150.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53150.json"
[
{
"id": "CVE-2023-53150-86d3124e",
"target": {
"function": "qla24xx_bsg_request",
"file": "drivers/scsi/qla2xxx/qla_bsg.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f22f9ddbb29dba369daddb084be3bacf1587529",
"digest": {
"function_hash": "210805189365833225607724593011376670777",
"length": 1047.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53150-8cfbcb30",
"target": {
"file": "drivers/scsi/qla2xxx/qla_bsg.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@005961bd8f066fe931104f67c34ebfcc7f240099",
"digest": {
"threshold": 0.9,
"line_hashes": [
"241347794488289772952231814811800680191",
"101921822154789277154788339997027827251",
"138561468940336863672455221262828701733",
"182119492382466080255632214381101641693"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53150-9f6d8747",
"target": {
"file": "drivers/scsi/qla2xxx/qla_bsg.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f22f9ddbb29dba369daddb084be3bacf1587529",
"digest": {
"threshold": 0.9,
"line_hashes": [
"241347794488289772952231814811800680191",
"101921822154789277154788339997027827251",
"138561468940336863672455221262828701733",
"182119492382466080255632214381101641693"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53150-bb0af61b",
"target": {
"function": "qla24xx_bsg_request",
"file": "drivers/scsi/qla2xxx/qla_bsg.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@005961bd8f066fe931104f67c34ebfcc7f240099",
"digest": {
"function_hash": "210805189365833225607724593011376670777",
"length": 1047.0
},
"signature_type": "Function"
}
]