Menu

Star on GitHub · 3.4k

CVE-2024-46830

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Acquire kvm->srcu when handling KVM_SET_VCPU_EVENTS Grab kvm->srcu when processing KVM_SET_VCPU_EVENTS, as KVM will f…

Published Sep 27, 2024EPSS 0.24%

Overview

CVE-2024-46830 is a high-severity vulnerability. It was published on September 27, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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

KVM: x86: Acquire kvm->srcu when handling KVM_SET_VCPU_EVENTS

Grab kvm->srcu when processing KVM_SET_VCPU_EVENTS, as KVM will forcibly

leave nested VMX/SVM if SMM mode is being toggled, and leaving nested VMX

reads guest memory.

Note, kvm_vcpu_ioctl_x86_set_vcpu_events() can also be called from KVM_RUN

via sync_regs(), which already holds SRCU. I.e. trying to precisely use

kvm_vcpu_srcu_read_lock() around the problematic SMM code would cause

problems. Acquiring SRCU isn't all that expensive, so for simplicity,

grab it unconditionally for KVM_SET_VCPU_EVENTS.

=============================

WARNING: suspicious RCU usage

6.10.0-rc7-332d2c1d713e-next-vm #552 Not tainted

-----------------------------

include/linux/kvm_host.h:1027 suspicious rcu_dereference_check() usage!

other info that might help us debug this:

rcu_scheduler_active = 2, debug_locks = 1

1 lock held by repro/1071:

#0: ffff88811e424430 (&vcpu

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-46830?

CVE-2024-46830 is a high-severity vulnerability. It was published on September 27, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-46830?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-46830?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-46830?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-46830 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all
LiveWatch live →