CVE-2025-68786
ksmbd: skip lock-range check on equal size to avoid size==0 underflow
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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.
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | Jan 13, 2026 |
| Last Updated | May 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new unknown vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
f44158485826c076335d6860d35872271a83791d < 52fcbb92e0d3acfd1448b2a43b6595d540da5295 f44158485826c076335d6860d35872271a83791d < da29cd197246c85c0473259f1cad897d9d28faea f44158485826c076335d6860d35872271a83791d < a6f4cfa3783804336491e0edcb250c25f9b59d33 f44158485826c076335d6860d35872271a83791d < 571204e4758a528fbd67330bd4b0dfbdafb33dd8 f44158485826c076335d6860d35872271a83791d < 5d510ac31626ed157d2182149559430350cf2104
Linux / Linux
5.15
References
git.kernel.org: https://git.kernel.org/stable/c/52fcbb92e0d3acfd1448b2a43b6595d540da5295 git.kernel.org: https://git.kernel.org/stable/c/da29cd197246c85c0473259f1cad897d9d28faea git.kernel.org: https://git.kernel.org/stable/c/a6f4cfa3783804336491e0edcb250c25f9b59d33 git.kernel.org: https://git.kernel.org/stable/c/571204e4758a528fbd67330bd4b0dfbdafb33dd8 git.kernel.org: https://git.kernel.org/stable/c/5d510ac31626ed157d2182149559430350cf2104