Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to ksmbd share
-
DeliveryOpen file locked by another client
-
ExploitIssue one-byte read/write/copychunk/truncate
-
ExecutionLock check skipped by start==end shortcut
-
ImpactRead or overwrite locked byte
Vulnerability Assessment
| Exploitation Conditions | Requires the target to run the in-kernel ksmbd SMB server (CONFIG_SMB_SERVER) with an exported share, and the attacker to hold a valid authenticated SMB session (PR:L). Exploitation only matters when byte-range locking is in use - a conflicting lock covering the targeted byte must already exist (typically set by another client). Impact is limited to single-byte-range read, write, copychunk, and one-byte truncate operations; multi-byte ranges were always checked correctly. This is a non-default, application-behavior-dependent condition (clients must actually rely on mandatory byte-range locks), which sharply limits real-world exposure despite the network attack vector. |
| Impact | Vendor CVSS is 8.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N), which overstates real-world impact. This is a logic off-by-one in ksmbd's check_lock_range(): because ranges are inclusive (end = start + length - 1), a single-byte range (start == end) was wrongly treated as empty and skipped mandatory byte-range lock enforcement. The real consequence is that a conflicting lock covering exactly one byte is not honored for one-byte reads, writes, copychunk, and one-byte truncate operations - an SMB mandatory-lock bypass, not a memory-safety flaw. AC:L is defensible (deterministic logic bug, no race), but C:H/I:H is optimistic: the bypass is scoped to single-byte ranges and to files where another client holds a byte-range lock, so C:L/I:L is more honest, yielding ~5.4. No EPSS, no CISA KEV entry, and no public exploit - 'no public exploit identified at time of analysis'. AV:N is correct (SMB is network-facing) but exploitation requires an authenticated SMB session (PR:L) and a non-default scenario where clients rely on byte-range locking. Net: a real correctness/authorization fix worth patching on ksmbd fleets, but far below the 8.1 headline for most environments. |
| Exploit ScenarioDerived | On a Linux host running the in-kernel ksmbd SMB server, an authenticated SMB user opens a shared file that another client has protected with a byte-range lock. The attacker issues a one-byte read, write, copychunk, or truncate operation targeting the locked byte; because the start == end shortcut skipped the lock check, the operation is permitted despite the conflicting lock, bypassing SMB mandatory-lock semantics. No public exploit code is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 18, 2026
Mandatory byte-range lock enforcement is bypassed in the Linux kernel's in-kernel ksmbd SMB server, letting a client with a valid authenticated SMB session (CVSS PR:L) perform single-byte reads, writes, copychunk operations, and one-byte truncates against a byte that another client has already locked with a conflicting mandatory lock. The defect is a range-validation logic error: check_lock_range() uses inclusive ranges and its callers pass start + length - 1 as the end offset, so the start == end shortcut incorrectly treated a legitimate one-byte range as empty and skipped the lock check entirely; multi-byte ranges were always checked correctly. Exploitation requires a non-default configuration (CONFIG_SMB_SERVER enabled with an exported share) and a pre-existing conflicting lock, which sharply limits real-world exposure; no public exploit code has been identified at time of analysis, and the vendor CVSS of 8.1 (C:H/I:H) overstates impact relative to our assessed CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.
RemediationAI
Vendor-released patch: update to Linux 6.1.188, 6.6.157, 6.12.110, 6.18.52, or 7.2.6 (mainline fix in 7.3-rc1); the specific upstream commits are a89cc145832e81c32199d4ca2e1ea8bd51ed601d, 993e0158331d37c04da18efe551b5e1e35fb3078, f751d6e39d4c937c45f8fedc66699aa7d2d52288, 84c2d8e807ac489f5c91769293fb15dfdae8bae8, 07a9e289ff7edcc004f58952405f8a65c4e37512, and d40c24634fe077a0dc91fd11fccf44ce12b454d5, all reachable from git.kernel.org. If immediate kernel upgrades are not possible, the most effective compensating control is to stop running the affected ksmbd server: unload the ksmbd module or refrain from exporting shares (CONFIG_SMB_SERVER is non-default, so many distributions are unaffected), with the trade-off that all SMB file sharing served by ksmbd becomes unavailable. A narrower option is to avoid relying on mandatory byte-range lock semantics for ksmbd exports, for example by configuring or guiding clients not to issue SMB2 byte-range locks and by auditing which applications depend on mandatory locks, accepting that applications expecting lock-based consistency may behave incorrectly. Additional containment includes restricting SMB access to trusted authenticated clients and trusted network segments (reduces, but does not eliminate, exposure since a legitimate authenticated session is the precondition), and monitoring ksmbd logs for anomalous single-byte I/O or copychunk activity against locked ranges. Note that the defect only manifests when a conflicting lock already covers the targeted byte, so environments where SMB clients never use byte-range locks are effectively unaffected regardless of patch status.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ksmbd is the in-kernel SMB/CIFS server in the Linux kernel (build-time gated behind CONFIG_SMB_SERVER), used to export filesystems to SMB clients without a userspace daemon. SMB2 supports byte-range locks, and when a client requests a mandatory lock, the server must reject conflicting I/O from other handles. The relevant helper, check_lock_range(), validates a requested I/O range against existing locks using an inclusive range convention in which both the start and end offsets are part of the range; its callers compute the end as start + length - 1. Under that convention, start end describes a valid single-byte range, not an empty one, but the code contained a shortcut that treated start end as nothing-to-check and returned early. The result is a missing-check / off-by-one class logic flaw in the lock-conflict validation path (no CWE was assigned in the supplied data): one-byte reads, one-byte writes, copychunk operations, and one-byte truncate ranges could proceed even when a conflicting lock covered exactly that byte. The accompanying fix removes the shortcut; the truncate case where the new size equals inode->i_size was already covered because check_lock_range() is only invoked when the requested size differs from the current file size. The affected CPEs are the generic Linux kernel entries cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*, meaning exposure is determined by kernel version and by whether ksmbd is enabled and exporting shares.
Know when Ksmbd gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Network SMB with authenticated user (PR:L), deterministic logic bug (AC:L); impact limited to bypassing locks on single-byte ranges, so C:L/I:L and A:N rather than C:H/I:H.
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
4DescriptionCVE.org
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.
Executive ViewAI
Linux kernel ksmbd SMB server exposed by non-default CONFIG_SMB_SERVER configurations is affected by a mandatory byte-range lock bypass that could let an authenticated SMB client read, write, copychunk, or truncate a single byte that another client has locked, creating potential data integrity and confidentiality issues for shared files. Organizations using ksmbd to host SMB shares, especially where mandatory locks enforce multi-client coordination, should care because an unpatched server could allow one trusted client to corrupt or access another client's locked data. Exploitation requires authenticated access, a non-default exported share, and a pre-existing conflicting lock, and no public exploit identified at time of analysis, so immediate likelihood is constrained but not zero.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
A use-after-free race condition in the Linux kernel's ksmbd in-kernel SMB3 server can crash the kernel (denial of servic
Kernel memory corruption in the Linux kernel's in-kernel SMB server (ksmbd) lets an authenticated SMB client trigger a u
Heap out-of-bounds read and subsequent heap corruption in the Linux kernel's in-kernel SMB server (ksmbd) lets an authen
Use-after-free race in the Linux kernel's ksmbd SMB3 server can be triggered when a network-device event such as an inte
The ksmbd server through 3.4.2, as used in the Linux kernel through 5.15.8, sometimes communicates in cleartext even tho
The Linux kernel's in-kernel SMB server, ksmbd (CONFIG_SMB_SERVER), can be driven to read up to 65535 bytes past the end
Same technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Desktop 15 SP7 | Affected |
| SUSE Linux Enterprise Desktop 15 SP7 | Affected |
| SUSE Linux Enterprise High Availability Extension 15 SP7 | Affected |
| SUSE Linux Enterprise High Availability Extension 15 SP7 | Affected |
| SUSE Linux Enterprise High Availability Extension 16.0 | Affected |
| SUSE Linux Enterprise High Availability Extension 16.0 | Affected |
| SUSE Linux Enterprise High Availability Extension 16.1 | Affected |
| SUSE Linux Enterprise High Availability Extension 16.1 | Affected |
| SUSE Linux Enterprise Micro 5.3 | Affected |
| SUSE Linux Enterprise Micro 5.3 | Affected |
| SUSE Linux Enterprise Micro 5.3 | Affected |
| SUSE Linux Enterprise Micro 5.3 | Affected |
| SUSE Linux Enterprise Micro 5.4 | Affected |
| SUSE Linux Enterprise Micro 5.4 | Affected |
| SUSE Linux Enterprise Micro 5.4 | Affected |
| SUSE Linux Enterprise Micro 5.4 | Affected |
| SUSE Linux Enterprise Micro 5.5 | Affected |
| SUSE Linux Enterprise Micro 5.5 | Affected |
| SUSE Linux Enterprise Micro 5.5 | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP7 | Affected |
| SUSE Linux Enterprise Real Time 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Micro 6.0 | Affected |
| SUSE Linux Micro 6.0 | Affected |
| SUSE Linux Micro 6.0 | Affected |
| SUSE Linux Micro 6.1 | Affected |
| SUSE Linux Micro 6.1 | Affected |
| SUSE Linux Micro 6.1 | Affected |
| SUSE Linux Micro 6.2 | Affected |
| SUSE Linux Micro 6.2 | Affected |
| SUSE Linux Micro Extras 6.0 | Affected |
| SUSE Linux Micro Extras 6.0 | Affected |
| SUSE Linux Micro Extras 6.0 | Affected |
| SUSE Linux Micro Extras 6.1 | Affected |
| SUSE Linux Micro Extras 6.1 | Affected |
| SUSE Real Time Module 15 SP7 | Affected |
| openSUSE Leap 16.0 | Affected |
| SUSE Linux Enterprise High Performance Computing 12 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP4 | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP4 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | Affected |
| SUSE Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | Affected |
| SUSE Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | Affected |
| SUSE Linux Enterprise Server 12 SP5 | Affected |
| SUSE Linux Enterprise Server 12 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 12 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP5 | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | Affected |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE CaaS Platform 4.0 | Affected |
| SUSE Enterprise Storage 6 | Affected |
| SUSE Enterprise Storage 7 | Affected |
| SUSE Enterprise Storage 7.1 | Affected |
| SUSE Linux Enterprise Desktop 11 SP4 | Affected |
| SUSE Linux Enterprise Desktop 15 SP1 | Affected |
| SUSE Linux Enterprise Desktop 15 SP2 | Affected |
| SUSE Linux Enterprise Desktop 15 SP3 | Affected |
| SUSE Linux Enterprise Desktop 15 SP4 | Affected |
| SUSE Linux Enterprise Desktop 15 SP5 | Affected |
| SUSE Linux Enterprise Desktop 15 SP6 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Affected |
| SUSE Linux Enterprise Micro 5.0 | Affected |
| SUSE Linux Enterprise Micro 5.1 | Affected |
| SUSE Linux Enterprise Micro 5.2 | Affected |
| SUSE Linux Enterprise Micro 5.2 | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP1 | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP2 | Affected |
| SUSE Linux Enterprise Module for Basesystem 15 SP3 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP1 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP2 | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP2 | Affected |
| SUSE Linux Enterprise Real Time 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | Affected |
| SUSE Linux Enterprise Real Time 15 SP5 | Affected |
| SUSE Linux Enterprise Server 11 SP4 | Affected |
| SUSE Linux Enterprise Server 11 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP1 | Affected |
| SUSE Linux Enterprise Server 15 SP1-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP1-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP1-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP2 | Affected |
| SUSE Linux Enterprise Server 15 SP2-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP3 | Affected |
| SUSE Linux Enterprise Server 15 SP3-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Affected |
| SUSE Manager Proxy 4.0 | Affected |
| SUSE Manager Proxy 4.1 | Affected |
| SUSE Manager Proxy 4.2 | Affected |
| SUSE Manager Proxy 4.3 | Affected |
| SUSE Manager Proxy LTS 4.3 | Affected |
| SUSE Manager Retail Branch Server 4.0 | Affected |
| SUSE Manager Retail Branch Server 4.1 | Affected |
| SUSE Manager Retail Branch Server 4.2 | Affected |
| SUSE Manager Retail Branch Server 4.3 | Affected |
| SUSE Manager Retail Branch Server LTS 4.3 | Affected |
| SUSE Manager Server 4.0 | Affected |
| SUSE Manager Server 4.1 | Affected |
| SUSE Manager Server 4.2 | Affected |
| SUSE Manager Server 4.3 | Affected |
| SUSE Manager Server LTS 4.3 | Affected |
| SUSE Real Time Module 15 SP4 | Affected |
| SUSE Real Time Module 15 SP5 | Affected |
| openSUSE Leap 15.3 | Affected |
| openSUSE Leap 15.4 | Affected |
| openSUSE Leap 15.4 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-81769
GHSA-rxgv-prwv-26g4
NVD
CVE.org
EPSS
VulDB
Exploit-DB