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 isize (including 0), the code used to call
checklockrange(filp, isize, size - 1, WRITE), which computes size - 1
and can underflow for size==0. Skip the equal case.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68786.json"
}