CVE-2025-68786 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: skip lock-range check on equal size to avoid size==0 underflow When size equals the current i_size (including 0), the code used to call check_lock_range(filp, i_size, size - 1, WRITE), which computes `size - 1` and can underflow for size==0. Skip the equal case.
A vulnerability in the Linux kernel's ksmbd component can cause a numerical underflow. This issue arises when the size parameter equals the current file size (i_size), including zero. The code attempts to check the lock range by subtracting one from the size, which can lead to an underflow when size is zero. The vulnerability is present in the stable version of the Linux kernel.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed.
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/52fcbb92e0d3acfd1448b2a43b6595d540da5295 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/571204e4758a528fbd67330bd4b0dfbdafb33dd8 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/5d510ac31626ed157d2182149559430350cf2104 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/a6f4cfa3783804336491e0edcb250c25f9b59d33 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/da29cd197246c85c0473259f1cad897d9d28faea | 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
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 13, 2026 | New CVE Received | kernel.org |
Volerion