In the Linux kernel, the following vulnerability has been resolved: KVM: SEV: Nullify "have run CPUs" mask pointer when freeing it Nullify… (CVE-2026-98719)
Description
A vulnerability in the Linux kernel's KVM SEV implementation related to improper handling of the 'have run CPUs' mask pointer has been resolved. The issue involves a double-free condition when freeing this mask if __sev_guest_init() fails. The fix nullifies the pointer properly to prevent double-free errors. This vulnerability does not have a CVSS score and no known exploits in the wild have been reported.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's KVM SEV subsystem arises from improper management of the 'have run CPUs' mask pointer during error handling in __sev_guest_init(). Specifically, the mask pointer was not nullified when freed, leading to a potential double-free in sev_vm_destroy() if __sev_guest_init() fails. The fix involves nullifying the pointer in a helper function to avoid double-free issues, taking into account the complexity of the mask being a single-entry array when CPUMASK_OFFSTACK=n. Additionally, an allocation helper was added to complement the free operation. This correction ensures that KVM does not rely on subtle tracking of the mask's state and prevents unsafe memory operations.
Potential Impact
The vulnerability could lead to a double-free condition in the Linux kernel's KVM SEV code path, which may cause kernel instability or crashes. There is no indication of known exploitation in the wild or direct impact beyond potential memory corruption or denial of service due to double-free.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to nullify the 'have run CPUs' mask pointer when freeing it, preventing double-free errors. Users should update to the fixed kernel version once it is released. Patch status is not yet confirmed in the provided data; check the official Linux kernel advisories or vendor updates for the exact fixed versions and remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-j294-cf74-gq7q
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98719"]
Threat ID: 6ad520ac2cdf04f656993a13
Added to database: 10/18/2026, 19:40:28 UTC
Last enriched: 10/18/2026, 22:26:23 UTC
Last updated: 10/19/2026, 02:08:14 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.