CVE-2026-90176

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

State
Published
Severity
8.1 High
Published
Sep 17, 2026
Updated
Oct 19, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 52fcbb92e0d3acfd1448b2a43b6595d540da5295 to before a89cc145832e81c32199d4ca2e1ea8bd51ed601dAffected
  • da29cd197246c85c0473259f1cad897d9d28faea to before 993e0158331d37c04da18efe551b5e1e35fb3078Affected
  • a6f4cfa3783804336491e0edcb250c25f9b59d33 to before f751d6e39d4c937c45f8fedc66699aa7d2d52288Affected
  • 571204e4758a528fbd67330bd4b0dfbdafb33dd8 to before 84c2d8e807ac489f5c91769293fb15dfdae8bae8Affected
  • 5d510ac31626ed157d2182149559430350cf2104 to before 07a9e289ff7edcc004f58952405f8a65c4e37512Affected
  • 5d510ac31626ed157d2182149559430350cf2104 to before d40c24634fe077a0dc91fd11fccf44ce12b454d5Affected
  • 6.1.160 to before 6.1.188Affected
  • 6.6.120 to before 6.6.157Affected
  • 6.12.64 to before 6.12.110Affected
  • 6.18.3 to before 6.18.52Affected
LinuxLinux
  • 6.19Affected
  • before 6.19Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.52 through 6.18.*Not affected
  • 7.2.6 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.