CVE-2024-39483: KVM: SVM: WARN on vNMI + NMI window iff NMIs are outright masked
In the Linux kernel, the following vulnerability has been resolved:
KVM: SVM: WARN on vNMI + NMI window iff NMIs are outright masked
When requesting an NMI window, WARN on vNMI support being enabled if and
only if NMIs are actually masked, i.e. if the vCPU is already handling an
NMI. KVM's ABI for NMIs that arrive simultanesouly (from KVM's point of
view) is to inject one NMI and pend the other. When using vNMI, KVM pends
the second NMI simply by setting V_NMI_PENDING, and lets the CPU do the
rest (hardware automatically sets V_NMI_BLOCKING when an NMI is injected).
However, if KVM can't immediately inject an NMI, e.g. because the vCPU is
in an STI shadow or is running with GIF=0, then KVM will request an NMI
window and trigger the WARN (but still function correctly).
Whether or not the GIF=0 case makes sense is debatable, as the intent of
KVM's behavior is to provide functionality that is as close to real
hardware as possible. E.g. if two NMIs are sent in quick succession, the
probability of both NMIs arriving in an STI shadow is infinitesimally low
on real hardware, but significantly larger in a virtual environment, e.g.
if the vCPU is preempted in the STI shadow. For GIF=0, the argument isn't
as clear cut, because the window where two NMIs can collide is much larger
in bare metal (though still small).
That said, KVM should not have divergent behavior for the GIF=0 case based
on whether or not vNMI support is enabled. And KVM has allowed
simultaneous NMIs with GIF=0 for over a decade, since commit 7460fb4a3400
("KVM: Fix simultaneous NMIs"). I.e. KVM's GIF=0 handling shouldn't be
modified without a *really* good reason to do so, and if KVM's behavior
were to be modified, it should be done irrespective of vNMI support.
Security readout for executives and security teams
Plain-English summary
This Linux KVM issue affects AMD SVM virtualization when multiple non-maskable interrupts overlap under specific guest CPU states. It can trigger a kernel warning, although the disclosure says KVM continues functioning correctly. The supplied CVSS rates potential availability impact as high, but the public description does not demonstrate a crash, data exposure, or data modification.
Executive priority
Prioritize validation on AMD-based virtualization hosts, especially shared or availability-sensitive infrastructure. Remediate through supported kernel updates, but avoid assuming widespread compromise: no active exploitation is cited, and the disclosed behavior is a warning that reportedly preserves correct operation.
Technical view
With virtual NMI support enabled, KVM can incorrectly issue a WARN while requesting an NMI window when injection is delayed by an STI shadow or GIF=0. The intended warning condition is only when an NMI is already being handled. The fix corrects this condition without changing KVM's established simultaneous-NMI behavior.
Likely exposure
Exposure is concentrated on Linux systems operating KVM with AMD SVM and virtual NMI support. The supplied affected data references Linux 6.4, 6.6.34, 6.9.5, and 6.10, but includes an ambiguous version entry, so administrators should confirm exact affected ranges through their distribution or kernel vendor.
Exploitation context
The supplied record is not in CISA KEV, and no cited source reports active exploitation. The CVSS vector describes local, low-complexity availability impact without required privileges, but the disclosure also states the warning condition still functions correctly. Practical denial-of-service consequences are therefore not established by this bundle.
Researcher notes
The core defect is an overly broad WARN condition, not documented corruption of NMI delivery. Delayed injection during STI shadow or GIF=0 can request an NMI window even when NMIs are not outright masked. The supplied CVSS availability claim appears stronger than the narrative impact evidence; downstream advisories should be reviewed before assigning operational severity.
Mitigation direction
Apply a vendor-supported kernel update containing the referenced stable fixes.
Prioritize AMD KVM hosts using SVM and virtual NMI functionality.
Consult distribution guidance for exact affected and fixed package versions.
Use normal change controls because this is kernel and virtualization infrastructure.
Validation and detection
Record the running kernel and distribution package versions on KVM hosts.
Confirm whether each host uses AMD SVM virtualization and virtual NMI support.
Compare installed packages with distribution advisories and referenced stable fixes.
After updating, verify hosts booted into the corrected kernel.
Monitor kernel logs for related KVM SVM warnings and abnormal guest availability.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-39483 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.