Skip to main content

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)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:32:00 UTC)
Source: GCVE Database

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

AILast updated: 10/18/2026, 22:26:23 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses