Skip to main content
← All vulnerabilities
CVE-2026-99110EUVD-2026-112010GHSA-82WH-J3W4-Q4WC

smb: client: fix heap overflow in cifs_do_set_acl()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.18.59, 7.2.13
None on Exploit-DB, Metasploit or GitHub

Summary

A heap buffer overflow in the Linux kernel's CIFS/SMB client (the cifs_do_set_acl() ACL-setting path) can occur when a crafted access control list is written in a larger wire format than the buffer was validated for. The flaw can corrupt kernel memory and can also cause a truncated ACL to be sent to the server, potentially leading to incorrect file permissions.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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).

Timeline

  1. CVE published
  2. First seen by cve.now
  3. Record last updated

Affected versions

  • Linux Linux

    Version range not reported

  • Linux Linux

    6.2

  • KernelLinux

    From 6.2.0 · fixed in 6.18.59; From 6.19.0 · fixed in 7.2.13

References 5

git.kernel.org