CVE Catalog

CVE-2025-68806

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.37%

30th percentile - higher than 30% of all known CVEs

Summary

In the Linux kernel, the ksmbd module has a vulnerability in the smb2_set_ea function that incorrectly validates buffers for extended attributes (EA). The omission of the null terminator (+1 byte) in the EA name length can lead to validation errors.

Risk Assessment

The organization is at risk of errors in handling extended file attributes on the SMB server, potentially leading to system instability or unauthorized data access.

Recommendation

It is recommended to immediately update the Linux kernel to a version that includes the fix accounting for the null terminator in EA buffer validation.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS