Skip to main content

In the Linux kernel, the following vulnerability has been resolved: ksmbd: remove stale channels from all sessions on teardown… (CVE-2026-98870)

0
High
Published: 10/23/2026 (10/23/2026, 12:31:35 UTC)
Source: GCVE Database

Description

A use-after-free vulnerability in the Linux kernel's ksmbd component was resolved by ensuring that stale channels are always removed from all sessions on connection teardown. Previously, channels could remain linked to sessions after a connection's binding flag was cleared, leading to dereferencing freed memory and leaking sessions.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/23/2026, 19:07:07 UTC

Technical Analysis

The vulnerability in the Linux kernel's ksmbd subsystem involves improper cleanup of stale channels during connection teardown. The function ksmbd_sessions_deregister() only removed a connection's channels from other sessions' channel lists while the connection's binding flag was set. Since conn->binding is cleared after SESSION_SETUP completes or on reauthentication, channels could remain in session lists after the connection disconnects. This caused use-after-free writes when the owning connection later tore down, as stale channels referenced freed ksmbd_conn structures. Additionally, sessions leaked because their channel lists were never emptied. The fix removes the conditional check on conn->binding, ensuring all channels are removed from every session on teardown.

Potential Impact

This vulnerability results in use-after-free memory corruption within the ksmbd kernel module, which can lead to kernel memory corruption and session leaks. Such conditions may cause system instability or crashes. No known exploits in the wild have been reported.

Mitigation Recommendations

A fix has been applied in the Linux kernel to remove the conn->binding check so that stale channels are always removed from all sessions on connection teardown. Users should update to the patched kernel version containing this fix once available. Patch status is not yet confirmed; 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-wr5r-399q-pwfr
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98870"]

Threat ID: 6adbaad9d73cc49347b2073b

Added to database: 10/23/2026, 18:43:37 UTC

Last enriched: 10/23/2026, 19:07:07 UTC

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