Skip to main content

In the Linux kernel, the following vulnerability has been resolved: net/sched: fix potential stack infoleak in em_text_dump() em_text_dump()… (CVE-2026-98584)

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

Description

A potential stack information leak vulnerability in the Linux kernel's net/sched subsystem was identified and resolved. The issue involved the em_text_dump() function allocating a struct on the stack without zero-initializing it, leading to uninitialized bytes being copied into netlink responses. This was detected by KMSAN during testing but its practical security impact is uncertain. The vulnerability arose after replacing strncpy() with strscpy(), which does not zero-pad the destination buffer. The fix involves zero-initializing the struct to prevent leakage.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 21:18:30 UTC

Technical Analysis

The Linux kernel net/sched subsystem had a potential stack infoleak in the em_text_dump() function. The function allocated a struct tcf_em_text on the stack without zeroing it, and strscpy() wrote the algorithm name and a NUL terminator into a field, leaving the rest uninitialized. This uninitialized data was then copied in full to netlink responses via nla_put_nohdr(). KMSAN testing on Linux 7.2-rc6 flagged kernel-infoleak warnings triggered by commands like "tc filter show" and raw RTM_GETTFILTER dumps. The issue originated from a code change replacing strncpy() (which zero-pads) with strscpy() (which does not), causing the uninitialized bytes to be exposed. The vulnerability was fixed by zero-initializing the struct before use.

Potential Impact

The vulnerability could lead to leakage of uninitialized stack memory contents in netlink responses, potentially exposing sensitive kernel stack data. However, the reporter notes uncertainty about whether this results in a real security problem in production environments, as the leak was observed in a controlled KMSAN environment. No known exploits in the wild have been reported.

Mitigation Recommendations

A fix is available that zero-initializes the struct tcf_em_text in em_text_dump() before use, preventing uninitialized data from being leaked. Users should apply the official Linux kernel patch that addresses this issue. Since this is a kernel code fix, upgrading to a kernel version including this patch is the recommended remediation.

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-r555-rgvq-cqv7
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98584"]

Threat ID: 6ad520ae2cdf04f656993a90

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

Last enriched: 10/18/2026, 21:18:30 UTC

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