Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to ksmbd SMB share
-
DeliveryOpen durable file handle on short-path share
-
ExploitReconnect handle against long-path share
-
ExecutionTrigger OOB strcmp past PATH_MAX buffer
-
ImpactKernel oops or adjacent-heap byte oracle
Vulnerability Assessment
| Exploitation Conditions | Exploitation requires the in-kernel ksmbd SMB server (CONFIG_SMB_SERVER) to be enabled and running with configured shares - it is not enabled by default. The attacker needs an authenticated SMB session (CVSS PR:L) and the use of durable file handles. The cross-share (OOB-read-past-buffer) variant specifically requires reconnecting a durable fp preserved from a short-path share onto a longer-path share, so two shares with differing path lengths must exist; a sufficiently long share path is what turns the read into a kernel oops, while a mapped adjacent page turns it into a byte-equality oracle. The same-share variant requires the durable fp to sit at the share root (strlen(ab_pathname) == share->path_sz), reading one byte past the buffer. Limiting factors: ksmbd must be explicitly enabled and configured, valid SMB credentials are required, and the strongest impact depends on a non-default multi-share layout with specific relative path lengths. |
| Impact | Signals are moderately consistent and point to a real but non-emergency priority. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H, base 8.3) indicates a network-reachable, low-complexity flaw requiring low privileges - consistent with the description, since ksmbd_validate_name_reconnect() is reached over SMB and PR:L maps to an authenticated SMB session. EPSS is low at 0.17% (6th percentile), the CVE is NOT in CISA KEV, and no public exploit is referenced in the input, so there is no evidence of widespread or automated exploitation. The vuln.today decision label is 'this_week' and a vendor patch is available, which together argue for prompt but not emergency patching. The main tension is between the high CVSS base score and the real-world footprint: the flaw only exists where the in-kernel ksmbd server is enabled and configured with shares, which is uncommon relative to the ubiquitous Linux kernel itself, so the high score reflects impact-on-affected-systems more than broad exposure. Confidentiality is scored C:H because the OOB read yields a byte-equality oracle on adjacent heap, but note this is a slow one-byte-at-a-time equality leak rather than a bulk memory dump; availability A:H is well supported because a long enough share path oopses the kernel. |
| Exploit ScenarioDerived | An authenticated SMB client with access to a ksmbd server opens a durable file handle on a share with a short path, then reconnects that durable handle against a share with a longer path. Because the durable file pointer is not bound to its original share, ksmbd_validate_name_reconnect() indexes ab_pathname[share->path_sz + 1] past the PATH_MAX buffer, oopsing the kernel (denial of service) or, on a mapped page, acting as a byte-equality oracle that leaks adjacent heap one byte at a time. No public exploit is referenced in the input. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 22, 2026
An out-of-bounds read in the Linux kernel's in-kernel SMB server (ksmbd) can be triggered by an authenticated SMB client through the durable file handle reconnect path in ksmbd_validate_name_reconnect(), where a path index is taken at ab_pathname[share->path_sz + 1] without first confirming the stored path is longer than that. Because a durable fp is not bound to its original share, a client can preserve a file on a short-path share and reconnect it against a longer-path share so that the subsequent strcmp() walks past the PATH_MAX buffer, producing a kernel oops with a sufficiently long share path and, when the adjacent page is mapped, a byte-equality oracle over neighbouring heap memory (the reconnect succeeds exactly when the out-of-bounds string matches the requested name); a same-share variant with the durable fp at the share root reads one byte past the buffer. Only systems running ksmbd with configured shares are exposed, since CONFIG_SMB_SERVER is not enabled by default and valid SMB credentials plus use of durable handles are required, and the cross-share variant additionally needs two shares of differing path lengths. EPSS is low (0.17%, 6th percentile) and no public exploit has been identified at time of analysis; vendor fixes are available and the case is scored as a this-week remediation priority rather than an emergency.
RemediationAI
Vendor-released patches are available: update to Linux 6.18.61, 6.12.117, 7.3.2 or 7.4-rc1 as appropriate for your branch, or apply the corresponding stable commits 0129f7196a05a974bfb3ac4efd8380be651a51b9, 93cb902b0ca04c9dc28b38776f7a03503c84b7ad, 828c02c65e2b0541f0cce403e336b978f92b6dfa or 783a7fc454991544bf92268d8f2413af1a7c7eb8 from https://git.kernel.org/stable/ (record: https://nvd.nist.gov/vuln/detail/CVE-2026-99541); the fix enforces that a reconnected path is longer than share->path_sz, begins with share->path, and is followed by '/', with the share root accepted only for an empty name. Because ksmbd is not enabled by default, the most direct compensating control where SMB export is not required is to leave CONFIG_SMB_SERVER disabled or stop the ksmbd service and unmount its shares, at the cost of losing file sharing from that host; where it is required, restrict SMB access to trusted clients and known-good networks and treat multi-share layouts with differing path lengths as the highest-risk configuration, with the trade-off of reduced reachability and administrative overhead. Scheduling fits a this-week remediation cycle consistent with the assigned priority rather than an emergency response, and operators should be aware that the vulnerability is only reachable by an authenticated SMB client using durable file handles.
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 SMB3 server implemented in kernel space (CONFIG_SMB_SERVER), used to export filesystems over SMB without a separate userspace daemon. Its reconnect handling relies on d_path(), which fills the supplied buffer from the end, so ab_pathname holds the share-relative path right-padded forward in the buffer and the valid content is validated by length rather than offset. ksmbd_validate_name_reconnect() instead indexed ab_pathname[share->path_sz + 1] and compared strings without first establishing that the path is longer than share->path_sz, because durable file handles were not bound to the share on which they were originally created. The result is an out-of-bounds read class defect (the source data supplies no CWE identifier, so the class is inferred from the described behaviour rather than from a stated CWE): a cross-share reconnect makes strcmp() read beyond the PATH_MAX buffer, which faults into a kernel oops on an unmapped page and otherwise leaks one bit of equality information about adjacent heap per attempt, while the same-share variant with the durable fp at the share root reads exactly one byte past the buffer because strlen(ab_pathname) equals share->path_sz. The fix adds the missing pre-comparison checks - the path must be longer than share->path_sz, must begin with share->path, and the following character must be '/', with the share root accepted only for an empty name. Exploitation is remote (AV:N) with low privileges (PR:L, i.e. an authenticated SMB session), no user interaction assumed, and impacts confidentiality highly, integrity lightly and availability highly under the assessed vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H (8.3). Practical exposure is bounded by configuration: ksmbd must be explicitly enabled and running with shares, the attacker needs valid SMB credentials and must use durable file handles, and the strongest cross-share impact depends on a non-default multi-share layout with specific relative path lengths.
Know when the next one hits your stack
- 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:L/A:H
Network SMB reach (AV:N) with an authenticated session (PR:L); the OOB read leaks kernel heap via a byte oracle (C:H) and can oops the kernel (A:H), with minor integrity impact from cross-share confusion (I:L).
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
4DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix OOB read and cross-share confusion in ksmbd_validate_name_reconnect()
ksmbd_validate_name_reconnect() indexes ab_pathname[share->path_sz + 1] without checking that the path is longer than share->path_sz + 1 (d_path() fills the buffer from the end). A durable fp is not bound to its original share, so a client can preserve a file from a short-path share and reconnect it on a long-path share, making strcmp() read past the PATH_MAX buffer - with a long enough share path this oopses the kernel, and on a mapped page it also gives a byte-equality oracle on adjacent heap (the reconnect succeeds exactly when the out-of-bounds string equals the requested name). A same-share variant with the durable fp at the share root reads 1 byte past the buffer (strlen(ab_pathname) == share->path_sz).
Check before comparing: the path must be longer than share->path_sz, it must start with share->path, and the next character must be '/'. The share root itself is accepted only for an empty name.
Executive ViewAI
CVE-2026-99541 is a high-severity out-of-bounds read in the Linux kernel's in-kernel SMB server (ksmbd), potentially leading to kernel crashes and limited heap memory disclosure. Only systems with ksmbd enabled and configured shares are affected, which likely represents a subset of Linux servers; however, if your organization runs ksmbd, an authenticated SMB client could exploit this to cause denial of service or glean sensitive information.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
EUVD-2026-130265
GHSA-wfwm-5fwf-6gcj
NVD
CVE.org
EPSS
VulDB
Exploit-DB