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-64394

published high CVSS 3.1 · 8.8

ksmbd: add a WRITE_DAC/WRITE_OWNER check to SMB2 SET_INFO SECURITY

Published
25 Jul 2026, 08:50:39 UTC
Updated
17 Aug 2026, 04:54:47 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxe2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 0848b1d8b403f530878195dcbe241a2fddb9d0e1 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < e6aa731f1b4b3e08caebf66a99f04b22bdab2e99 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 9ab2ffd3ed3d4ca1667c52de27026ddabc11e537 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < f56535db508ead8dec1c481ad93d7d8acd8f8f1e · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < aae600cdaffc6d9ce97645f129799a103a97d06d · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 44df157a1183a7f746caa970c169255da5ac61f8 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 6.1.178 through 6.1.* (unaffected · semver) · 6.6.145 through 6.6.* (unaffected · semver) · 6.12.96 through 6.12.* (unaffected · semver) · 6.18.39 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.180-1 DLA-4720-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-1069.74~22.04.1 USN-9024-1
Debian bookworm linux-6.12 Advisory build 6.12.100-1~deb12u1 DLA-4724-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Debian bullseye linux-6.1 Advisory build 6.1.180-1~deb11u1 DLA-4723-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-1069 Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-aws-6.8-headers-6.8.0-1069 Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-aws-6.8-tools-6.8.0-1069 Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-azure-6.8 Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-6.8-cloud-tools-6.8.0-1073 Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-6.8-headers-6.8.0-1073 Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-6.8-tools-6.8.0-1073 Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-fde-6.8 Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-fde-6.8-cloud-tools-6.8.0-1071 Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-fde-6.8-headers-6.8.0-1071 Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-fde-6.8-tools-6.8.0-1071 Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-buildinfo-6.8.0-1067-oracle Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-buildinfo-6.8.0-1067-oracle-64k Advisory build 6.8.0-1067.71~22.04.1 USN-9025-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-1069-aws Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-1069-aws-64k Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-1069-ibm Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-1071-azure-fde Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-buildinfo-6.8.0-1073-azure Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-buildinfo-6.8.0-1073-gcp Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-1073-gcp-64k Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-buildinfo-6.8.0-149-generic-64k Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-buildinfo-6.8.0-149-lowlatency Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-149-lowlatency-64k Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.1-1064-realtime Advisory build 6.8.1-1064.65~22.04.1 USN-9024-1
Ubuntu jammy linux-cloud-tools-6.8.0-1069-aws Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-cloud-tools-6.8.0-1069-aws-64k Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-cloud-tools-6.8.0-1071-azure-fde Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-cloud-tools-6.8.0-1073-azure Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-cloud-tools-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-cloud-tools-6.8.0-149-lowlatency Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-cloud-tools-6.8.1-1064-realtime Advisory build 6.8.1-1064.65~22.04.1 USN-9024-1
Ubuntu jammy linux-gcp-6.8 Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-gcp-6.8-headers-6.8.0-1073 Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-gcp-6.8-tools-6.8.0-1073 Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-1067-oracle Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-headers-6.8.0-1067-oracle-64k Advisory build 6.8.0-1067.71~22.04.1 USN-9025-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-1069-aws Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-1069-aws-64k Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-1069-ibm Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-1071-azure-fde Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-headers-6.8.0-1073-azure Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-headers-6.8.0-1073-gcp Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-1073-gcp-64k Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-headers-6.8.0-149-generic-64k Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-headers-6.8.0-149-lowlatency Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-149-lowlatency-64k Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.1-1064-realtime Advisory build 6.8.1-1064.65~22.04.1 USN-9024-1
Ubuntu jammy linux-hwe-6.8 Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-hwe-6.8-cloud-tools-6.8.0-149 Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-hwe-6.8-headers-6.8.0-149 Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-hwe-6.8-tools-6.8.0-149 Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-ibm-6.8 Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-ibm-6.8-headers-6.8.0-1069 Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-ibm-6.8-tools-6.8.0-1069 Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-image-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-image-unsigned-6.8.0-1067-oracle Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-image-unsigned-6.8.0-1067-oracle-64k Advisory build 6.8.0-1067.71~22.04.1 USN-9025-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-1069-aws Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-1069-aws-64k Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-1069-ibm Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-1071-azure-fde Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-image-unsigned-6.8.0-1073-azure Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-image-unsigned-6.8.0-1073-gcp Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-1073-gcp-64k Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-image-unsigned-6.8.0-149-generic-64k Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-image-unsigned-6.8.0-149-lowlatency Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-149-lowlatency-64k Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.1-1064-realtime Advisory build 6.8.1-1064.65~22.04.1 USN-9024-1
Ubuntu jammy linux-lowlatency-hwe-6.8 Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-lowlatency-hwe-6.8-cloud-tools-6.8.0-149 Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-lowlatency-hwe-6.8-headers-6.8.0-149 Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-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: add a WRITE_DAC/WRITE_OWNER check to SMB2 SET_INFO SECURITY commit cc57232cae23 ("ksmbd: fix FSCTL permission bypass by adding a permission check for FSCTL_SET_SPARSE") added a fp->daccess gate to fsctl_set_sparse and noted that "similar handle-level checks exist in other functions but are missing here." The SMB2 SET_INFO SECURITY arm is one of the missing ones, and the most security-relevant: smb2_set_info_sec() calls set_info_sec() with no per-handle access check. set_info_sec() (fs/smb/server/smbacl.c) re-permissions the file: it rewrites owner/group/mode via notify_change(), rewrites the POSIX ACL via set_posix_acl(), and on KSMBD_SHARE_FLAG_ACL_XATTR shares removes and rewrites the Windows security descriptor via ksmbd_vfs_set_sd_xattr(). Every other persistent-mutation arm of the sibling handler smb2_set_info_file() checks fp->daccess first (FILE_WRITE_DATA / FILE_DELETE / FILE_WRITE_EA / FILE_WRITE_ATTRIBUTES); the SECURITY arm — which mutates the access control itself — is the only one with no gate. A client can therefore open a handle with FILE_WRITE_ATTRIBUTES only (no FILE_WRITE_DAC / FILE_WRITE_OWNER) and use SMB2_SET_INFO with InfoType SMB2_O_INFO_SECURITY to rewrite the file's DACL and owner, granting itself access the handle's daccess never carried. Unlike the FSCTL data arms this is a metadata/xattr operation, so there is no FMODE_WRITE VFS backstop — the missing fp->daccess check is the entire gate. Setting a security descriptor is the WRITE_DAC / WRITE_OWNER operation, so require at least one of those on the handle before re-permissioning the file. -EACCES is mapped to STATUS_ACCESS_DENIED by smb2_set_info().

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

