Skip to content
Fencer Vulns
medium 5.5

CVE-2022-50228 json

KVM: SVM: Don't BUG if userspace injects an interrupt with GIF=0

published 2025-06-18 16 mo ago modified 2026-11-05 3 d ago also EUVD-2022-55486

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 20%
public exploits
0
none known

Summary

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

KVM: SVM: Don't BUG if userspace injects an interrupt with GIF=0

Don't BUG/WARN on interrupt injection due to GIF being cleared, since it's trivial for userspace to force the situation via KVM_SET_VCPU_EVENTS (even if having at least a WARN there would be correct for KVM internally generated injections).

kernel BUG at arch/x86/kvm/svm/svm.c:3386! invalid opcode: 0000 [#1] SMP CPU: 15 PID: 926 Comm: smm_test Not tainted 5.17.0-rc3+ #264 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015 RIP: 0010:svm_inject_irq+0xab/0xb0 [kvm_amd] Code: <0f> 0b 0f 1f 00 0f 1f 44 00 00 80 3d ac b3 01 00 00 55 48 89 f5 53 RSP: 0018:ffffc90000b37d88 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88810a234ac0 RCX: 0000000000000006 RDX: 0000000000000000 RSI: ffffc90000b37df7 RDI: ffff88810a234ac0 RBP: ffffc90000b37df7 R08: ffff88810a1fa410 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888109571000 R14: ffff88810a234ac0 R15: 0000000000000000 FS: 0000000001821380(0000) GS:ffff88846fdc0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f74fc550008 CR3: 000000010a6fe000 CR4: 0000000000350ea0 Call Trace: <TASK> inject_pending_event+0x2f7/0x4c0 [kvm] kvm_arch_vcpu_ioctl_run+0x791/0x17a0 [kvm] kvm_vcpu_ioctl+0x26d/0x650 [kvm] __x64_sys_ioctl+0x82/0xb0 do_syscall_64+0x3b/0xc0 entry_SYSCALL_64_after_hwframe+0x44/0xae </TASK>

Patch / fix

  • Linux Linux 4.9.326, 4.14.291, 4.19.256, 5.4.211, 5.10.137, 5.15.61, 5.18.18, 5.19.2, 6.0
  • linux Debian 14, Debian 13, Debian 12 6.0.2-1

debian advisories DEBIAN-CVE-2022-50228

  • linux Ubuntu 18.04 LTS 4.15.0-197.208
  • linux Ubuntu 20.04 LTS 5.4.0-132.148
  • linux Ubuntu 22.04 LTS 5.15.0-53.59
  • linux-aws Ubuntu 18.04 LTS 4.15.0-1143.155
  • linux-aws Ubuntu 20.04 LTS 5.4.0-1089.97
  • linux-aws Ubuntu 22.04 LTS 5.15.0-1023.27
  • linux-gcp Ubuntu 20.04 LTS 5.4.0-1093.102
  • linux-gcp Ubuntu 22.04 LTS 5.15.0-1022.29

ubuntu advisories UBUNTU-CVE-2022-50228

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel-rt RHEL 8 4.18.0-553.79.1.rt7.420.el8_10
  • kernel-rt-kvm RHEL 8 4.18.0-553.79.1.rt7.420.el8_10
  • kernel-rt-core RHEL 8 4.18.0-553.79.1.rt7.420.el8_10
  • kernel-rt-modules RHEL 8 4.18.0-553.79.1.rt7.420.el8_10
  • kernel-rt-debug-kvm RHEL 8 4.18.0-553.79.1.rt7.420.el8_10
  • kernel-rt-debug-core RHEL 8 4.18.0-553.79.1.rt7.420.el8_10
  • kernel-rt-debug-modules RHEL 8 4.18.0-553.79.1.rt7.420.el8_10
  • kernel-rt-modules-extra RHEL 8 4.18.0-553.79.1.rt7.420.el8_10

red hat advisories RHSA-2025:22752RHSA-2025:21667RHSA-2025:19492RHSA-2025:19268RHSA-2025:19222RHSA-2025:18932

  • kernel-64kb SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS, SLE High Performance Computing 15 SP4-ESPOS 5.14.21-150400.24.170.2
  • kernel-syms SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +3 more 5.14.21-150400.24.170.1
  • kernel-source SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +3 more 5.14.21-150400.24.170.1
  • kernel-default SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +6 more 5.14.21-150400.24.170.2
  • kernel-zfcpdump SLES 15 SP4-LTSS, Manager Server 4.3 5.14.21-150400.24.170.2
  • kernel-obs-build SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 5.14.21-150400.24.170.2
  • kernel-default-base SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +5 more 5.14.21-150400.24.170.2.150400.24.86.2
  • kernel-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.124.1

suse advisories SUSE-SU-2025:03204-1SUSE-SU-2025:02537-1SUSE-SU-2025:02322-1SUSE-SU-2025:02321-1SUSE-SU-2025:02264-1

  • kernel AlmaLinux 8 4.18.0-553.79.1.el8_10
  • perf AlmaLinux 8 4.18.0-553.79.1.el8_10
  • bpftool AlmaLinux 8 4.18.0-553.79.1.el8_10
  • kernel-core AlmaLinux 8 4.18.0-553.79.1.el8_10
  • kernel-tools AlmaLinux 8 4.18.0-553.79.1.el8_10
  • python3-perf AlmaLinux 8 4.18.0-553.79.1.el8_10
  • kernel-modules AlmaLinux 8 4.18.0-553.79.1.el8_10
  • kernel-zfcpdump AlmaLinux 8 4.18.0-553.79.1.el8_10

almalinux advisories ALSA-2025:17797ALSA-2025:17812

  • kernel-rt Rocky Linux 8 4.18.0-553.79.1.rt7.420.el8_10
  • kernel Rocky Linux 8 4.18.0-553.79.1.el8_10

rocky linux advisories RLSA-2025:17812RLSA-2025:17797

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-50228 updated cvss 7.0

kernel: KVM: SVM: Don't BUG if userspace injects an interrupt with GIF=0

  • Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +12 more
    affected: no fix available
  • Red Hat Enterprise Linux AppStream (v. 9) perf 5.14.0-284.11.1.el9_2, rtla 5.14.0-284.11.1.el9_2, kernel-devel-matched 5.14.0-284.11.1.el9_2, kernel-64k-devel-matched 5.14.0-284.11.1.el9_2, kernel-debug-devel-matched 5.14.0-284.11.1.el9_2, kernel-debuginfo-common-s390x 5.14.0-284.11.1.el9_2, +5 more
    fixed: vendor fix RHSA-2023:2458
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) perf 5.14.0-70.151.1.el9_0, kernel-devel-matched 5.14.0-70.151.1.el9_0, kernel-debug-devel-matched 5.14.0-70.151.1.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.151.1.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.151.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.151.1.el9_0, +2 more
    fixed: vendor fix RHSA-2025:19492
  • Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-553.79.1.el8_10, kernel 4.18.0-553.79.1.el8_10, bpftool 4.18.0-553.79.1.el8_10, kernel-core 4.18.0-553.79.1.el8_10, kernel-tools 4.18.0-553.79.1.el8_10, python3-perf 4.18.0-553.79.1.el8_10, +15 more
    fixed: vendor fix RHSA-2025:17797
  • Red Hat Enterprise Linux BaseOS (v. 9) bpftool 7.0.0-284.11.1.el9_2, kernel 5.14.0-284.11.1.el9_2, kernel-64k 5.14.0-284.11.1.el9_2, kernel-core 5.14.0-284.11.1.el9_2, kernel-tools 5.14.0-284.11.1.el9_2, python3-perf 5.14.0-284.11.1.el9_2, +28 more
    fixed: vendor fix RHSA-2023:2458
  • Red Hat Enterprise Linux BaseOS AUS (v. 8.2) perf 4.18.0-193.173.1.el8_2, kernel 4.18.0-193.173.1.el8_2, bpftool 4.18.0-193.173.1.el8_2, kernel-core 4.18.0-193.173.1.el8_2, kernel-tools 4.18.0-193.173.1.el8_2, python3-perf 4.18.0-193.173.1.el8_2, +8 more
    fixed: vendor fix RHSA-2025:21667
  • Red Hat Enterprise Linux BaseOS AUS (v.8.4) perf 4.18.0-305.179.1.el8_4, kernel 4.18.0-305.179.1.el8_4, bpftool 4.18.0-305.179.1.el8_4, kernel-core 4.18.0-305.179.1.el8_4, kernel-tools 4.18.0-305.179.1.el8_4, python3-perf 4.18.0-305.179.1.el8_4, +8 more
    fixed: vendor fix RHSA-2025:22752
  • Red Hat Enterprise Linux BaseOS AUS (v.8.6) perf 4.18.0-372.166.1.el8_6, kernel 4.18.0-372.166.1.el8_6, bpftool 4.18.0-372.166.1.el8_6, kernel-core 4.18.0-372.166.1.el8_6, kernel-tools 4.18.0-372.166.1.el8_6, python3-perf 4.18.0-372.166.1.el8_6, +8 more Red Hat Enterprise Linux BaseOS E4S (v.8.6) perf 4.18.0-372.166.1.el8_6, kernel 4.18.0-372.166.1.el8_6, bpftool 4.18.0-372.166.1.el8_6, kernel-core 4.18.0-372.166.1.el8_6, kernel-tools 4.18.0-372.166.1.el8_6, python3-perf 4.18.0-372.166.1.el8_6, +15 more
    fixed: vendor fix RHSA-2025:19222
