Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-64400

published high CVSS 3.1 · 8.6

ksmbd: prevent path traversal bypass by restricting caseless retry

Published
25 Jul 2026, 08:50:43 UTC
Updated
30 Oct 2026, 12:27:53 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux6927ffe7479c72e7ebf885507227266a75f7c97d to < 21f050439db157f2afcc19885dec14549ca6ffc0 · 74d7970febf7e9005375aeda0df821d2edffc9f7 to < eec1dd2586c4016b7555a5d047db2b3756459fb2 · 74d7970febf7e9005375aeda0df821d2edffc9f7 to < a1c331d98313380c38f616c8b28b890ec8ef9c28 · 74d7970febf7e9005375aeda0df821d2edffc9f7 to < cfb5a56c218888f9d74165dff0c282cd0be97983 · 74d7970febf7e9005375aeda0df821d2edffc9f7 to < 8c9a4f1327eb71efbf14842e7b8a6d965077eb67 · 74d7970febf7e9005375aeda0df821d2edffc9f7 to < 54bab9ba5a9f156ffa9324fcbe5a356fd0242f95 · 019aae488dbc67c97a33db03652e20e2c9e3afa7 · ef6cc1c465786b3e4e735d1ab8b616b3e94402df · 6.1.71 to < 6.1.191 · 5.15.145 to < 5.16 · 6.3.10 to < 6.4 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.4 (affected) · 0 to < 6.4 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.12.114 through 6.12.* (unaffected · semver) · 6.18.57 through 6.18.* (unaffected · semver) · 7.1.4 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.192-1 DLA-4906-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
Ubuntu jammy linux-aws-6.8 Advisory build 6.8.0-1070.76~22.04.1 USN-9173-2
Debian bookworm linux-6.12 Advisory build 6.12.115-2~deb12u1 DLA-4904-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Debian trixie linux Advisory build 6.12.115-2 DSA-6602-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
Ubuntu jammy linux-aws-6.8-cloud-tools-6.8.0-1070 Advisory build 6.8.0-1070.76~22.04.1 USN-9173-2
Ubuntu jammy linux-aws-6.8-headers-6.8.0-1070 Advisory build 6.8.0-1070.76~22.04.1 USN-9173-2
Ubuntu jammy linux-aws-6.8-tools-6.8.0-1070 Advisory build 6.8.0-1070.76~22.04.1 USN-9173-2
Ubuntu jammy linux-azure-6.8 Advisory build 6.8.0-1074.83~22.04.1 USN-9191-1
Ubuntu jammy linux-azure-6.8-cloud-tools-6.8.0-1074 Advisory build 6.8.0-1074.83~22.04.1 USN-9191-1
Ubuntu jammy linux-azure-6.8-headers-6.8.0-1074 Advisory build 6.8.0-1074.83~22.04.1 USN-9191-1
Ubuntu jammy linux-azure-6.8-tools-6.8.0-1074 Advisory build 6.8.0-1074.83~22.04.1 USN-9191-1
Ubuntu jammy linux-azure-fde-6.8 Advisory build 6.8.0-1072.79~22.04.1 USN-9191-1
Ubuntu jammy linux-azure-fde-6.8-cloud-tools-6.8.0-1072 Advisory build 6.8.0-1072.79~22.04.1 USN-9191-1
Ubuntu jammy linux-azure-fde-6.8-headers-6.8.0-1072 Advisory build 6.8.0-1072.79~22.04.1 USN-9191-1
Ubuntu jammy linux-azure-fde-6.8-tools-6.8.0-1072 Advisory build 6.8.0-1072.79~22.04.1 USN-9191-1
Ubuntu jammy linux-buildinfo-6.8.0-1068-nvidia Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-buildinfo-6.8.0-1068-nvidia-64k Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-buildinfo-6.8.0-1068-oracle Advisory build 6.8.0-1068.72~22.04.1 USN-9173-1
Ubuntu jammy linux-buildinfo-6.8.0-1068-oracle-64k Advisory build 6.8.0-1068.72~22.04.1 USN-9173-1
Ubuntu jammy linux-buildinfo-6.8.0-1070-aws Advisory build 6.8.0-1070.76~22.04.1 USN-9173-2
Ubuntu jammy linux-buildinfo-6.8.0-1070-aws-64k Advisory build 6.8.0-1070.76~22.04.1 USN-9173-2
Ubuntu jammy linux-buildinfo-6.8.0-1070-ibm Advisory build 6.8.0-1070.71~22.04.1 USN-9173-1
Ubuntu jammy linux-buildinfo-6.8.0-1072-azure-fde Advisory build 6.8.0-1072.79~22.04.1 USN-9191-1
Ubuntu jammy linux-buildinfo-6.8.0-1074-azure Advisory build 6.8.0-1074.83~22.04.1 USN-9191-1
Ubuntu jammy linux-buildinfo-6.8.0-1074-gcp Advisory build 6.8.0-1074.82~22.04.1 USN-9173-1
Ubuntu jammy linux-buildinfo-6.8.0-1074-gcp-64k Advisory build 6.8.0-1074.82~22.04.1 USN-9173-1
Ubuntu jammy linux-buildinfo-6.8.1-1065-realtime Advisory build 6.8.1-1065.66~22.04.1 USN-9173-2
Ubuntu jammy linux-cloud-tools-6.8.0-1070-aws Advisory build 6.8.0-1070.76~22.04.1 USN-9173-2
Ubuntu jammy linux-cloud-tools-6.8.0-1070-aws-64k Advisory build 6.8.0-1070.76~22.04.1 USN-9173-2
Ubuntu jammy linux-cloud-tools-6.8.0-1072-azure-fde Advisory build 6.8.0-1072.79~22.04.1 USN-9191-1
Ubuntu jammy linux-cloud-tools-6.8.0-1074-azure Advisory build 6.8.0-1074.83~22.04.1 USN-9191-1
Ubuntu jammy linux-cloud-tools-6.8.1-1065-realtime Advisory build 6.8.1-1065.66~22.04.1 USN-9173-2
Ubuntu jammy linux-gcp-6.8 Advisory build 6.8.0-1074.82~22.04.1 USN-9173-1
Ubuntu jammy linux-gcp-6.8-headers-6.8.0-1074 Advisory build 6.8.0-1074.82~22.04.1 USN-9173-1
Ubuntu jammy linux-gcp-6.8-tools-6.8.0-1074 Advisory build 6.8.0-1074.82~22.04.1 USN-9173-1
Ubuntu jammy linux-headers-6.8.0-1068-nvidia Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-headers-6.8.0-1068-nvidia-64k Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-headers-6.8.0-1068-oracle Advisory build 6.8.0-1068.72~22.04.1 USN-9173-1
Ubuntu jammy linux-headers-6.8.0-1068-oracle-64k Advisory build 6.8.0-1068.72~22.04.1 USN-9173-1
Ubuntu jammy linux-headers-6.8.0-1070-aws Advisory build 6.8.0-1070.76~22.04.1 USN-9173-2
Ubuntu jammy linux-headers-6.8.0-1070-aws-64k Advisory build 6.8.0-1070.76~22.04.1 USN-9173-2
Ubuntu jammy linux-headers-6.8.0-1070-ibm Advisory build 6.8.0-1070.71~22.04.1 USN-9173-1
Ubuntu jammy linux-headers-6.8.0-1072-azure-fde Advisory build 6.8.0-1072.79~22.04.1 USN-9191-1
Ubuntu jammy linux-headers-6.8.0-1074-azure Advisory build 6.8.0-1074.83~22.04.1 USN-9191-1
Ubuntu jammy linux-headers-6.8.0-1074-gcp Advisory build 6.8.0-1074.82~22.04.1 USN-9173-1
Ubuntu jammy linux-headers-6.8.0-1074-gcp-64k Advisory build 6.8.0-1074.82~22.04.1 USN-9173-1
Ubuntu jammy linux-headers-6.8.1-1065-realtime Advisory build 6.8.1-1065.66~22.04.1 USN-9173-2
Ubuntu jammy linux-ibm-6.8 Advisory build 6.8.0-1070.71~22.04.1 USN-9173-1
Ubuntu jammy linux-ibm-6.8-headers-6.8.0-1070 Advisory build 6.8.0-1070.71~22.04.1 USN-9173-1
Ubuntu jammy linux-ibm-6.8-tools-6.8.0-1070 Advisory build 6.8.0-1070.71~22.04.1 USN-9173-1
Ubuntu jammy linux-image-unsigned-6.8.0-1068-nvidia Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-image-unsigned-6.8.0-1068-nvidia-64k Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-image-unsigned-6.8.0-1068-oracle Advisory build 6.8.0-1068.72~22.04.1 USN-9173-1
Ubuntu jammy linux-image-unsigned-6.8.0-1068-oracle-64k Advisory build 6.8.0-1068.72~22.04.1 USN-9173-1
Ubuntu jammy linux-image-unsigned-6.8.0-1070-aws Advisory build 6.8.0-1070.76~22.04.1 USN-9173-2
Ubuntu jammy linux-image-unsigned-6.8.0-1070-aws-64k Advisory build 6.8.0-1070.76~22.04.1 USN-9173-2
Ubuntu jammy linux-image-unsigned-6.8.0-1070-ibm Advisory build 6.8.0-1070.71~22.04.1 USN-9173-1
Ubuntu jammy linux-image-unsigned-6.8.0-1072-azure-fde Advisory build 6.8.0-1072.79~22.04.1 USN-9191-1
Ubuntu jammy linux-image-unsigned-6.8.0-1074-azure Advisory build 6.8.0-1074.83~22.04.1 USN-9191-1
Ubuntu jammy linux-image-unsigned-6.8.0-1074-gcp Advisory build 6.8.0-1074.82~22.04.1 USN-9173-1
Ubuntu jammy linux-image-unsigned-6.8.0-1074-gcp-64k Advisory build 6.8.0-1074.82~22.04.1 USN-9173-1
Ubuntu jammy linux-image-unsigned-6.8.1-1065-realtime Advisory build 6.8.1-1065.66~22.04.1 USN-9173-2
Ubuntu jammy linux-modules-6.8.0-1068-nvidia Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-modules-6.8.0-1068-nvidia-64k Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-modules-6.8.0-1068-oracle Advisory build 6.8.0-1068.72~22.04.1 USN-9173-1
Ubuntu jammy linux-modules-6.8.0-1068-oracle-64k Advisory build 6.8.0-1068.72~22.04.1 USN-9173-1
Ubuntu jammy linux-modules-6.8.0-1070-aws Advisory build 6.8.0-1070.76~22.04.1 USN-9173-2
Ubuntu jammy linux-modules-6.8.0-1070-aws-64k Advisory build 6.8.0-1070.76~22.04.1 USN-9173-2
Ubuntu jammy linux-modules-6.8.0-1070-ibm Advisory build 6.8.0-1070.71~22.04.1 USN-9173-1
Ubuntu jammy linux-modules-6.8.0-1072-azure-fde Advisory build 6.8.0-1072.79~22.04.1 USN-9191-1
Ubuntu jammy linux-modules-6.8.0-1074-azure Advisory build 6.8.0-1074.83~22.04.1 USN-9191-1
Ubuntu jammy linux-modules-6.8.0-1074-gcp Advisory build 6.8.0-1074.82~22.04.1 USN-9173-1
Ubuntu jammy linux-modules-6.8.0-1074-gcp-64k Advisory build 6.8.0-1074.82~22.04.1 USN-9173-1
Ubuntu jammy linux-modules-6.8.1-1065-realtime Advisory build 6.8.1-1065.66~22.04.1 USN-9173-2
Ubuntu jammy linux-modules-extra-6.8.0-1068-nvidia Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-modules-extra-6.8.0-1068-oracle Advisory build 6.8.0-1068.72~22.04.1 USN-9173-1
Ubuntu jammy linux-modules-extra-6.8.0-1068-oracle-64k Advisory build 6.8.0-1068.72~22.04.1 USN-9173-1
Ubuntu jammy linux-modules-extra-6.8.0-1070-aws Advisory build 6.8.0-1070.76~22.04.1 USN-9173-2
Ubuntu jammy linux-modules-extra-6.8.0-1070-aws-64k Advisory build 6.8.0-1070.76~22.04.1 USN-9173-2
Ubuntu jammy linux-modules-extra-6.8.0-1070-ibm Advisory build 6.8.0-1070.71~22.04.1 USN-9173-1
Ubuntu jammy linux-modules-extra-6.8.0-1072-azure-fde Advisory build 6.8.0-1072.79~22.04.1 USN-9191-1
Ubuntu jammy linux-modules-extra-6.8.0-1074-azure Advisory build 6.8.0-1074.83~22.04.1 USN-9191-1
Ubuntu jammy linux-modules-extra-6.8.0-1074-gcp Advisory build 6.8.0-1074.82~22.04.1 USN-9173-1
Ubuntu jammy linux-modules-extra-6.8.0-1074-gcp-64k Advisory build 6.8.0-1074.82~22.04.1 USN-9173-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: prevent path traversal bypass by restricting caseless retry ksmbd_vfs_path_lookup() enforces LOOKUP_BENEATH to restrict path resolution within the share root. When a crafted path attempts to escape the share boundary using parent-directory components ('..'), vfs_path_parent_lookup() detects this and immediately fails, returning -EXDEV. However, a bug exists in __ksmbd_vfs_kern_path() under caseless mode. The function fails to intercept the -EXDEV error and erroneously falls through to the caseless retry logic, which is intended only for genuinely missing files. During this retry process, the path is reconstructed, leading to an unintended LOOKUP_BENEATH bypass that allows write-capable users to create zero-length files or directories outside the exported share. Fix this by ensuring that the execution only proceeds to the caseless lookup retry when the error is specifically -ENOENT. Any other errors, such as -EXDEV from a path traversal attempt, must be returned immediately.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

