CVE-2026-99110

smb: client: fix heap overflow in cifs_do_set_acl()

State
Published
Severity
Not scored
Published
Oct 28, 2026
Updated
Oct 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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).

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • dc1af4c4b4721abfa07b351063825acc7e69cc66 to before 68652afb9b9adf70125971abee9b95341e042249Affected
  • dc1af4c4b4721abfa07b351063825acc7e69cc66 to before 9312a00215602ba028495ef3fa00fb84af0478e0Affected
  • dc1af4c4b4721abfa07b351063825acc7e69cc66 to before d96f3365ce61c5f39602955af43c8174548dee98Affected
  • dc1af4c4b4721abfa07b351063825acc7e69cc66 to before 596b4062e6c75bdd85a7f2b7f2087a872dc420acAffected
  • dc1af4c4b4721abfa07b351063825acc7e69cc66 to before 1dac61e2c29d1a71784604b48cf3b1234a65ec29Affected
LinuxLinux
  • 6.2Affected
  • before 6.2Not affected
  • 6.6.161 through 6.6.*Not affected
  • 6.12.115 through 6.12.*Not affected
  • 6.18.59 through 6.18.*Not affected
  • 7.2.13 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.