CVE-2025-68786
ksmbd: skip lock-range check on equal size to avoid size==0 underflow
Reported by linux · Published January 13, 2026
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.
EPSS 0.20% · 9.9th percentile
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | f44158485826c076335d6860d35872271a83791d, f44158485826c076335d6860d35872271a83791d, f44158485826c076335d6860d35872271a83791d |
| Linux | Linux | 5.15, 0, 6.1.160 |
| Linux | Linux | *, 6.6.120, * |
| linux | linux_kernel | 5.15, 5.15, 5.15 |
Timeline
- Jan 13, 2026 CVE Published
- Jan 14, 2026 EPSS Score (30 in total, the first dated here)
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (102 in total, the first dated here)
- Apr 29, 2026 Security Advisory (108 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-68786
vulnetix vdb fixes CVE-2025-68786
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-68786/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart