CVE-2022-49118
Last modified
CVE-2022-49118 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.5, < 5.10.111 |
| Linux | Linux Kernel | >= 5.11, < 5.15.34 |
| Linux | Linux Kernel | >= 5.16, < 5.16.20 |
| Linux | Linux Kernel | >= 5.17, < 5.17.3 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-49118?
How severe is CVE-2022-49118?
How do I fix CVE-2022-49118?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-49112In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49113In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49114In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2022-49115In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49116In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49117In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49119In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-4912Type Confusion in MathML in Google Chrome prior to 105.0.519…8.8
- CVE-2022-49120In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49121In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49122In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49123In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2022-49118?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
