CVE-2022-49157

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49157
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49157.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49157
Downstream
Related
Published
2025-02-26T01:55:20.807Z
Modified
2025-11-28T02:35:31.161399Z
Summary
scsi: qla2xxx: Fix premature hw access after PCI error
Details

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]

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49157.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Fixed
5ef6319f9882699613d5182fbd7929b017e8c5ab
Fixed
d7994dff9071555a959a168f9184dd9abae68a6b
Fixed
6c125fd5ad035777f7b471553f7ddda76e8e7136
Fixed
e35920ab7874d5e2faeb4f958a74bfa793f1ce5a

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.15.33
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.16.19
Type
ECOSYSTEM
Events
Introduced
5.17.0
Fixed
5.17.2