Skip to main content

In the Linux kernel, the following vulnerability has been resolved: futex: Fix private hash use-after-free on resize… (CVE-2026-98788)

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

Description

A use-after-free vulnerability in the Linux kernel's futex private hash resizing logic has been resolved. The issue arises because the order of assignments in the futex pivot hash function allows a grace period to start between setting batches and updating the hash pointer, potentially causing a reader to access freed memory. The fix involves reordering these assignments to prevent this race condition and removing an unnecessary scoped guard.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 22:20:47 UTC

Technical Analysis

The Linux kernel futex subsystem contained a use-after-free vulnerability triggered during resizing of the private hash. Specifically, futex_ref_drop() relies on poll_state_synchronize_rcu(mm->futex.phash.batches) to ensure a grace period has elapsed since the current hash was published. However, __futex_pivot_hash() assigned mmph->batches before updating mmph->hash under a scoped_guard(rcu), which does not prevent new grace periods from starting between these operations. This timing allowed futex_ref_drop() to advance while a reader still held a pointer to the old hash, leading to use-after-free. The fix reorders the assignments to set mmph->batches after mmph->hash and removes the scoped_guard(rcu), eliminating the race condition.

Potential Impact

This vulnerability could lead to use-after-free conditions in the kernel futex subsystem, potentially causing kernel crashes or undefined behavior. No known exploits in the wild have been reported. The impact is limited to kernel stability and security due to memory safety violations.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to reorder the assignment operations in the futex private hash resizing code, eliminating the use-after-free condition. Users should apply the official kernel update containing this fix when it becomes available. No additional mitigations are indicated by the vendor advisory.

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-qwmc-gmgx-xf8h
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98788"]

Threat ID: 6ad520aa2cdf04f6569938d3

Added to database: 10/18/2026, 19:40:26 UTC

Last enriched: 10/18/2026, 22:20:47 UTC

Last updated: 10/18/2026, 22:20:47 UTC

Views: 2

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