Skip to main content

In the Linux kernel, the following vulnerability has been resolved: bpf: Hold map BTF for the memory allocator destructor record bpf_ma_set_dtor()… (CVE-2026-98813)

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

Description

A use-after-free vulnerability in the Linux kernel's BPF subsystem was resolved by ensuring a reference to the map BTF is held during memory allocator destructor operations. The flaw involved premature freeing of BTF data while deferred workqueue tasks still accessed it, leading to kernel memory corruption detected by KASAN.

AI-Powered Analysis

Machine-generated threat intelligence

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

Technical Analysis

The vulnerability in the Linux kernel's BPF subsystem involves the bpf_ma_set_dtor() function duplicating map records that contain pointers to the map's BTF (BPF Type Format) data. The BTF references were released too early when the map was freed, while deferred RCU callbacks still accessed these references, causing use-after-free errors and kernel memory corruption. The fix ensures that a reference to the map BTF is held in the destructor context until all deferred work has completed, preventing premature freeing of BTF data during destruction of hash and resizable hash map elements.

Potential Impact

This vulnerability can cause kernel memory corruption and use-after-free errors, potentially leading to kernel crashes or instability. There is no information about known exploits in the wild. The impact is limited to kernel memory safety and stability.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to hold a reference on the map BTF during the destructor context to prevent use-after-free conditions. Users should update to the fixed kernel version once available. No additional mitigation is indicated.

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-8234-qcrx-h2v8
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98813"]

Threat ID: 6ad520aa2cdf04f6569938ca

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

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

Last updated: 10/18/2026, 22:20:05 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