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]
[
{
"deprecated": false,
"id": "CVE-2022-49157-059c01b6",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c125fd5ad035777f7b471553f7ddda76e8e7136",
"digest": {
"line_hashes": [
"233421143423472680201085630655089532863",
"50578124309067488548333075657760993119",
"171067973046628499838445522607632280140",
"300494597931206070233373537463789913868",
"259374877505677216916295072389091841003"
],
"threshold": 0.9
},
"target": {
"file": "drivers/scsi/qla2xxx/qla_tmpl.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49157-094f0ecf",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c125fd5ad035777f7b471553f7ddda76e8e7136",
"digest": {
"function_hash": "129339381965280454527984937068403046729",
"length": 1201.0
},
"target": {
"function": "qla2xxx_pci_error_detected",
"file": "drivers/scsi/qla2xxx/qla_os.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49157-17407bc0",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d7994dff9071555a959a168f9184dd9abae68a6b",
"digest": {
"function_hash": "98869764152044748767755333243631629140",
"length": 281.0
},
"target": {
"function": "qla27xx_fwdt_entry_t266",
"file": "drivers/scsi/qla2xxx/qla_tmpl.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49157-1a7a56f9",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d7994dff9071555a959a168f9184dd9abae68a6b",
"digest": {
"function_hash": "264261540706124723068972589540495135872",
"length": 1088.0
},
"target": {
"function": "qla2xxx_pci_mmio_enabled",
"file": "drivers/scsi/qla2xxx/qla_os.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49157-23b1b2b1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e35920ab7874d5e2faeb4f958a74bfa793f1ce5a",
"digest": {
"function_hash": "98869764152044748767755333243631629140",
"length": 281.0
},
"target": {
"function": "qla27xx_fwdt_entry_t266",
"file": "drivers/scsi/qla2xxx/qla_tmpl.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49157-4553b671",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ef6319f9882699613d5182fbd7929b017e8c5ab",
"digest": {
"function_hash": "264261540706124723068972589540495135872",
"length": 1088.0
},
"target": {
"function": "qla2xxx_pci_mmio_enabled",
"file": "drivers/scsi/qla2xxx/qla_os.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49157-52ccbfb5",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d7994dff9071555a959a168f9184dd9abae68a6b",
"digest": {
"line_hashes": [
"91161182632049286456414413675312635307",
"137661336365278614578264530465383522605",
"252515751259432740620670193245913190475",
"71718105551274912323602799283804768632",
"317513618800027438804719787946833597150",
"187805924400934838293533436011936876774",
"244918059192629565738346551060221116812",
"173328959705030295926746773693751703768",
"62236756770907445928521334476225074399",
"314528512575564380166016590066646257990",
"245629828229436267280487014950338378136",
"243732793728085570371220176920023286997",
"28744653640346813101194275225119447877",
"205658375745498517743840472187145112862"
],
"threshold": 0.9
},
"target": {
"file": "drivers/scsi/qla2xxx/qla_os.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49157-555693a7",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d7994dff9071555a959a168f9184dd9abae68a6b",
"digest": {
"function_hash": "129339381965280454527984937068403046729",
"length": 1201.0
},
"target": {
"function": "qla2xxx_pci_error_detected",
"file": "drivers/scsi/qla2xxx/qla_os.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49157-5ba9fa42",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ef6319f9882699613d5182fbd7929b017e8c5ab",
"digest": {
"line_hashes": [
"233421143423472680201085630655089532863",
"50578124309067488548333075657760993119",
"171067973046628499838445522607632280140",
"300494597931206070233373537463789913868",
"259374877505677216916295072389091841003"
],
"threshold": 0.9
},
"target": {
"file": "drivers/scsi/qla2xxx/qla_tmpl.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49157-61897bc9",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ef6319f9882699613d5182fbd7929b017e8c5ab",
"digest": {
"function_hash": "98869764152044748767755333243631629140",
"length": 281.0
},
"target": {
"function": "qla27xx_fwdt_entry_t266",
"file": "drivers/scsi/qla2xxx/qla_tmpl.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49157-6d39a76f",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c125fd5ad035777f7b471553f7ddda76e8e7136",
"digest": {
"line_hashes": [
"91161182632049286456414413675312635307",
"137661336365278614578264530465383522605",
"252515751259432740620670193245913190475",
"71718105551274912323602799283804768632",
"317513618800027438804719787946833597150",
"187805924400934838293533436011936876774",
"244918059192629565738346551060221116812",
"173328959705030295926746773693751703768",
"62236756770907445928521334476225074399",
"314528512575564380166016590066646257990",
"245629828229436267280487014950338378136",
"243732793728085570371220176920023286997",
"28744653640346813101194275225119447877",
"205658375745498517743840472187145112862"
],
"threshold": 0.9
},
"target": {
"file": "drivers/scsi/qla2xxx/qla_os.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49157-8a1091b8",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c125fd5ad035777f7b471553f7ddda76e8e7136",
"digest": {
"function_hash": "264261540706124723068972589540495135872",
"length": 1088.0
},
"target": {
"function": "qla2xxx_pci_mmio_enabled",
"file": "drivers/scsi/qla2xxx/qla_os.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49157-adde2598",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d7994dff9071555a959a168f9184dd9abae68a6b",
"digest": {
"line_hashes": [
"233421143423472680201085630655089532863",
"50578124309067488548333075657760993119",
"171067973046628499838445522607632280140",
"300494597931206070233373537463789913868",
"259374877505677216916295072389091841003"
],
"threshold": 0.9
},
"target": {
"file": "drivers/scsi/qla2xxx/qla_tmpl.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49157-b3ab9d4c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e35920ab7874d5e2faeb4f958a74bfa793f1ce5a",
"digest": {
"line_hashes": [
"233421143423472680201085630655089532863",
"50578124309067488548333075657760993119",
"171067973046628499838445522607632280140",
"300494597931206070233373537463789913868",
"259374877505677216916295072389091841003"
],
"threshold": 0.9
},
"target": {
"file": "drivers/scsi/qla2xxx/qla_tmpl.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49157-b697a484",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ef6319f9882699613d5182fbd7929b017e8c5ab",
"digest": {
"line_hashes": [
"91161182632049286456414413675312635307",
"137661336365278614578264530465383522605",
"252515751259432740620670193245913190475",
"71718105551274912323602799283804768632",
"317513618800027438804719787946833597150",
"187805924400934838293533436011936876774",
"244918059192629565738346551060221116812",
"173328959705030295926746773693751703768",
"62236756770907445928521334476225074399",
"314528512575564380166016590066646257990",
"245629828229436267280487014950338378136",
"243732793728085570371220176920023286997",
"28744653640346813101194275225119447877",
"205658375745498517743840472187145112862"
],
"threshold": 0.9
},
"target": {
"file": "drivers/scsi/qla2xxx/qla_os.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49157-ca325385",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e35920ab7874d5e2faeb4f958a74bfa793f1ce5a",
"digest": {
"function_hash": "129339381965280454527984937068403046729",
"length": 1201.0
},
"target": {
"function": "qla2xxx_pci_error_detected",
"file": "drivers/scsi/qla2xxx/qla_os.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49157-d5405e03",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e35920ab7874d5e2faeb4f958a74bfa793f1ce5a",
"digest": {
"line_hashes": [
"91161182632049286456414413675312635307",
"137661336365278614578264530465383522605",
"252515751259432740620670193245913190475",
"71718105551274912323602799283804768632",
"317513618800027438804719787946833597150",
"187805924400934838293533436011936876774",
"244918059192629565738346551060221116812",
"173328959705030295926746773693751703768",
"62236756770907445928521334476225074399",
"314528512575564380166016590066646257990",
"245629828229436267280487014950338378136",
"243732793728085570371220176920023286997",
"28744653640346813101194275225119447877",
"205658375745498517743840472187145112862"
],
"threshold": 0.9
},
"target": {
"file": "drivers/scsi/qla2xxx/qla_os.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49157-e71512ea",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e35920ab7874d5e2faeb4f958a74bfa793f1ce5a",
"digest": {
"function_hash": "264261540706124723068972589540495135872",
"length": 1088.0
},
"target": {
"function": "qla2xxx_pci_mmio_enabled",
"file": "drivers/scsi/qla2xxx/qla_os.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49157-f96687f8",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ef6319f9882699613d5182fbd7929b017e8c5ab",
"digest": {
"function_hash": "129339381965280454527984937068403046729",
"length": 1201.0
},
"target": {
"function": "qla2xxx_pci_error_detected",
"file": "drivers/scsi/qla2xxx/qla_os.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"id": "CVE-2022-49157-fd6789e7",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c125fd5ad035777f7b471553f7ddda76e8e7136",
"digest": {
"function_hash": "98869764152044748767755333243631629140",
"length": 281.0
},
"target": {
"function": "qla27xx_fwdt_entry_t266",
"file": "drivers/scsi/qla2xxx/qla_tmpl.c"
},
"signature_type": "Function",
"signature_version": "v1"
}
]