Skip to main content
EPSS 0.4%top 63%

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix buffer validation by including null terminator size in EA length The… (CVE-2025-68806)

0
High
Published: 01/13/2026 (01/13/2026, 18:31:04 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's ksmbd component related to buffer validation in the smb2_set_ea function has been resolved. The issue involved incorrect buffer size checks that omitted the null terminator byte for Extended Attribute (EA) names. This could lead to improper validation of buffer sizes when handling EA data.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 19:11:51 UTC

Technical Analysis

The vulnerability in the Linux kernel's ksmbd module was due to the smb2_set_ea function performing buffer validation without accounting for the null terminator byte in the EA Name length. The validation checks omitted adding '+1' for the null terminator, potentially causing buffer size miscalculations. The patch fixes this by explicitly including the null terminator size in the EA length calculation, ensuring accurate buffer validation and preventing potential memory handling issues.

Potential Impact

The vulnerability affects the integrity of buffer validation in the ksmbd SMB2 Extended Attributes handling. According to the CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N), it is remotely exploitable without privileges or user interaction and can lead to a high impact on confidentiality. There is no indication of impact on integrity or availability. No known exploits are reported in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no patch links or vendor advisories are provided, users should monitor official Linux kernel security advisories for updates addressing CVE-2025-68806. Until a patch is available, cautious use of ksmbd or disabling it if not needed may reduce exposure.

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-4wfq-6xp5-vp47
Osv Schema Version
1.4.0
Aliases
["CVE-2025-68806"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a6b72d19c2644c7f847736e

Added to database: 07/30/2026, 15:50:41 UTC

Last enriched: 07/30/2026, 19:11:51 UTC

Last updated: 09/10/2026, 19:26:55 UTC

Views: 12

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