0.0
NA
CVE-2026-68083
ksmbd: fix path resolution in ksmbd_vfs_kern_path_create
Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix path resolution in ksmbd_vfs_kern_path_create The SMB2 open lookup is rooted at the share with LOOKUP_BENEATH, but the create/mkdir/hardlink sink is not: ksmbd_vfs_kern_path_create() builds an absolute path with convert_to_unix_name() and resolves it from AT_FDCWD via start_creating_path(), so a ".." component is walked from the real filesystem root and escapes the export. An authenticated client races a missing path component so the rooted open lookup returns -ENOENT (taking the create branch) while the same component is present (a directory) when the create walk runs; the create then resolves ".." out of the share. Root the create walk at the share like the lookup and rename paths already are: resolve the parent with vfs_path_parent_lookup(..., LOOKUP_BENEATH, &share_conf->vfs_path) and create the final component with start_creating_noperm(). convert_to_unix_name() then has no callers and is removed.

INFO

Published Date :

Aug. 10, 2026, 12:17 p.m.

Last Modified :

Aug. 10, 2026, 12:17 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-68083 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

Solution
Fix path resolution issues in ksmbd to prevent directory escapes and ensure secure path handling.
  • Ensure path resolution is rooted at the share directory.
  • Resolve parent paths using vfs_path_parent_lookup.
  • Create final component using start_creating_noperm().
  • Remove convert_to_unix_name() if no longer used.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-68083 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-68083 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-68083 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-68083 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 10, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '265fd1991c1db85fbabaad4946ca0e63e2ae688d', 'lessThan': '489d1ded01425c0fb33418172c0e4e588467526b', 'versionType': 'git'}, {'status': 'affected', 'version': '265fd1991c1db85fbabaad4946ca0e63e2ae688d', 'lessThan': 'c7c884a1305aa4540eb7942a50bd356b34120e1f', 'versionType': 'git'}, {'status': 'affected', 'version': '265fd1991c1db85fbabaad4946ca0e63e2ae688d', 'lessThan': '98185b3025beeae92d1fe700d5db26b9ac4bf025', 'versionType': 'git'}, {'status': 'affected', 'version': '265fd1991c1db85fbabaad4946ca0e63e2ae688d', 'lessThan': '1c8951963d8ed357f70f59e0ad4ddce2199d2016', 'versionType': 'git'}], 'programFiles': ['fs/smb/server/misc.c', 'fs/smb/server/misc.h', 'fs/smb/server/vfs.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.15'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.15', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/smb/server/misc.c', 'fs/smb/server/misc.h', 'fs/smb/server/vfs.c'], 'defaultStatus': 'affected'}]
    Added Description In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix path resolution in ksmbd_vfs_kern_path_create The SMB2 open lookup is rooted at the share with LOOKUP_BENEATH, but the create/mkdir/hardlink sink is not: ksmbd_vfs_kern_path_create() builds an absolute path with convert_to_unix_name() and resolves it from AT_FDCWD via start_creating_path(), so a ".." component is walked from the real filesystem root and escapes the export. An authenticated client races a missing path component so the rooted open lookup returns -ENOENT (taking the create branch) while the same component is present (a directory) when the create walk runs; the create then resolves ".." out of the share. Root the create walk at the share like the lookup and rename paths already are: resolve the parent with vfs_path_parent_lookup(..., LOOKUP_BENEATH, &share_conf->vfs_path) and create the final component with start_creating_noperm(). convert_to_unix_name() then has no callers and is removed.
    Added Reference https://git.kernel.org/stable/c/1c8951963d8ed357f70f59e0ad4ddce2199d2016
    Added Reference https://git.kernel.org/stable/c/489d1ded01425c0fb33418172c0e4e588467526b
    Added Reference https://git.kernel.org/stable/c/98185b3025beeae92d1fe700d5db26b9ac4bf025
    Added Reference https://git.kernel.org/stable/c/c7c884a1305aa4540eb7942a50bd356b34120e1f
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.