Skip to content
Noroxi
CVE-2022-50228· NVD / CVE Program· CNA Linux

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

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>

MediumCVSS 5.5 · v3.1—No exploit Fix available
Published
Jun 18, 2025
Updated
Jun 17, 2026
EPSS
0.3% · 17th percentile
CWE
—
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.3%

Affected systems

VendorProduct
linuxlinux kernel

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • linux linux kernel2.6.32 and later · before 4.9.326
  • linux linux kernel4.10 and later · before 4.14.291
  • linux linux kernel4.15 and later · before 4.19.256
  • linux linux kernel4.20 and later · before 5.4.211
  • linux linux kernel5.5 and later · before 5.10.137
  • linux linux kernel5.11 and later · before 5.15.61
  • linux linux kernel5.16 and later · before 5.18.18
  • linux linux kernel5.19 and later · before 5.19.2

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 2.6.32affected
    • 219b65dcf6c0bad83d51bfa12e25891c02de2414 and later · before 2c49adeb020995236e63722ef6d0bee14372f471affected · git
    • 219b65dcf6c0bad83d51bfa12e25891c02de2414 and later · before 6fcbab82ccbcde915644085f73d3487938bda42daffected · git
    • 219b65dcf6c0bad83d51bfa12e25891c02de2414 and later · before c3396c1c8b87510f2ac2a674948156577559d42daffected · git
    • 219b65dcf6c0bad83d51bfa12e25891c02de2414 and later · before 68e1313bb8809e8addcd9431f2bfea0e8ddbca80affected · git
    • 219b65dcf6c0bad83d51bfa12e25891c02de2414 and later · before 8bb683490278005b4caf61e22b0828a04d282e86affected · git
    • 219b65dcf6c0bad83d51bfa12e25891c02de2414 and later · before 6afe88fbb40eac3291a8728688d61fdc745d8008affected · git
    • 219b65dcf6c0bad83d51bfa12e25891c02de2414 and later · before 3d4e2d884da6312df7c9b85fbf671de49204ead6affected · git
    • 219b65dcf6c0bad83d51bfa12e25891c02de2414 and later · before 2eee1dba70f57148fc7f8252613bfae6bd4b04e3affected · git
    • 219b65dcf6c0bad83d51bfa12e25891c02de2414 and later · before f17c31c48e5cde9895a491d91c424eeeada3e134affected · git

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8bpftoolbefore 4.18.0-553.79.1.el8_104.18.0-553.79.1.el8_10
AlmaLinux:8kernelbefore 4.18.0-553.79.1.el8_104.18.0-553.79.1.el8_10
AlmaLinux:8kernel-abi-stablelistsbefore 4.18.0-553.79.1.el8_104.18.0-553.79.1.el8_10
AlmaLinux:8kernel-corebefore 4.18.0-553.79.1.el8_104.18.0-553.79.1.el8_10
AlmaLinux:8kernel-cross-headersbefore 4.18.0-553.79.1.el8_104.18.0-553.79.1.el8_10
AlmaLinux:8kernel-debugbefore 4.18.0-553.79.1.el8_104.18.0-553.79.1.el8_10
AlmaLinux:8kernel-debug-corebefore 4.18.0-553.79.1.el8_104.18.0-553.79.1.el8_10
AlmaLinux:8kernel-debug-develbefore 4.18.0-553.79.1.el8_104.18.0-553.79.1.el8_10
AlmaLinux:8kernel-debug-modulesbefore 4.18.0-553.79.1.el8_104.18.0-553.79.1.el8_10
AlmaLinux:8kernel-debug-modules-extrabefore 4.18.0-553.79.1.el8_104.18.0-553.79.1.el8_10
AlmaLinux:8kernel-develbefore 4.18.0-553.79.1.el8_104.18.0-553.79.1.el8_10
AlmaLinux:8kernel-docbefore 4.18.0-553.79.1.el8_104.18.0-553.79.1.el8_10
AlmaLinux:8kernel-headersbefore 4.18.0-553.79.1.el8_104.18.0-553.79.1.el8_10
AlmaLinux:8kernel-modulesbefore 4.18.0-553.79.1.el8_104.18.0-553.79.1.el8_10
AlmaLinux:8kernel-modules-extrabefore 4.18.0-553.79.1.el8_104.18.0-553.79.1.el8_10
AlmaLinux:8kernel-rtbefore 4.18.0-553.79.1.rt7.420.el8_104.18.0-553.79.1.rt7.420.el8_10
AlmaLinux:8kernel-rt-corebefore 4.18.0-553.79.1.rt7.420.el8_104.18.0-553.79.1.rt7.420.el8_10
AlmaLinux:8kernel-rt-debugbefore 4.18.0-553.79.1.rt7.420.el8_104.18.0-553.79.1.rt7.420.el8_10
AlmaLinux:8kernel-rt-debug-corebefore 4.18.0-553.79.1.rt7.420.el8_104.18.0-553.79.1.rt7.420.el8_10
AlmaLinux:8kernel-rt-debug-develbefore 4.18.0-553.79.1.rt7.420.el8_104.18.0-553.79.1.rt7.420.el8_10
AlmaLinux:8kernel-rt-debug-modulesbefore 4.18.0-553.79.1.rt7.420.el8_104.18.0-553.79.1.rt7.420.el8_10
AlmaLinux:8kernel-rt-debug-modules-extrabefore 4.18.0-553.79.1.rt7.420.el8_104.18.0-553.79.1.rt7.420.el8_10
AlmaLinux:8kernel-rt-develbefore 4.18.0-553.79.1.rt7.420.el8_104.18.0-553.79.1.rt7.420.el8_10
AlmaLinux:8kernel-rt-modulesbefore 4.18.0-553.79.1.rt7.420.el8_104.18.0-553.79.1.rt7.420.el8_10

+96

Other highest-scoring records for the same primary product.

  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now
  • CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV
    83Now
  • CVE-2019-13272In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to creKEV
    77This week
  • CVE-2013-6282The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the v6k and v7 ARM platforms do not validate certain addKEV
    77This week
  • CVE-2013-2094The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows loKEV
    77This week

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux2c49adeb020995236e63722ef6d0bee14372f471Vendor (CNA)
Linux Linux2eee1dba70f57148fc7f8252613bfae6bd4b04e3Vendor (CNA)
Linux Linux3d4e2d884da6312df7c9b85fbf671de49204ead6Vendor (CNA)
Linux Linux68e1313bb8809e8addcd9431f2bfea0e8ddbca80Vendor (CNA)
Linux Linux6afe88fbb40eac3291a8728688d61fdc745d8008Vendor (CNA)
Linux Linux6fcbab82ccbcde915644085f73d3487938bda42dVendor (CNA)
Linux Linux8bb683490278005b4caf61e22b0828a04d282e86Vendor (CNA)
Linux Linuxc3396c1c8b87510f2ac2a674948156577559d42dVendor (CNA)
Linux Linuxf17c31c48e5cde9895a491d91c424eeeada3e134Vendor (CNA)
almalinux:bpftool4.18.0-553.79.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel4.18.0-553.79.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-abi-stablelists4.18.0-553.79.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-core4.18.0-553.79.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-cross-headers4.18.0-553.79.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-debug4.18.0-553.79.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-debug-core4.18.0-553.79.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-debug-devel4.18.0-553.79.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-debug-modules4.18.0-553.79.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-debug-modules-extra4.18.0-553.79.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-devel4.18.0-553.79.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-doc4.18.0-553.79.1.el8_10 · AlmaLinux:8Package registry (OSV)
debian:linux6.0.2-1 · Debian:12Package registry (OSV)
red hat:bpftool0:4.18.0-553.79.1.el8_10 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:bpftool-debuginfo0:4.18.0-553.79.1.el8_10 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:kernel0:4.18.0-553.79.1.el8_10 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:kernel-abi-stablelists0:4.18.0-553.79.1.el8_10 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:kernel-core0:4.18.0-553.79.1.el8_10 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:kernel-debug0:4.18.0-553.79.1.el8_10 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:kernel-debug-core0:4.18.0-553.79.1.el8_10 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:kernel-debug-debuginfo0:4.18.0-553.79.1.el8_10 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)

+10

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

Weakness class (CWE)

—

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records