CVE-2026-98114: ksmbd: propagate DACL parsing errors
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: propagate DACL parsing errors
parse_dacl() silently accepts truncated ACEs and allocation failures, allowing set_info_sec() to continue with an incomplete ACL conversion.
Return parsing and allocation errors to parse_sec_desc() so malformed security descriptors are rejected before inode attributes or ACL xattrs are updated.
The Linux kernel CVE team has assigned CVE-2026-98114 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.15 with commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and fixed in 6.12.111 with commit 461f10a5297e85b7c1cd21838922f2e57b934d2d Issue introduced in 5.15 with commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and fixed in 6.18.53 with commit 37952f03d5171eb3a33b2abc2cf6e456d69ff4a1 Issue introduced in 5.15 with commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and fixed in 7.2.7 with commit a04dac1f2cffe9533f4260f0659297d805e69194 Issue introduced in 5.15 with commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and fixed in 7.3-rc2 with commit c61dc7b1b4a3234b4aa3965502908a292238805c
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-98114
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/smbacl.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/461f10a5297e85b7c1cd21838922f2e57b934d2d https://git.kernel.org/stable/c/37952f03d5171eb3a33b2abc2cf6e456d69ff4a1 https://git.kernel.org/stable/c/a04dac1f2cffe9533f4260f0659297d805e69194 https://git.kernel.org/stable/c/c61dc7b1b4a3234b4aa3965502908a292238805c