# CVE-2022-49154: KVM: SVM: fix panic on out-of-bounds guest IRQ

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-617
- **Published:** 2025-02-26T01:55:19.245Z
- **Modified:** 2026-08-05T08:54:05.900Z

## Who should check

- Anyone running Linux \>= 411b44ba80ab0023383fe3f377e903cb0cb7d8bb, \< 0fb470eb48892e131d10aa3be6915239e65758f3; \>= 411b44ba80ab0023383fe3f377e903cb0cb7d8bb, \< 3fa2d747960521a646fc1aad7aea82e95e139a68; \>= 411b44ba80ab0023383fe3f377e903cb0cb7d8bb, \< e4d153d53d9648513481eb4ef8c212e7f1f8173d; \>= 411b44ba80ab0023383fe3f377e903cb0cb7d8bb, \< a6ffdebfb6a9c2ffeed902b544b96fe67498210e; \>= 411b44ba80ab0023383fe3f377e903cb0cb7d8bb, \< a80ced6ea514000d34bf1239d47553de0d1ee89e
- Anyone running Linux 4.9

## Description

In the Linux kernel, the following vulnerability has been resolved:

KVM: SVM: fix panic on out-of-bounds guest IRQ

As guest\_irq is coming from KVM\_IRQFD API call, it may trigger
crash in svm\_update\_pi\_irte() due to out-of-bounds:

crash\> bt
PID: 22218  TASK: ffff951a6ad74980  CPU: 73  COMMAND: "vcpu8"
 \#0 \[ffffb1ba6707fa40\] machine\_kexec at ffffffff8565b397
 \#1 \[ffffb1ba6707fa90\] \_\_crash\_kexec at ffffffff85788a6d
 \#2 \[ffffb1ba6707fb58\] crash\_kexec at ffffffff8578995d
 \#3 \[ffffb1ba6707fb70\] oops\_end at ffffffff85623c0d
 \#4 \[ffffb1ba6707fb90\] no\_context at ffffffff856692c9
 \#5 \[ffffb1ba6707fbf8\] exc\_page\_fault at ffffffff85f95b51
 \#6 \[ffffb1ba6707fc50\] asm\_exc\_page\_fault at ffffffff86000ace
    \[exception RIP: svm\_update\_pi\_irte+227\]
    RIP: ffffffffc0761b53  RSP: ffffb1ba6707fd08  RFLAGS: 00010086
    RAX: ffffb1ba6707fd78  RBX: ffffb1ba66d91000  RCX: 0000000000000001
    RDX: 00003c803f63f1c0  RSI: 000000000000019a  RDI: ffffb1ba66db2ab8
    RBP: 000000000000019a   R8: 0000000000000040   R9: ffff94ca41b82200
    R10: ffffffffffffffcf  R11: 0000000000000001  R12: 0000000000000001
    R13: 0000000000000001  R14: ffffffffffffffcf  R15: 000000000000005f
    ORIG\_RAX: ffffffffffffffff  CS: 0010  SS: 0018
 \#7 \[ffffb1ba6707fdb8\] kvm\_irq\_routing\_update at ffffffffc09f19a1 \[kvm\]
 \#8 \[ffffb1ba6707fde0\] kvm\_set\_irq\_routing at ffffffffc09f2133 \[kvm\]
 \#9 \[ffffb1ba6707fe18\] kvm\_vm\_ioctl at ffffffffc09ef544 \[kvm\]
    RIP: 00007f143c36488b  RSP: 00007f143a4e04b8  RFLAGS: 00000246
    RAX: ffffffffffffffda  RBX: 00007f05780041d0  RCX: 00007f143c36488b
    RDX: 00007f05780041d0  RSI: 000000004008ae6a  RDI: 0000000000000020
    RBP: 00000000000004e8   R8: 0000000000000008   R9: 00007f05780041e0
    R10: 00007f0578004560  R11: 0000000000000246  R12: 00000000000004e0
    R13: 000000000000001a  R14: 00007f1424001c60  R15: 00007f0578003bc0
    ORIG\_RAX: 0000000000000010  CS: 0033  SS: 002b

