{"api_version":"1","generated_at":"2026-08-13T21:33:07+00:00","cve":"CVE-2026-68083","urls":{"html":"https://cve.report/CVE-2026-68083","api":"https://cve.report/api/cve/CVE-2026-68083.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-68083","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-68083"},"summary":{"title":"ksmbd: fix path resolution in ksmbd_vfs_kern_path_create","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix path resolution in ksmbd_vfs_kern_path_create\n\nThe SMB2 open lookup is rooted at the share with LOOKUP_BENEATH, but the\ncreate/mkdir/hardlink sink is not: ksmbd_vfs_kern_path_create() builds an\nabsolute path with convert_to_unix_name() and resolves it from AT_FDCWD\nvia start_creating_path(), so a \"..\" component is walked from the real\nfilesystem root and escapes the export.\n\nAn authenticated client races a missing path component so the rooted open\nlookup returns -ENOENT (taking the create branch) while the same component\nis present (a directory) when the create walk runs; the create then\nresolves \"..\" out of the share.\n\nRoot the create walk at the share like the lookup and rename paths already\nare: resolve the parent with vfs_path_parent_lookup(..., LOOKUP_BENEATH,\n&share_conf->vfs_path) and create the final component with\nstart_creating_noperm(). convert_to_unix_name() then has no callers and is\nremoved.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-10 12:17:20","updated_at":"2026-08-10 12:17:20"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/1c8951963d8ed357f70f59e0ad4ddce2199d2016","name":"https://git.kernel.org/stable/c/1c8951963d8ed357f70f59e0ad4ddce2199d2016","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/98185b3025beeae92d1fe700d5db26b9ac4bf025","name":"https://git.kernel.org/stable/c/98185b3025beeae92d1fe700d5db26b9ac4bf025","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/489d1ded01425c0fb33418172c0e4e588467526b","name":"https://git.kernel.org/stable/c/489d1ded01425c0fb33418172c0e4e588467526b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c7c884a1305aa4540eb7942a50bd356b34120e1f","name":"https://git.kernel.org/stable/c/c7c884a1305aa4540eb7942a50bd356b34120e1f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-68083","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68083","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 265fd1991c1db85fbabaad4946ca0e63e2ae688d 489d1ded01425c0fb33418172c0e4e588467526b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 265fd1991c1db85fbabaad4946ca0e63e2ae688d c7c884a1305aa4540eb7942a50bd356b34120e1f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 265fd1991c1db85fbabaad4946ca0e63e2ae688d 98185b3025beeae92d1fe700d5db26b9ac4bf025 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 265fd1991c1db85fbabaad4946ca0e63e2ae688d 1c8951963d8ed357f70f59e0ad4ddce2199d2016 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.97 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.40 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.5 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/smb/server/misc.c","fs/smb/server/misc.h","fs/smb/server/vfs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"489d1ded01425c0fb33418172c0e4e588467526b","status":"affected","version":"265fd1991c1db85fbabaad4946ca0e63e2ae688d","versionType":"git"},{"lessThan":"c7c884a1305aa4540eb7942a50bd356b34120e1f","status":"affected","version":"265fd1991c1db85fbabaad4946ca0e63e2ae688d","versionType":"git"},{"lessThan":"98185b3025beeae92d1fe700d5db26b9ac4bf025","status":"affected","version":"265fd1991c1db85fbabaad4946ca0e63e2ae688d","versionType":"git"},{"lessThan":"1c8951963d8ed357f70f59e0ad4ddce2199d2016","status":"affected","version":"265fd1991c1db85fbabaad4946ca0e63e2ae688d","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/smb/server/misc.c","fs/smb/server/misc.h","fs/smb/server/vfs.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.15"},{"lessThan":"5.15","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.97","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.40","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.97","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.40","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.5","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2-rc1","versionStartIncluding":"5.15","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix path resolution in ksmbd_vfs_kern_path_create\n\nThe SMB2 open lookup is rooted at the share with LOOKUP_BENEATH, but the\ncreate/mkdir/hardlink sink is not: ksmbd_vfs_kern_path_create() builds an\nabsolute path with convert_to_unix_name() and resolves it from AT_FDCWD\nvia start_creating_path(), so a \"..\" component is walked from the real\nfilesystem root and escapes the export.\n\nAn authenticated client races a missing path component so the rooted open\nlookup returns -ENOENT (taking the create branch) while the same component\nis present (a directory) when the create walk runs; the create then\nresolves \"..\" out of the share.\n\nRoot the create walk at the share like the lookup and rename paths already\nare: resolve the parent with vfs_path_parent_lookup(..., LOOKUP_BENEATH,\n&share_conf->vfs_path) and create the final component with\nstart_creating_noperm(). convert_to_unix_name() then has no callers and is\nremoved."}],"providerMetadata":{"dateUpdated":"2026-08-10T11:41:47.153Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/489d1ded01425c0fb33418172c0e4e588467526b"},{"url":"https://git.kernel.org/stable/c/c7c884a1305aa4540eb7942a50bd356b34120e1f"},{"url":"https://git.kernel.org/stable/c/98185b3025beeae92d1fe700d5db26b9ac4bf025"},{"url":"https://git.kernel.org/stable/c/1c8951963d8ed357f70f59e0ad4ddce2199d2016"}],"title":"ksmbd: fix path resolution in ksmbd_vfs_kern_path_create","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-68083","datePublished":"2026-08-10T11:41:47.153Z","dateReserved":"2026-07-30T09:28:09.367Z","dateUpdated":"2026-08-10T11:41:47.153Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-10 12:17:20","lastModifiedDate":"2026-08-10 12:17:20","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"68083","Ordinal":"1","Title":"ksmbd: fix path resolution in ksmbd_vfs_kern_path_create","CVE":"CVE-2026-68083","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"68083","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix path resolution in ksmbd_vfs_kern_path_create\n\nThe SMB2 open lookup is rooted at the share with LOOKUP_BENEATH, but the\ncreate/mkdir/hardlink sink is not: ksmbd_vfs_kern_path_create() builds an\nabsolute path with convert_to_unix_name() and resolves it from AT_FDCWD\nvia start_creating_path(), so a \"..\" component is walked from the real\nfilesystem root and escapes the export.\n\nAn authenticated client races a missing path component so the rooted open\nlookup returns -ENOENT (taking the create branch) while the same component\nis present (a directory) when the create walk runs; the create then\nresolves \"..\" out of the share.\n\nRoot the create walk at the share like the lookup and rename paths already\nare: resolve the parent with vfs_path_parent_lookup(..., LOOKUP_BENEATH,\n&share_conf->vfs_path) and create the final component with\nstart_creating_noperm(). convert_to_unix_name() then has no callers and is\nremoved.","Type":"Description","Title":"ksmbd: fix path resolution in ksmbd_vfs_kern_path_create"}]}}}