Linux
smb/client: fix chown/chgrp with SMB3 POSIX Extensions
In the Linux kernel, the following vulnerability has been resolved: smb/client: fix chown/chgrp with SMB3 POSIX Extensions Ownership (chown) and group (chgrp) modifications were being ignored when mounting with SMB3 POSIX Extensions unless CIFS_MOUNT_CIFS_ACL or CIFS_MOUNT_MODE_FROM_SID were also explicitly set. Fix this by checking for posix_extensions in cifs_setattr_nounix() when updating UID and GID, ensuring that id_mode_to_cifs_acl() is called to map and set the ownership/group information on the server.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= b326614ea2159ea5c835d320f261d05d080cd201, < c0fe1118a1471d459f76c3e70ff2abbf784ce6bf
- >= b326614ea2159ea5c835d320f261d05d080cd201, < 6825a45f6b8ef76b0ee32649ec3d6e39ca143a18
- >= b326614ea2159ea5c835d320f261d05d080cd201, < 27ead8c5418af6bfab711079fecb9414d78d4cae
- >= b326614ea2159ea5c835d320f261d05d080cd201, < 3eaec47518e126e6dcd1a48521d740278073f0ec
- >= b326614ea2159ea5c835d320f261d05d080cd201, < 550cfb8a81181331d4d0f76ab75ee58a0bf41e3e
- >= b326614ea2159ea5c835d320f261d05d080cd201, < 760ef2c579c2609cf17fb1cd5392f64d42d43d33
Fixed in c0fe1118a1471d459f76c3e70ff2abbf784ce6bf, 6825a45f6b8ef76b0ee32649ec3d6e39ca143a18, 27ead8c5418af6bfab711079fecb9414d78d4cae, 3eaec47518e126e6dcd1a48521d740278073f0ec, 550cfb8a81181331d4d0f76ab75ee58a0bf41e3e, 760ef2c579c2609cf17fb1cd5392f64d42d43d33
- 4.18
Fixed in 0, 6.1.191, 6.6.160, 6.12.114, 6.18.57, 7.1.4, 7.2
Mitigation
Upgrade Linux to c0fe1118a1471d459f76c3e70ff2abbf784ce6bf or 6825a45f6b8ef76b0ee32649ec3d6e39ca143a18 or 27ead8c5418af6bfab711079fecb9414d78d4cae or 3eaec47518e126e6dcd1a48521d740278073f0ec or 550cfb8a81181331d4d0f76ab75ee58a0bf41e3e or 760ef2c579c2609cf17fb1cd5392f64d42d43d33 or later.
Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.114 or 6.18.57 or 7.1.4 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.