CVE-2022-49703
scsi: ibmvfc: Store vhost pointer during subcrq allocation
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 3034ebe26389740bb6b4a463e05afb51dc93c336, < 8540f66196ca35b7b5e902932571c18b9fde0cd1; >= 3034ebe26389740bb6b4a463e05afb51dc93c336, < 6d38e3b614ded59da8b95377a98df969a5a5627a; >= 3034ebe26389740bb6b4a463e05afb51dc93c336, < aeaadcde1a60138bceb65de3cdaeec78170b4459
- Anyone running Linux 5.12
Vulnerability facts
- Affected
- Linux >= 3034ebe26389740bb6b4a463e05afb51dc93c336, < 8540f66196ca35b7b5e902932571c18b9fde0cd1; >= 3034ebe26389740bb6b4a463e05afb51dc93c336, < 6d38e3b614ded59da8b95377a98df969a5a5627a; >= 3034ebe26389740bb6b4a463e05afb51dc93c336, < aeaadcde1a60138bceb65de3cdaeec78170b4459; Linux 5.12
- Fixed in
- Linux 8540f66196ca35b7b5e902932571c18b9fde0cd1, Linux 6d38e3b614ded59da8b95377a98df969a5a5627a
- 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, CNA)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 13, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: ibmvfc: Store vhost pointer during subcrq allocation Currently the back pointer from a queue to the vhost adapter isn't set until after subcrq interrupt registration. The value is available when a queue is first allocated and can/should be also set for primary and async queues as well as subcrqs. This fixes a crash observed during kexec/kdump on Power 9 with legacy XICS interrupt controller where a pending subcrq interrupt from the previous kernel can be replayed immediately upon IRQ registration resulting in dereference of a garbage backpointer in ibmvfc_interrupt_scsi(). Kernel attempted to read user page (58) - exploit attempt? (uid: 0) BUG: Kernel NULL pointer dereference on read at 0x00000058 Faulting instruction address: 0xc008000003216a08 Oops: Kernel access of bad area, sig: 11 [#1] ... NIP [c008000003216a08] ibmvfc_interrupt_scsi+0x40/0xb0 [ibmvfc] LR [c0000000082079e8] __handle_irq_event_percpu+0x98/0x270 Call Trace: [c000000047fa3d80] [c0000000123e6180] 0xc0000000123e6180 (unreliable) [c000000047fa3df0] [c0000000082079e8] __handle_irq_event_percpu+0x98/0x270 [c000000047fa3ea0] [c000000008207d18] handle_irq_event+0x98/0x188 [c000000047fa3ef0] [c00000000820f564] handle_fasteoi_irq+0xc4/0x310 [c000000047fa3f40] [c000000008205c60] generic_handle_irq+0x50/0x80 [c000000047fa3f60] [c000000008015c40] __do_irq+0x70/0x1a0 [c000000047fa3f90] [c000000008016d7c] __do_IRQ+0x9c/0x130 [c000000014622f60] [0000000020000000] 0x20000000 [c000000014622ff0] [c000000008016e50] do_IRQ+0x40/0xa0 [c000000014623020] [c000000008017044] replay_soft_interrupts+0x194/0x2f0 [c000000014623210] [c0000000080172a8] arch_local_irq_restore+0x108/0x170 [c000000014623240] [c000000008eb1008] _raw_spin_unlock_irqrestore+0x58/0xb0 [c000000014623270] [c00000000820b12c] __setup_irq+0x49c/0x9f0 [c000000014623310] [c00000000820b7c0] request_threaded_irq+0x140/0x230 [c000000014623380] [c008000003212a50] ibmvfc_register_scsi_channel+0x1e8/0x2f0 [ibmvfc] [c000000014623450] [c008000003213d1c] ibmvfc_init_sub_crqs+0xc4/0x1f0 [ibmvfc] [c0000000146234d0] [c0080000032145a8] ibmvfc_reset_crq+0x150/0x210 [ibmvfc] [c000000014623550] [c0080000032147c8] ibmvfc_init_crq+0x160/0x280 [ibmvfc] [c0000000146235f0] [c00800000321a9cc] ibmvfc_probe+0x2a4/0x530 [ibmvfc]
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 3034ebe26389740bb6b4a463e05afb51dc93c336, < 8540f66196ca35b7b5e902932571c18b9fde0cd1; >= 3034ebe26389740bb6b4a463e05afb51dc93c336, < 6d38e3b614ded59da8b95377a98df969a5a5627a; >= 3034ebe26389740bb6b4a463e05afb51dc93c336, < aeaadcde1a60138bceb65de3cdaeec78170b4459 | — | cvelist |
| Linux | 5.12 | — | 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-49703. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-49703.md Affected: Linux >= 3034ebe26389740bb6b4a463e05afb51dc93c336, < 8540f66196ca35b7b5e902932571c18b9fde0cd1; >= 3034ebe26389740bb6b4a463e05afb51dc93c336, < 6d38e3b614ded59da8b95377a98df969a5a5627a; >= 3034ebe26389740bb6b4a463e05afb51dc93c336, < aeaadcde1a60138bceb65de3cdaeec78170b4459; Linux 5.12 Fixed in: Linux 8540f66196ca35b7b5e902932571c18b9fde0cd1, Linux 6d38e3b614ded59da8b95377a98df969a5a5627a 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
FAQ
Is CVE-2022-49703 being exploited?
There is no confirmed exploitation: CVE-2022-49703 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-49703?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-49703?
Linux >= 3034ebe26389740bb6b4a463e05afb51dc93c336, < 8540f66196ca35b7b5e902932571c18b9fde0cd1; >= 3034ebe26389740bb6b4a463e05afb51dc93c336, < 6d38e3b614ded59da8b95377a98df969a5a5627a; >= 3034ebe26389740bb6b4a463e05afb51dc93c336, < aeaadcde1a60138bceb65de3cdaeec78170b4459; Linux 5.12.
Is there a fix for CVE-2022-49703?
Yes. Fixed in Linux 8540f66196ca35b7b5e902932571c18b9fde0cd1, Linux 6d38e3b614ded59da8b95377a98df969a5a5627a. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-49703?
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.