In the Linux kernel, the following vulnerability has been resolved:
scsi: qla2xxx: Fix premature hw access after PCI error
After a recoverable PCI error has been detected and recovered, qla driver needs to check to see if the error condition still persist and/or wait for the OS to give the resume signal.
Sep 8 22:26:03 localhost kernel: WARNING: CPU: 9 PID: 124606 at qlatmpl.c:440 qla27xxfwdtentryt266+0x55/0x60 [qla2xxx] Sep 8 22:26:03 localhost kernel: RIP: 0010:qla27xxfwdtentryt266+0x55/0x60 [qla2xxx] Sep 8 22:26:03 localhost kernel: Call Trace: Sep 8 22:26:03 localhost kernel: ? qla27xxwalktemplate+0xb1/0x1b0 [qla2xxx] Sep 8 22:26:03 localhost kernel: ? qla27xxexecutefwdttemplate+0x12a/0x160 [qla2xxx] Sep 8 22:26:03 localhost kernel: ? qla27xxfwdump+0xa0/0x1c0 [qla2xxx] Sep 8 22:26:03 localhost kernel: ? qla2xxxpcimmioenabled+0xfb/0x120 [qla2xxx] Sep 8 22:26:03 localhost kernel: ? reportmmioenabled+0x44/0x80 Sep 8 22:26:03 localhost kernel: ? reportslotreset+0x80/0x80 Sep 8 22:26:03 localhost kernel: ? pciwalkbus+0x70/0x90 Sep 8 22:26:03 localhost kernel: ? aerdevcorrectableshow+0xc0/0xc0 Sep 8 22:26:03 localhost kernel: ? pciedorecovery+0x1bb/0x240 Sep 8 22:26:03 localhost kernel: ? aerrecoverworkfunc+0xaa/0xd0 Sep 8 22:26:03 localhost kernel: ? processonework+0x1a7/0x360 .. Sep 8 22:26:03 localhost kernel: qla2xxx [0000:42:00.2]-8041:22: detected PCI disconnect. Sep 8 22:26:03 localhost kernel: qla2xxx [0000:42:00.2]-107ff:22: qla27xxfwdtentry_t262: dump ram MB failed. Area 5h start 198013h end 198013h Sep 8 22:26:03 localhost kernel: qla2xxx [0000:42:00.2]-107ff:22: Unable to capture FW dump Sep 8 22:26:03 localhost kernel: qla2xxx [0000:42:00.2]-1015:22: cmd=0x0, waited 5221 msecs Sep 8 22:26:03 localhost kernel: qla2xxx [0000:42:00.2]-680d:22: mmio enabled returning. Sep 8 22:26:03 localhost kernel: qla2xxx [0000:42:00.2]-d04c:22: MBX Command timeout for cmd 0, iocontrol=ffffffff jiffies=10140f2e5 mb[0-3]=[0xffff 0xffff 0xffff 0xffff]
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49157.json",
"cna_assigner": "Linux"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49157.json"
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "98869764152044748767755333243631629140",
"length": 281.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e35920ab7874d5e2faeb4f958a74bfa793f1ce5a",
"signature_type": "Function",
"id": "CVE-2022-49157-23b1b2b1",
"target": {
"file": "drivers/scsi/qla2xxx/qla_tmpl.c",
"function": "qla27xx_fwdt_entry_t266"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"233421143423472680201085630655089532863",
"50578124309067488548333075657760993119",
"171067973046628499838445522607632280140",
"300494597931206070233373537463789913868",
"259374877505677216916295072389091841003"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e35920ab7874d5e2faeb4f958a74bfa793f1ce5a",
"signature_type": "Line",
"id": "CVE-2022-49157-b3ab9d4c",
"target": {
"file": "drivers/scsi/qla2xxx/qla_tmpl.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "129339381965280454527984937068403046729",
"length": 1201.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e35920ab7874d5e2faeb4f958a74bfa793f1ce5a",
"signature_type": "Function",
"id": "CVE-2022-49157-ca325385",
"target": {
"file": "drivers/scsi/qla2xxx/qla_os.c",
"function": "qla2xxx_pci_error_detected"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"91161182632049286456414413675312635307",
"137661336365278614578264530465383522605",
"252515751259432740620670193245913190475",
"71718105551274912323602799283804768632",
"317513618800027438804719787946833597150",
"187805924400934838293533436011936876774",
"244918059192629565738346551060221116812",
"173328959705030295926746773693751703768",
"62236756770907445928521334476225074399",
"314528512575564380166016590066646257990",
"245629828229436267280487014950338378136",
"243732793728085570371220176920023286997",
"28744653640346813101194275225119447877",
"205658375745498517743840472187145112862"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e35920ab7874d5e2faeb4f958a74bfa793f1ce5a",
"signature_type": "Line",
"id": "CVE-2022-49157-d5405e03",
"target": {
"file": "drivers/scsi/qla2xxx/qla_os.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "264261540706124723068972589540495135872",
"length": 1088.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e35920ab7874d5e2faeb4f958a74bfa793f1ce5a",
"signature_type": "Function",
"id": "CVE-2022-49157-e71512ea",
"target": {
"file": "drivers/scsi/qla2xxx/qla_os.c",
"function": "qla2xxx_pci_mmio_enabled"
}
}
]