show 11 more
  • Red Hat Enterprise Linux BaseOS E4S (v.8.8) perf 4.18.0-477.116.1.el8_8, kernel 4.18.0-477.116.1.el8_8, bpftool 4.18.0-477.116.1.el8_8, kernel-core 4.18.0-477.116.1.el8_8, kernel-tools 4.18.0-477.116.1.el8_8, python3-perf 4.18.0-477.116.1.el8_8, +9 more
    fixed: vendor fix RHSA-2025:18932
  • Red Hat Enterprise Linux BaseOS E4S (v.9.0) kernel 5.14.0-70.151.1.el9_0, bpftool 5.14.0-70.151.1.el9_0, kernel-core 5.14.0-70.151.1.el9_0, kernel-tools 5.14.0-70.151.1.el9_0, python3-perf 5.14.0-70.151.1.el9_0, kernel-modules 5.14.0-70.151.1.el9_0, +14 more
    fixed: vendor fix RHSA-2025:19492
  • Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) perf 4.18.0-305.179.1.el8_4, kernel 4.18.0-305.179.1.el8_4, bpftool 4.18.0-305.179.1.el8_4, kernel-core 4.18.0-305.179.1.el8_4, kernel-tools 4.18.0-305.179.1.el8_4, python3-perf 4.18.0-305.179.1.el8_4, +8 more
    fixed: vendor fix RHSA-2025:22752
  • Red Hat Enterprise Linux BaseOS TUS (v.8.6) perf 4.18.0-372.166.1.el8_6, kernel 4.18.0-372.166.1.el8_6, bpftool 4.18.0-372.166.1.el8_6, kernel-core 4.18.0-372.166.1.el8_6, kernel-tools 4.18.0-372.166.1.el8_6, python3-perf 4.18.0-372.166.1.el8_6, +8 more
    fixed: vendor fix RHSA-2025:19222
  • Red Hat Enterprise Linux BaseOS TUS (v.8.8) perf 4.18.0-477.116.1.el8_8, kernel 4.18.0-477.116.1.el8_8, bpftool 4.18.0-477.116.1.el8_8, kernel-core 4.18.0-477.116.1.el8_8, kernel-tools 4.18.0-477.116.1.el8_8, python3-perf 4.18.0-477.116.1.el8_8, +8 more
    fixed: vendor fix RHSA-2025:18932
  • Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-553.79.1.el8_10, kernel-debuginfo-common-aarch64 4.18.0-553.79.1.el8_10, kernel-debuginfo-common-ppc64le 4.18.0-553.79.1.el8_10
    fixed: vendor fix RHSA-2025:17797
  • Red Hat Enterprise Linux CRB (v. 9) kernel-debuginfo-common-s390x 5.14.0-284.11.1.el9_2, kernel-debuginfo-common-x86_64 5.14.0-284.11.1.el9_2, kernel-debuginfo-common-aarch64 5.14.0-284.11.1.el9_2, kernel-debuginfo-common-ppc64le 5.14.0-284.11.1.el9_2
    fixed: vendor fix RHSA-2023:2458
  • Red Hat Enterprise Linux NFV (v. 8) kernel-rt 4.18.0-553.79.1.rt7.420.el8_10, kernel-rt-kvm 4.18.0-553.79.1.rt7.420.el8_10, kernel-rt-core 4.18.0-553.79.1.rt7.420.el8_10, kernel-rt-modules 4.18.0-553.79.1.rt7.420.el8_10, kernel-rt-debug-kvm 4.18.0-553.79.1.rt7.420.el8_10, kernel-rt-debug-core 4.18.0-553.79.1.rt7.420.el8_10, +4 more
    fixed: vendor fix RHSA-2025:17812
  • Red Hat Enterprise Linux NFV E4S (v.9.0) kernel-rt 5.14.0-70.151.1.rt21.223.el9_0, kernel-rt-kvm 5.14.0-70.151.1.rt21.223.el9_0, kernel-rt-core 5.14.0-70.151.1.rt21.223.el9_0, kernel-rt-modules 5.14.0-70.151.1.rt21.223.el9_0, kernel-rt-debug-kvm 5.14.0-70.151.1.rt21.223.el9_0, kernel-rt-debug-core 5.14.0-70.151.1.rt21.223.el9_0, +4 more Red Hat Enterprise Linux Real Time E4S (v.9.0) kernel-rt 5.14.0-70.151.1.rt21.223.el9_0, kernel-rt-core 5.14.0-70.151.1.rt21.223.el9_0, kernel-rt-modules 5.14.0-70.151.1.rt21.223.el9_0, kernel-rt-debug-core 5.14.0-70.151.1.rt21.223.el9_0, kernel-rt-debug-modules 5.14.0-70.151.1.rt21.223.el9_0, kernel-rt-modules-extra 5.14.0-70.151.1.rt21.223.el9_0, +2 more
    fixed: vendor fix RHSA-2025:19268
  • Red Hat Enterprise Linux RT (v. 8) kernel-rt 4.18.0-553.79.1.rt7.420.el8_10, kernel-rt-core 4.18.0-553.79.1.rt7.420.el8_10, kernel-rt-modules 4.18.0-553.79.1.rt7.420.el8_10, kernel-rt-debug-core 4.18.0-553.79.1.rt7.420.el8_10, kernel-rt-debug-modules 4.18.0-553.79.1.rt7.420.el8_10, kernel-rt-modules-extra 4.18.0-553.79.1.rt7.420.el8_10, +2 more
    fixed: vendor fix RHSA-2025:17812
  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 10 kernel
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
3 d ago

Exploit prediction

0.27% chance of exploitation in the next 30 days, higher than 20% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

  • Linux Linux

Classification

Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.