7

CVE-2026-99110

smb: client: fix heap overflow in cifs_do_set_acl()

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).
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version dc1af4c4b4721abfa07b351063825acc7e69cc66
Version < 68652afb9b9adf70125971abee9b95341e042249
Status affected
Version dc1af4c4b4721abfa07b351063825acc7e69cc66
Version < 9312a00215602ba028495ef3fa00fb84af0478e0
Status affected
Version dc1af4c4b4721abfa07b351063825acc7e69cc66
Version < d96f3365ce61c5f39602955af43c8174548dee98
Status affected
Version dc1af4c4b4721abfa07b351063825acc7e69cc66
Version < 596b4062e6c75bdd85a7f2b7f2087a872dc420ac
Status affected
Version dc1af4c4b4721abfa07b351063825acc7e69cc66
Version < 1dac61e2c29d1a71784604b48cf3b1234a65ec29
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 6.2
Status affected
Version 0
Version < 6.2
Status unaffected
Version <= 6.6.*
Version 6.6.161
Status unaffected
Version <= 6.12.*
Version 6.12.115
Status unaffected
Version <= 6.18.*
Version 6.18.59
Status unaffected
Version <= 7.2.*
Version 7.2.13
Status unaffected
Version <= *
Version 7.3
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.18% 0.08
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 7 1 5.9
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/d96f3365ce61c5f39602955af43c8174548dee98
https://git.kernel.org/stable/c/596b4062e6c75bdd85a7f2b7f2087a872dc420ac
https://git.kernel.org/stable/c/1dac61e2c29d1a71784604b48cf3b1234a65ec29
https://git.kernel.org/stable/c/68652afb9b9adf70125971abee9b95341e042249
https://git.kernel.org/stable/c/9312a00215602ba028495ef3fa00fb84af0478e0