CVE-2026-99110

smb: client: fix heap overflow in cifs_do_set_acl()

Published Oct 28, 2026 CVSS 3.1 · 7 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

smb: client: fix heap overflow in cifs_do_set_acl()

cifs_set_acl() validates ACL size using posix_acl_xattr_size():

4 + (count * 8) // 4-byte header + 8 bytes per ACE

cifs_do_set_acl() then calls posix_acl_to_cifs() to write the CIFS
wire format into the same buffer:

6 + (count * 10) // 6-byte header + 10 bytes per ACE

An ACL that passes the xattr-based check in cifs_set_acl() can
overflow the heap when posix_acl_to_cifs() writes the larger CIFS
format.

Validate the CIFS format size against the remaining buffer space and
USHRT_MAX before converting--data_count is __u16, so sizes above
USHRT_MAX truncate the on-wire packet length, causing the server to
apply a partial ACL. Replace MaxDataCount = 1000 with
min(CIFSMaxBufSize, USHRT_MAX).

Analysis

AI-generated

Technical impact

The flaw resides in the Linux kernel’s CIFS client stack when handling Access Control Lists. The kernel first validates the ACL size using posix_acl_xattr_size() but this allows an ACL that passes the check to overflow when converted to the CIFS wire format with posix_acl_to_cifs(). The resulting heap overflow can corrupt adjacent memory, potentially causing a denial‑of‑service or arbitrary code execution. Although the CVE description does not state that privilege escalation is possible, any such claim would be inferred and is not validated by the data.

Affected Systems

The vulnerability applies to any Linux kernel containing the CIFS/Samba client stack prior to the commits that implement the buffer‑size validation. No specific kernel release is enumerated, so kernels shipped with the unpatched CIFS client are at risk.

Risk and Exploitability

The CVSS score is 7 and the EPSS probability is below 1 %, indicating a high severity but low current exploitation likelihood. The vulnerability is not listed in the CISA KEV catalog, suggesting no widespread exploitation yet. Attackers would need to send a crafted ACL over an SMB connection to the vulnerable client. The description does not confirm that this leads to privilege escalation; the impact is limited to memory corruption and potential denial of service. Monitoring for abnormal ACL traffic may help detect attempts to exploit the flaw.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a patched version that includes the buffer‑size validation to prevent the overflow.
  • If SMB client functionality is not required, unload or disable the CIFS module to remove the vulnerable code from memory.
  • When a patch cannot be applied immediately, configure the CIFS stack to reject ACL change requests that exceed a safe threshold (e.g., limit ACLs to fewer than 1 000 ACEs) to avoid triggering the overflow.

Generated by OpenCVE AI on October 31, 2026 at 14:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
History
Type Values Removed Values Added
Weaknesses CWE-122
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-122
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: smb: client: fix heap overflow in cifs_do_set_acl() cifs_set_acl() validates ACL size using posix_acl_xattr_size(): 4 + (count * 8) // 4-byte header + 8 bytes per ACE cifs_do_set_acl() then calls posix_acl_to_cifs() to write the CIFS wire format into the same buffer: 6 + (count * 10) // 6-byte header + 10 bytes per ACE An ACL that passes the xattr-based check in cifs_set_acl() can overflow the heap when posix_acl_to_cifs() writes the larger CIFS format. Validate the CIFS format size against the remaining buffer space and USHRT_MAX before converting--data_count is __u16, so sizes above USHRT_MAX truncate the on-wire packet length, causing the server to apply a partial ACL. Replace MaxDataCount = 1000 with min(CIFSMaxBufSize, USHRT_MAX).
Title smb: client: fix heap overflow in cifs_do_set_acl()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 31, 2026, 12:43 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 28, 2026, 11:17 AM
Modified
Oct 31, 2026, 1:17 PM
Severity
Important
Public date
Oct 28, 2026, 12:00 AM