{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-68786","id":"CVE-2025-68786","title":"ksmbd: skip lock-range check on equal size to avoid size==0 underflow","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: skip lock-range check on equal size to avoid size==0 underflow\n\nWhen size equals the current i_size (including 0), the code used to call\ncheck_lock_range(filp, i_size, size - 1, WRITE), which computes `size - 1`\nand can underflow for size==0. Skip the equal case.","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: skip lock-range check on equal size to avoid size==0 underflow\n\nWhen size equals the current i_size (including 0), the code used to call\ncheck_lock_range(filp, i_size, size - 1, WRITE), which computes `size - 1`\nand can underflow for size==0. Skip the equal case.","published":"2026-01-13T15:28:59.578Z","updated":"2026-10-28T02:30:55.357798658Z","reserved":"2025-12-24T10:30:51.036Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f44158485826c076335d6860d35872271a83791d","lessThan":"52fcbb92e0d3acfd1448b2a43b6595d540da5295","status":"affected","versionType":"git"},{"version":"f44158485826c076335d6860d35872271a83791d","lessThan":"da29cd197246c85c0473259f1cad897d9d28faea","status":"affected","versionType":"git"},{"version":"f44158485826c076335d6860d35872271a83791d","lessThan":"a6f4cfa3783804336491e0edcb250c25f9b59d33","status":"affected","versionType":"git"},{"version":"f44158485826c076335d6860d35872271a83791d","lessThan":"571204e4758a528fbd67330bd4b0dfbdafb33dd8","status":"affected","versionType":"git"},{"version":"f44158485826c076335d6860d35872271a83791d","lessThan":"5d510ac31626ed157d2182149559430350cf2104","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","status":"unaffected","versionType":"semver"},{"version":"6.1.160","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.120","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.64","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.3","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/52fcbb92e0d3acfd1448b2a43b6595d540da5295","tags":["web"]},{"url":"https://git.kernel.org/stable/c/da29cd197246c85c0473259f1cad897d9d28faea","tags":["web"]},{"url":"https://git.kernel.org/stable/c/a6f4cfa3783804336491e0edcb250c25f9b59d33","tags":["web"]},{"url":"https://git.kernel.org/stable/c/571204e4758a528fbd67330bd4b0dfbdafb33dd8","tags":["web"]},{"url":"https://git.kernel.org/stable/c/5d510ac31626ed157d2182149559430350cf2104","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68786.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68786","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.002,"epssPercentile":0.09991,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-68786","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68786","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-68786","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-68786","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}