Technical impact
The vulnerability stems from the CIFSSMBSetEA function copying an extended attribute value into the SMB request buffer without confirming it fits within the negotiated buffer size. This missing bounds check triggers a classic out‑of‑bounds write that can corrupt kernel memory when an attacker performs setxattr on an SMB1 mount. The resulting kernel memory corruption could cause a crash or enable a local attacker to gain root privileges, thereby constituting a local privilege escalation risk.
Affected Systems
All Linux systems running kernel versions that include the CIFS SMB client and expose the CIFSSMBSetEA path are affected, particularly those using SMB1 mounts. The vulnerability was observed in unprivileged setxattr(2) calls with large attribute values, leading to buffer overflows in the 16588‑byte request object. Users of newer SMB2/3 mounts are not impacted, but any distribution still enabling SMB1 with CIFS should consider this a threat until a patch is applied.
Risk and Exploitability
Exploitation requires local access with permission to mount an SMB1 share and invoke setxattr, so the attack surface is limited to local users. The CVSS score of 7.8 indicates high severity, and the EPSS score of less than 1% reflects a low current exploitation probability. The vulnerability is not listed in the CISA KEV catalog. The flaw is a buffer overflow and out‑of‑bounds write (CWE‑787). By introducing proper size checks before copying and enforcing limits earlier in the request assembly, the risk can be eliminated.