CVE-2025-68806 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix buffer validation by including null terminator size in EA length The smb2_set_ea 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.
A vulnerability in the Linux kernel's ksmbd component has been addressed, concerning improper buffer validation in the smb2_set_ea function, which manages Extended Attributes (EA). The original validation checks failed to account for the null terminator's size, leading to potential buffer overflows. This issue has been corrected by adding the appropriate length for the null terminator, ensuring that the validation accurately reflects the total buffer size required.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/6dc8cf6e7998ef7aeb9383a4c2904ea5d22fa2e4 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/95d7a890e4b03e198836d49d699408fd1867cb55 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/a28a375a5439eb474e9f284509a407efb479c925 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/cae52c592a07e1d3fa3338a5f064a374a5f26750 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/d26af6d14da43ab92d07bc60437c62901dc522e6 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 13, 2026 | New CVE Received | kernel.org |
Volerion