Skip to contentSkip to conversation

CVE-2026-93786: ksmbd: preserve VFS inherited POSIX ACL mask

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 24

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: preserve VFS inherited POSIX ACL mask

The VFS initializes a child's POSIX ACL from the parent's default ACL and the requested creation mode. Do not mutate the parent ACL or overwrite the child's VFS-computed access and default ACLs afterwards.

This preserves restrictive ACL_MASK entries and prevents SMB object creation from widening effective permissions.

The Linux kernel CVE team has assigned CVE-2026-93786 to this issue.

Affected and fixed versions
===========================

	Fixed in 6.12.111 with commit 591acf171644de590cda245fd8595b473a1beb70
	Fixed in 6.18.53 with commit 0093909becbda22b62b39b654dbc607faed59cd0
	Fixed in 7.2 with commit e148e567a9252643baa125cb65d7ae9c2c6cf68a

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-93786

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
fs/smb/server/vfs.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/591acf171644de590cda245fd8595b473a1beb70
	https://git.kernel.org/stable/c/0093909becbda22b62b39b654dbc607faed59cd0
	https://git.kernel.org/stable/c/e148e567a9252643baa125cb65d7ae9c2c6cf68a