CVE-2025-68786ksmbd: skip lock-range check on equal size to avoid size==0 underflow
- —Not scoredno CVSS score yet
- 0.20%Exploitation in 30 daysEPSS · top 90% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 20 days later
· 20 days later
Published
- 4 months later
· 4 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
No CVSS score yet: neither the CNA, CISA nor NVD has scored this CVE. NVD status: Deferred.
- EPSS (exploitation in 30 days)
- 0.20% · top 90% of all CVEs (14 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Not scored.
Affected products
- affected f44158485826c076335d6860d35872271a83791d – < 52fcbb92e0d3acfd1448b2a43b6595d540da5295
- affected f44158485826c076335d6860d35872271a83791d – < da29cd197246c85c0473259f1cad897d9d28faea
- affected f44158485826c076335d6860d35872271a83791d – < a6f4cfa3783804336491e0edcb250c25f9b59d33
- affected f44158485826c076335d6860d35872271a83791d – < 571204e4758a528fbd67330bd4b0dfbdafb33dd8
- affected f44158485826c076335d6860d35872271a83791d – < 5d510ac31626ed157d2182149559430350cf2104
- affected 5.15
- unaffected < 5.15
- unaffected 6.1.160 – ≤ 6.1.*
- unaffected 6.6.120 – ≤ 6.6.*
- unaffected 6.12.64 – ≤ 6.12.*
- unaffected 6.18.3 – ≤ 6.18.*
- unaffected 6.19 – ≤ *
References
References5
- https://git.kernel.org/stable/c/52fcbb92e0d3acfd1448b2a43b6595d540da5295 (opens in a new tab)
- https://git.kernel.org/stable/c/da29cd197246c85c0473259f1cad897d9d28faea (opens in a new tab)
- https://git.kernel.org/stable/c/a6f4cfa3783804336491e0edcb250c25f9b59d33 (opens in a new tab)
- https://git.kernel.org/stable/c/571204e4758a528fbd67330bd4b0dfbdafb33dd8 (opens in a new tab)
- https://git.kernel.org/stable/c/5d510ac31626ed157d2182149559430350cf2104 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-2301 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-68786)Record last updated .