CVE-2025-68806: ksmbd: fix buffer validation by including null terminator size in EA length

Published Jan 13, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix buffer validation by including null terminator size in EA length

The smb2setea function, which handles Extended Attributes (EA), was performing buffer validation checks that incorrectly omitted the size of the null terminating character (+1 byte) for EA Name. This patch fixes the issue by explicitly adding '+ 1' to EaNameLength where the null terminator is expected to be present in the buffer, ensuring the validation accurately reflects the total required buffer size.

Affected Software

2 affected componentsFixes available
Linux Foundation Linux Kernel
Microsoft azl3 kernel 6.6.119.3-3

Event History

Jan 13, 2026
CVE Published
via MITRE·03:29 PM
Data Sourced
via MITRE·03:29 PM
DescriptionSeverity
Data Sourced
via NVD·04:16 PM
DescriptionSeverity
Jan 15, 2026
Data Sourced
via Microsoft·09:01 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·09:01 AM
Affected Software
Updated
via Microsoft·09:01 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-68806?

CVE-2025-68806 is classified as a medium severity vulnerability due to its potential impact on buffer validation.

2

How do I fix CVE-2025-68806?

To fix CVE-2025-68806, update to the latest version of the Linux Kernel where the vulnerability has been patched.

3

What systems are affected by CVE-2025-68806?

CVE-2025-68806 affects systems running the Linux Kernel with ksmbd functionality.

4

What does CVE-2025-68806 exploit?

CVE-2025-68806 exploits inadequate buffer validation in the smb2_set_ea function related to Extended Attributes.

5

Is CVE-2025-68806 an ongoing threat?

CVE-2025-68806 is not a currently active threat if systems are patched, but it can pose risks for unpatched versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203