27

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - The vulnerable SMB2 SET_INFO handler is remotely reachable through ksmbd over TCP port 445. AC:L - An attacker can deterministically open an attribute-only handle and submit a crafted security descriptor, with no race or uncontrollable condition. PR:L - A valid SMB session, writable tree connection, and permission to open the target with FILE_WRITE_ATTRIBUTES are required, but no administrative privileges are needed. UI:N - The attacker directly sends the SMB requests without requiring any victim action. S:U - The bypass affects files governed by the same host and ksmbd share security authority and does not cross a virtualization or sandbox boundary. C:H - The attacker can rewrite the DACL and mode to grant read access, potentially disclosing complete protected files within the share. I:H - The attacker can grant itself write or delete rights and subsequently modify or destroy protected file contents, ownership metadata, and ACLs. A:H - The attacker can deny legitimate access or grant itself sufficient rights to corrupt or destroy affected share data, causing complete loss of availability for those resources.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 0848b1d8b403f530878195dcbe241a2fddb9d0e1 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < e6aa731f1b4b3e08caebf66a99f04b22bdab2e99 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 9ab2ffd3ed3d4ca1667c52de27026ddabc11e537 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < f56535db508ead8dec1c481ad93d7d8acd8f8f1e (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < aae600cdaffc6d9ce97645f129799a103a97d06d (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 44df157a1183a7f746caa970c169255da5ac61f8 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)6.1.178 through 6.1.* (unaffected · semver)6.6.145 through 6.6.* (unaffected · semver)6.12.96 through 6.12.* (unaffected · semver)6.18.39 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: add a WRITE_DAC/WRITE_OWNER check to SMB2 SET_INFO SECURITY

Provenance

Schema
5.2
Searchable
yes
Content hash
13ec9971ef71375d3dcd9aad49f79d3b8340d606b84ad3e205cd957879a2afe1
Ingested
23 Sep 2026, 09:25:47 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