In the Linux kernel, the following vulnerability has been resolved:
scsi: lpfc: Address NULL pointer dereference after stargettorport()
Calls to stargettorport() may return NULL. Add check for NULL rport before dereference.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49332.json",
"cna_assigner": "Linux"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49332.json"
[
{
"id": "CVE-2022-49332-d795077d",
"digest": {
"function_hash": "109422218282411479208593293881894250028",
"length": 1429.0
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@68fcff1127e4995ddbd4b6861892a25c23db3f70",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/scsi/lpfc/lpfc_scsi.c",
"function": "lpfc_device_reset_handler"
}
},
{
"id": "CVE-2022-49332-e04fdd48",
"digest": {
"line_hashes": [
"321390273885141190308371123065472501333",
"248473755653104796433381440473135773324",
"303828467963775240079778133206140194657",
"36225036383564171710749510627664062523",
"59485702015632973277692063300483817424",
"19729892117428767298253095954364657765"
],
"threshold": 0.9
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@68fcff1127e4995ddbd4b6861892a25c23db3f70",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/scsi/lpfc/lpfc_scsi.c"
}
},
{
"id": "CVE-2022-49332-f538be69",
"digest": {
"function_hash": "243239302809335700166439796176001832009",
"length": 2599.0
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@68fcff1127e4995ddbd4b6861892a25c23db3f70",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/scsi/lpfc/lpfc_scsi.c",
"function": "lpfc_target_reset_handler"
}
}
]