Bug 2429108 (CVE-2025-68806) - CVE-2025-68806 kernel: ksmbd: fix buffer validation by including null terminator size in EA length
Summary: CVE-2025-68806 kernel: ksmbd: fix buffer validation by including null termina...
Keywords:
Status: NEW
Alias: CVE-2025-68806
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-13 16:07 UTC by OSIDB Bzimport
Modified: 2026-01-14 22:52 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-01-13 16:07:16 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.