VDB

CVE-2025-68806

CVE-2025-68806 PUBLISHED CVSS 7.5 HIGH

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

Reported by linux · Published January 13, 2026

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.

EPSS 0.45% · 39.6th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.19, 6.18.3, 6.12.64, 6.6.120, 6.1.160
LinuxLinux95d7a890e4b03e198836d49d699408fd1867cb55, 6dc8cf6e7998ef7aeb9383a4c2904ea5d22fa2e4

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Score
0.45%
39.6th percentile

Affected products

VendorProductVersions
LinuxLinuxd070c4dd2a5bed4e9832eec5b6c029c7d14892ea, 0ba5439d9afa2722e7728df56f272c89987540a4, 0ba5439d9afa2722e7728df56f272c89987540a4
LinuxLinux6.6, 0, 6.1.160
linuxlinux_kernel6.1.52, 6.6, 6.6
LinuxLinux*, 0ba5439d9afa2722e7728df56f272c89987540a4, 0ba5439d9afa2722e7728df56f272c89987540a4

Timeline

  • Jan 13, 2026 CVE Published
  • Jan 14, 2026 EPSS Score (30 in total, the first dated here)
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (102 in total, the first dated here)
  • Apr 29, 2026 Security Advisory (108 in total, the first dated here)
  • Jul 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-68806
vulnetix vdb fixes CVE-2025-68806

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-68806/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›