CVE-2025-68786

ksmbd: skip lock-range check on equal size to avoid size==0 underflow

published January 13, 2026

CVSS
—
EPSS
0%
Percentile
9.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00202 · 9.6th percentile
Published
2026-01-13T15:28Z
EPSS history
Timeline
  • 13 JAN 15:28Z
    ksmbd: skip lock-range check on equal size to avoid size==0 underflow
    cvelistv5