{"id":"CVE-2026-99110","summary":"smb: client: fix heap overflow in cifs_do_set_acl()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix heap overflow in cifs_do_set_acl()\n\ncifs_set_acl() validates ACL size using posix_acl_xattr_size():\n\n        4 + (count * 8)  // 4-byte header + 8 bytes per ACE\n\ncifs_do_set_acl() then calls posix_acl_to_cifs() to write the CIFS\nwire format into the same buffer:\n\n        6 + (count * 10)  // 6-byte header + 10 bytes per ACE\n\nAn ACL that passes the xattr-based check in cifs_set_acl() can\noverflow the heap when posix_acl_to_cifs() writes the larger CIFS\nformat.\n\nValidate the CIFS format size against the remaining buffer space and\nUSHRT_MAX before converting--data_count is __u16, so sizes above\nUSHRT_MAX truncate the on-wire packet length, causing the server to\napply a partial ACL.  Replace MaxDataCount = 1000 with\nmin(CIFSMaxBufSize, USHRT_MAX).","modified":"2026-11-02T02:30:53.053472763Z","published":"2026-10-28T10:34:28.239Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99110.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1dac61e2c29d1a71784604b48cf3b1234a65ec29"},{"type":"WEB","url":"https://git.kernel.org/stable/c/596b4062e6c75bdd85a7f2b7f2087a872dc420ac"},{"type":"WEB","url":"https://git.kernel.org/stable/c/68652afb9b9adf70125971abee9b95341e042249"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9312a00215602ba028495ef3fa00fb84af0478e0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d96f3365ce61c5f39602955af43c8174548dee98"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99110.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99110"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"dc1af4c4b4721abfa07b351063825acc7e69cc66"},{"fixed":"68652afb9b9adf70125971abee9b95341e042249"},{"fixed":"9312a00215602ba028495ef3fa00fb84af0478e0"},{"fixed":"d96f3365ce61c5f39602955af43c8174548dee98"},{"fixed":"596b4062e6c75bdd85a7f2b7f2087a872dc420ac"},{"fixed":"1dac61e2c29d1a71784604b48cf3b1234a65ec29"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99110.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.161"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.115"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.59"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.13"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99110.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}