CVE-2026-90176

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

HIGH
8.1
CVSS Score
Published: September 17, 2026 at 04:07 PM UTC
Updated: October 19, 2026 at 09:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.1
Exploit prediction
EPSS 0.5%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

52fcbb92e0d3acfd1448b2a43b6595d540da5295571204e4758a528fbd67330bd4b0dfbdafb33dd85d510ac31626ed157d2182149559430350cf21046.1.1606.12.646.18.36.196.6.120a6f4cfa3783804336491e0edcb250c25f9b59d33da29cd197246c85c0473259f1cad897d9d28faea
Vendor states this is fixed in 07a9e289ff7edcc004f58952405f8a65c4e37512 (fixed)
Vendor states this is fixed in 84c2d8e807ac489f5c91769293fb15dfdae8bae8 (fixed)
Vendor states this is fixed in 993e0158331d37c04da18efe551b5e1e35fb3078 (fixed)
Vendor states this is fixed in a89cc145832e81c32199d4ca2e1ea8bd51ed601d (fixed)
Vendor states this is fixed in d40c24634fe077a0dc91fd11fccf44ce12b454d5 (fixed)
Vendor states this is fixed in f751d6e39d4c937c45f8fedc66699aa7d2d52288 (fixed)
Vendor states this is fixed in 6.1.188 (unaffected)
Vendor states this is fixed in 6.12.110 (unaffected)
Vendor states this is fixed in 6.18.52 (unaffected)
Vendor states this is fixed in 6.19 (unaffected)
Vendor states this is fixed in 6.6.157 (unaffected)
Vendor states this is fixed in 7.2.6 (unaffected)
Vendor states this is fixed in 7.3 (unaffected)
Vendor states this is fixed in 7.3-rc1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

CVSS

8.1HIGHLinux
Vector?

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card