Skip to main content

In the Linux kernel, the following vulnerability has been resolved: smb: client: reject a tree connect response whose byte count is too small… (CVE-2026-89631)

0
Medium
Published: 09/11/2026 (09/11/2026, 21:31:34 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's SMB client was resolved by rejecting tree connect responses with byte counts that are too small. The issue involved improper bounds checking on the ByteCount field, which could lead to an out-of-bounds read and exposure of kernel memory through the /proc filesystem. The fix ensures that responses with fewer than two bytes are rejected, preventing the parser from consuming invalid data.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/12/2026, 01:01:06 UTC

Technical Analysis

The vulnerability in the Linux kernel SMB client arises from CIFSTCon() using strnlen() bounded by the server's ByteCount minus two. When ByteCount is 0 or 1, this calculation results in a negative integer that converts to a large size_t, causing a wraparound in the __u16 bytes_left variable. This leads to cifs_strndup_from_utf16() reading beyond the allocated slab object (~16 KB), potentially exposing kernel memory contents to userspace via tcon->nativeFileSystem in /proc/fs/cifs/DebugData. The fix rejects any tree connect response whose byte area is smaller than two bytes, the minimum required for parsing.

Potential Impact

This vulnerability could allow an attacker to cause an out-of-bounds read in kernel memory, potentially leaking sensitive information to userspace through the /proc filesystem. There is no indication of code execution or privilege escalation. No known exploits are reported in the wild.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to reject tree connect responses with byte counts smaller than two bytes. Users should apply the official kernel update that includes this fix once available. Patch status is not explicitly 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-95qf-fgcq-pcrc
Osv Schema Version
1.4.0
Aliases
["CVE-2026-89631"]

Threat ID: 6aa4a00955bf5e2cf5a8665c

Added to database: 09/12/2026, 00:42:49 UTC

Last enriched: 09/12/2026, 01:01:06 UTC

Last updated: 09/12/2026, 01:01:06 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