CVE-2022-49118
scsi: hisi_sas: Free irq vectors in order for v3 HW
Mitigation
- Upgrade Linux to 554fb72ee34f4732c7f694f56c3c6e67790352a0 or later.
Who should check
- Anyone running Linux >= e16963f378faf82d307cad2796953f198497c614, < 224903cc60d045576393c3b16907742f23e6c740; >= e16963f378faf82d307cad2796953f198497c614, < f05a0d8de2ea49af36821a20b0b501e20ced937e; >= e16963f378faf82d307cad2796953f198497c614, < 8b6eab9d683bae7f88dc894b8c851f866032301c; >= e16963f378faf82d307cad2796953f198497c614, < b4cc04fa8f1fc3816c8494d77abab3f72b9d2292; >= e16963f378faf82d307cad2796953f198497c614, < 554fb72ee34f4732c7f694f56c3c6e67790352a0
- Anyone running Linux 5.4
Vulnerability facts
- Affected
- Linux >= e16963f378faf82d307cad2796953f198497c614, < 224903cc60d045576393c3b16907742f23e6c740; >= e16963f378faf82d307cad2796953f198497c614, < f05a0d8de2ea49af36821a20b0b501e20ced937e; >= e16963f378faf82d307cad2796953f198497c614, < 8b6eab9d683bae7f88dc894b8c851f866032301c; >= e16963f378faf82d307cad2796953f198497c614, < b4cc04fa8f1fc3816c8494d77abab3f72b9d2292; >= e16963f378faf82d307cad2796953f198497c614, < 554fb72ee34f4732c7f694f56c3c6e67790352a0; Linux 5.4
- Fixed in
- Linux 224903cc60d045576393c3b16907742f23e6c740, Linux 8b6eab9d683bae7f88dc894b8c851f866032301c, Linux 554fb72ee34f4732c7f694f56c3c6e67790352a0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: hisi_sas: Free irq vectors in order for v3 HW If the driver probe fails to request the channel IRQ or fatal IRQ, the driver will free the IRQ vectors before freeing the IRQs in free_irq(), and this will cause a kernel BUG like this: ------------[ cut here ]------------ kernel BUG at drivers/pci/msi.c:369! Internal error: Oops - BUG: 0 [#1] PREEMPT SMP Call trace: free_msi_irqs+0x118/0x13c pci_disable_msi+0xfc/0x120 pci_free_irq_vectors+0x24/0x3c hisi_sas_v3_probe+0x360/0x9d0 [hisi_sas_v3_hw] local_pci_probe+0x44/0xb0 work_for_cpu_fn+0x20/0x34 process_one_work+0x1d0/0x340 worker_thread+0x2e0/0x460 kthread+0x180/0x190 ret_from_fork+0x10/0x20 ---[ end trace b88990335b610c11 ]--- So we use devm_add_action() to control the order in which we free the vectors.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= e16963f378faf82d307cad2796953f198497c614, < 224903cc60d045576393c3b16907742f23e6c740; >= e16963f378faf82d307cad2796953f198497c614, < f05a0d8de2ea49af36821a20b0b501e20ced937e; >= e16963f378faf82d307cad2796953f198497c614, < 8b6eab9d683bae7f88dc894b8c851f866032301c; >= e16963f378faf82d307cad2796953f198497c614, < b4cc04fa8f1fc3816c8494d77abab3f72b9d2292; >= e16963f378faf82d307cad2796953f198497c614, < 554fb72ee34f4732c7f694f56c3c6e67790352a0 | — | cvelist |
| Linux | 5.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-49118. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-49118.md Affected: Linux >= e16963f378faf82d307cad2796953f198497c614, < 224903cc60d045576393c3b16907742f23e6c740; >= e16963f378faf82d307cad2796953f198497c614, < f05a0d8de2ea49af36821a20b0b501e20ced937e; >= e16963f378faf82d307cad2796953f198497c614, < 8b6eab9d683bae7f88dc894b8c851f866032301c; >= e16963f378faf82d307cad2… Fixed in: Linux 224903cc60d045576393c3b16907742f23e6c740, Linux 8b6eab9d683bae7f88dc894b8c851f866032301c, Linux 554fb72ee34f4732c7f694f56c3c6e67790352a0 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/224903cc60d045576393c3b16907742f23e6c740
- https://git.kernel.org/stable/c/f05a0d8de2ea49af36821a20b0b501e20ced937e
- https://git.kernel.org/stable/c/8b6eab9d683bae7f88dc894b8c851f866032301c
- https://git.kernel.org/stable/c/b4cc04fa8f1fc3816c8494d77abab3f72b9d2292
- https://git.kernel.org/stable/c/554fb72ee34f4732c7f694f56c3c6e67790352a0
FAQ
Is CVE-2022-49118 being exploited?
There is no confirmed exploitation: CVE-2022-49118 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-49118?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-49118?
Linux >= e16963f378faf82d307cad2796953f198497c614, < 224903cc60d045576393c3b16907742f23e6c740; >= e16963f378faf82d307cad2796953f198497c614, < f05a0d8de2ea49af36821a20b0b501e20ced937e; >= e16963f378faf82d307cad2796953f198497c614, < 8b6eab9d683bae7f88dc894b8c851f866032301c; >= e16963f378faf82d307cad2796953f198497c614, < b4cc04fa8f1fc3816c8494d77abab3f72b9d2292; >= e16963f378faf82d307cad2796953f198497c614, < 554fb72ee34f4732c7f694f56c3c6e67790352a0; Linux 5.4.
Is there a fix for CVE-2022-49118?
Yes. Fixed in Linux 224903cc60d045576393c3b16907742f23e6c740, Linux 8b6eab9d683bae7f88dc894b8c851f866032301c, Linux 554fb72ee34f4732c7f694f56c3c6e67790352a0. Upgrade Linux to 554fb72ee34f4732c7f694f56c3c6e67790352a0 or later.
How do I check if I'm affected by CVE-2022-49118?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.