29

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.6 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Scenarios
en: AV:N - The vulnerable lookup is reached remotely through SMB2 CREATE requests handled by ksmbd over TCP/445. AC:L - The attacker controls the crafted parent-directory path and can issue repeated or concurrent requests; any required lookup/create race is attacker-driven. PR:N - Although a valid SMB session and writable tree connection are required, ksmbd supports anonymous guest sessions on writable shares, requiring no prior privileges in a reasonable deployment. UI:N - Exploitation requires only attacker-generated SMB requests and no action by a victim. S:U - The bypass affects filesystems managed by the same host kernel and does not cross a virtualization or comparable security authority boundary. C:L - File contents are not exposed, but the out-of-share caseless directory walk and distinguishable errors can disclose limited pathname-existence metadata. I:L - The attacker can create chosen zero-length files or directories outside the export, but cannot supply file contents or overwrite arbitrary existing data through this flaw. A:H - Repeated creation in an escaped world-writable location can exhaust root-filesystem inodes, storage, or tmpfs memory and cause system-wide service unavailability.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 6927ffe7479c72e7ebf885507227266a75f7c97d to < 21f050439db157f2afcc19885dec14549ca6ffc0 (affected · git)74d7970febf7e9005375aeda0df821d2edffc9f7 to < eec1dd2586c4016b7555a5d047db2b3756459fb2 (affected · git)74d7970febf7e9005375aeda0df821d2edffc9f7 to < a1c331d98313380c38f616c8b28b890ec8ef9c28 (affected · git)74d7970febf7e9005375aeda0df821d2edffc9f7 to < cfb5a56c218888f9d74165dff0c282cd0be97983 (affected · git)74d7970febf7e9005375aeda0df821d2edffc9f7 to < 8c9a4f1327eb71efbf14842e7b8a6d965077eb67 (affected · git)74d7970febf7e9005375aeda0df821d2edffc9f7 to < 54bab9ba5a9f156ffa9324fcbe5a356fd0242f95 (affected · git)019aae488dbc67c97a33db03652e20e2c9e3afa7 (affected · git)ef6cc1c465786b3e4e735d1ab8b616b3e94402df (affected · git)6.1.71 to < 6.1.191 (affected · semver)5.15.145 to < 5.16 (affected · semver)6.3.10 to < 6.4 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.4 (affected)0 to < 6.4 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.12.114 through 6.12.* (unaffected · semver)6.18.57 through 6.18.* (unaffected · semver)7.1.4 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

ksmbd: prevent path traversal bypass by restricting caseless retry

Provenance

Schema
5.2
Searchable
yes
Content hash
de74a7a2c11934021f6674a2a5d9bc2365618a5052c5ecbcd4350a238381a985
Ingested
30 Oct 2026, 12:43:17 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected