CVE-2025-68786
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
13/01/2026
Last modified:
14/01/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ksmbd: skip lock-range check on equal size to avoid size==0 underflow<br />
<br />
When size equals the current i_size (including 0), the code used to call<br />
check_lock_range(filp, i_size, size - 1, WRITE), which computes `size - 1`<br />
and can underflow for size==0. Skip the equal case.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/52fcbb92e0d3acfd1448b2a43b6595d540da5295
- https://git.kernel.org/stable/c/571204e4758a528fbd67330bd4b0dfbdafb33dd8
- https://git.kernel.org/stable/c/5d510ac31626ed157d2182149559430350cf2104
- https://git.kernel.org/stable/c/a6f4cfa3783804336491e0edcb250c25f9b59d33
- https://git.kernel.org/stable/c/da29cd197246c85c0473259f1cad897d9d28faea



