# CVE-2026-90176: ksmbd: Do not skip lock checks for single-byte ranges

- Severity: High 8.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-02)
- Published: 2026-09-17T16:07:02.433Z
- Modified: 2026-10-19T09:19:07.570Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: Do not skip lock checks for single-byte ranges

check_lock_range() uses inclusive ranges. Its callers pass the end
offset as start + length - 1, so start == end represents a valid
single-byte range rather than an empty range.

The start == end shortcut therefore skips mandatory byte-range lock
checks for one-byte reads, writes, copychunk operations and one-byte
truncate ranges. A conflicting lock covering that byte is not checked
and the operation is allowed to proceed.

Remove the shortcut. The truncate size == inode->i_size case is already
handled by only calling check_lock_range() when the new size differs
from the current file size.

(As written by CVE List.)

## Affected

- Linux Linux: from 52fcbb92e0d3acfd1448b2a43b6595d540da5295 before a89cc145832e81c32199d4ca2e1ea8bd51ed601d; from da29cd197246c85c0473259f1cad897d9d28faea before 993e0158331d37c04da18efe551b5e1e35fb3078; from a6f4cfa3783804336491e0edcb250c25f9b59d33 before f751d6e39d4c937c45f8fedc66699aa7d2d52288; from 571204e4758a528fbd67330bd4b0dfbdafb33dd8 before 84c2d8e807ac489f5c91769293fb15dfdae8bae8; from 5d510ac31626ed157d2182149559430350cf2104 before 07a9e289ff7edcc004f58952405f8a65c4e37512; from 5d510ac31626ed157d2182149559430350cf2104 before d40c24634fe077a0dc91fd11fccf44ce12b454d5; from 6.1.160 before 6.1.188; from 6.6.120 before 6.6.157; from 6.12.64 before 6.12.110; from 6.18.3 before 6.18.52; 6.19 (not affected: before 6.19; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/a89cc145832e81c32199d4ca2e1ea8bd51ed601d>
- <https://git.kernel.org/stable/c/993e0158331d37c04da18efe551b5e1e35fb3078>
- <https://git.kernel.org/stable/c/f751d6e39d4c937c45f8fedc66699aa7d2d52288>
- <https://git.kernel.org/stable/c/84c2d8e807ac489f5c91769293fb15dfdae8bae8>
- <https://git.kernel.org/stable/c/07a9e289ff7edcc004f58952405f8a65c4e37512>
- <https://git.kernel.org/stable/c/d40c24634fe077a0dc91fd11fccf44ce12b454d5>

## Sources

- CVE List: [CVE-2026-90176](https://www.cve.org/CVERecord?id=CVE-2026-90176), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-90176](https://nvd.nist.gov/vuln/detail/CVE-2026-90176), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-90176 · Whole record: https://cve.day/CVE-2026-90176.json · Rebuilt by cve.day 2026-11-25T22:59:39.328Z
