Skip to content
Heist/ feed
Critical

ksmbd: fix path resolution in ksmbd_vfs_kern_path_create

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-68083

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-68083

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "265fd1991c1db85fbabaad4946ca0e63e2ae688d",
        "lessThan": "a2516be69048856e2a49a51e00975dc59431f95c",
        "versionType": "git"
      },
      {
        "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.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "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",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/smb/server/misc.c",
      "fs/smb/server/misc.h",
      "fs/smb/server/vfs.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-68083

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Event
#46444 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement