# CVE-2026-99110: smb: client: fix heap overflow in cifs_do_set_acl()

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-02)
- Published: 2026-10-28T10:34:28.239Z
- Modified: 2026-10-31T13:17:55.833Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from dc1af4c4b4721abfa07b351063825acc7e69cc66 before 68652afb9b9adf70125971abee9b95341e042249; from dc1af4c4b4721abfa07b351063825acc7e69cc66 before 9312a00215602ba028495ef3fa00fb84af0478e0; from dc1af4c4b4721abfa07b351063825acc7e69cc66 before d96f3365ce61c5f39602955af43c8174548dee98; from dc1af4c4b4721abfa07b351063825acc7e69cc66 before 596b4062e6c75bdd85a7f2b7f2087a872dc420ac; from dc1af4c4b4721abfa07b351063825acc7e69cc66 before 1dac61e2c29d1a71784604b48cf3b1234a65ec29; 6.2 (not affected: before 6.2; from 6.6.161 up to 6.6.*; from 6.12.115 up to 6.12.*; from 6.18.59 up to 6.18.*; from 7.2.13 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/68652afb9b9adf70125971abee9b95341e042249>
- <https://git.kernel.org/stable/c/9312a00215602ba028495ef3fa00fb84af0478e0>
- <https://git.kernel.org/stable/c/d96f3365ce61c5f39602955af43c8174548dee98>
- <https://git.kernel.org/stable/c/596b4062e6c75bdd85a7f2b7f2087a872dc420ac>
- <https://git.kernel.org/stable/c/1dac61e2c29d1a71784604b48cf3b1234a65ec29>

## Sources

- CVE List: [CVE-2026-99110](https://www.cve.org/CVERecord?id=CVE-2026-99110), CVE Terms of Use, modified 2026-10-31
- NVD: [CVE-2026-99110](https://nvd.nist.gov/vuln/detail/CVE-2026-99110), Public domain, modified 2026-10-31

---

Page: https://cve.day/CVE-2026-99110 · Whole record: https://cve.day/CVE-2026-99110.json · Rebuilt by cve.day 2026-11-25T22:59:47.565Z