Vmx have been fix this in commit 3a8b0677fc61 (KVM: VMX: Do not BUG() on
out-of-bounds guest IRQ), so we can just copy source from that to fix
this.

## Affected and fixed versions

- Linux: \>= 411b44ba80ab0023383fe3f377e903cb0cb7d8bb, \< 0fb470eb48892e131d10aa3be6915239e65758f3; \>= 411b44ba80ab0023383fe3f377e903cb0cb7d8bb, \< 3fa2d747960521a646fc1aad7aea82e95e139a68; \>= 411b44ba80ab0023383fe3f377e903cb0cb7d8bb, \< e4d153d53d9648513481eb4ef8c212e7f1f8173d; \>= 411b44ba80ab0023383fe3f377e903cb0cb7d8bb, \< a6ffdebfb6a9c2ffeed902b544b96fe67498210e; \>= 411b44ba80ab0023383fe3f377e903cb0cb7d8bb, \< a80ced6ea514000d34bf1239d47553de0d1ee89e (cvelist)
- Linux: 4.9 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49154. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49154.md
Affected: Linux >= 411b44ba80ab0023383fe3f377e903cb0cb7d8bb, < 0fb470eb48892e131d10aa3be6915239e65758f3; >= 411b44ba80ab0023383fe3f377e903cb0cb7d8bb, < 3fa2d747960521a646fc1aad7aea82e95e139a68; >= 411b44ba80ab0023383fe3f377e903cb0cb7d8bb, < e4d153d53d9648513481eb4ef8c212e7f1f8173d; >= 411b44ba80ab0023383fe3f…
Fixed in: Linux 0fb470eb48892e131d10aa3be6915239e65758f3, Linux 3fa2d747960521a646fc1aad7aea82e95e139a68

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.
```

## FAQ

### Is CVE-2022-49154 being exploited?

There is no confirmed exploitation: CVE-2022-49154 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49154?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49154?

Linux \>= 411b44ba80ab0023383fe3f377e903cb0cb7d8bb, \< 0fb470eb48892e131d10aa3be6915239e65758f3; \>= 411b44ba80ab0023383fe3f377e903cb0cb7d8bb, \< 3fa2d747960521a646fc1aad7aea82e95e139a68; \>= 411b44ba80ab0023383fe3f377e903cb0cb7d8bb, \< e4d153d53d9648513481eb4ef8c212e7f1f8173d; \>= 411b44ba80ab0023383fe3f377e903cb0cb7d8bb, \< a6ffdebfb6a9c2ffeed902b544b96fe67498210e; \>= 411b44ba80ab0023383fe3f377e903cb0cb7d8bb, \< a80ced6ea514000d34bf1239d47553de0d1ee89e; Linux 4.9.

### Is there a fix for CVE-2022-49154?

Yes. Fixed in Linux 0fb470eb48892e131d10aa3be6915239e65758f3, Linux 3fa2d747960521a646fc1aad7aea82e95e139a68. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-49154?

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.

## References

- patch: <https://git.kernel.org/stable/c/0fb470eb48892e131d10aa3be6915239e65758f3>
- patch: <https://git.kernel.org/stable/c/3fa2d747960521a646fc1aad7aea82e95e139a68>
- patch: <https://git.kernel.org/stable/c/e4d153d53d9648513481eb4ef8c212e7f1f8173d>
- patch: <https://git.kernel.org/stable/c/a6ffdebfb6a9c2ffeed902b544b96fe67498210e>
- patch: <https://git.kernel.org/stable/c/a80ced6ea514000d34bf1239d47553de0d1ee89e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49154>

HTML: <https://flawdb.com/CVE-2022-49154> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49154>
