Skip to main content

ksmbd EUVDEUVD-2026-130265

| CVE-2026-99541 HIGH
2026-11-19 Linux GHSA-wfwm-5fwf-6gcj
8.3
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to ksmbd SMB share
  2. Delivery
    Open durable file handle on short-path share
  3. Exploit
    Reconnect handle against long-path share
  4. Execution
    Trigger OOB strcmp past PATH_MAX buffer
  5. Impact
    Kernel 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Linux c8efcc786146a951091588e5fa7e3c754850cb3c <93cb902b0ca04c9dc28b38776f7a03503c84b7ad
Linux 6.9
Linux 8df4bcdb0a4232192b2445256c39b787d58ef14d
Linux patch: 0
Linux patch: 7.3.2
Linux c8efcc786146a951091588e5fa7e3c754850cb3c <828c02c65e2b0541f0cce403e336b978f92b6dfa
Linux 6.6.32 <6.7
Linux patch: 7.4-rc1
Linux c8efcc786146a951091588e5fa7e3c754850cb3c <0129f7196a05a974bfb3ac4efd8380be651a51b9
Linux patch: 6.18.61
Linux patch: 6.12.117
Linux c8efcc786146a951091588e5fa7e3c754850cb3c <783a7fc454991544bf92268d8f2413af1a7c7eb8

Affected Packages

euvd linux fix: 6.7

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

Vendor (Linux) PRIMARY 8.3 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
vuln.today AI 8.3 HIGH

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).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:N
Red Hat 7.1 HIGH

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
High

Lifecycle Timeline

4
CVSS changed
Nov 22, 2026 - 11:22 NVD
8.3 (HIGH)
Patch available
Nov 19, 2026 - 16:18 EUVD
CVE Published
Nov 19, 2026 - 14:44 cve.org
HIGH 8.3
CVE Published
Nov 19, 2026 - 14:44 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Low
ksmbd in-kernel SMB server rarely enabled; Samba dominates production file sharing
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy