Bug 2429106 (CVE-2025-68786) - CVE-2025-68786 kernel: ksmbd: skip lock-range check on equal size to avoid size==0 underflow
Summary: CVE-2025-68786 kernel: ksmbd: skip lock-range check on equal size to avoid si...
Keywords:
Status: NEW
Alias: CVE-2025-68786
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-13 16:07 UTC by OSIDB Bzimport
Modified: 2026-01-14 23:02 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-01-13 16:07:08 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.