Skip to main content

In the Linux kernel, the following vulnerability has been resolved: xsk: Use a 32-bit compare in xsk_map_gen_lookup xsk_map_gen_lookup() loads a u32… (CVE-2026-98631)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:31:57 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's xsk_map_gen_lookup function was resolved. The issue involved improper comparison of a 32-bit key with max_entries using a sign-extended 64-bit immediate, which could cause the bounds check to be bypassed. This allowed out-of-range index access leading to a read past the xsk_map array. The fix involved using a 32-bit unsigned comparison to maintain correct bounds checking.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 21:48:13 UTC

Technical Analysis

The Linux kernel's xsk_map_gen_lookup function loaded a 32-bit key and compared it with max_entries using BPF_JMP_IMM, which sign-extends immediates to 64 bits. When max_entries was 0x80000000 or higher, the threshold became larger than any zero-extended 32-bit key, causing the bounds check to be skipped. This resulted in an out-of-range index and a read beyond the xsk_map array. The vulnerability was fixed by switching the comparison to BPF_JMP32_IMM, ensuring the check remains within the 32-bit unsigned range.

Potential Impact

The vulnerability could lead to out-of-bounds reads in kernel memory due to improper bounds checking in the xsk_map_gen_lookup function. This could potentially cause information disclosure or kernel instability. No known exploits in the wild have been reported.

Mitigation Recommendations

A fix has been applied to the Linux kernel to use a 32-bit unsigned comparison (BPF_JMP32_IMM) in xsk_map_gen_lookup, preventing out-of-range index access. Users should update to the patched kernel version once available. Patch status is not yet confirmed in the provided data; check the vendor advisory for current 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-r8m8-f9qq-5h53
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98631"]

Threat ID: 6ad520ad2cdf04f656993a5f

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

Last enriched: 10/18/2026, 21:48:13 UTC

Last updated: 10/19/2026, 00:08:27 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