CVE-2025-68806
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2026-01-13

Last updated on: 2026-01-14

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-01-13
Last Modified
2026-01-14
Generated
2026-05-07
AI Q&A
2026-01-14
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
How can this vulnerability impact me? :

Because the buffer validation omitted the null terminator size, it could potentially allow malformed or improperly sized buffers to be processed, which might lead to buffer overflows or memory corruption. This could result in system instability, crashes, or potentially allow an attacker to execute arbitrary code or cause denial of service.


Can you explain this vulnerability to me?

This vulnerability is in the Linux kernel's ksmbd component, specifically in the smb2_set_ea function that handles Extended Attributes (EA). The function was incorrectly validating buffers by not including the size of the null terminator character in the EA Name length calculation. This omission could lead to improper buffer validation. The fix adds '+1' to the EaNameLength to account for the null terminator, ensuring the buffer size validation is accurate.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart