Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
b326614ea2159ea5c835d320f261d05d080cd201 to < 6825a45f6b8ef76b0ee32649ec3d6e39ca143a18affectedb326614ea2159ea5c835d320f261d05d080cd201 to < 27ead8c5418af6bfab711079fecb9414d78d4caeaffectedb326614ea2159ea5c835d320f261d05d080cd201 to < 3eaec47518e126e6dcd1a48521d740278073f0ecaffectedb326614ea2159ea5c835d320f261d05d080cd201 to < 550cfb8a81181331d4d0f76ab75ee58a0bf41e3eaffectedb326614ea2159ea5c835d320f261d05d080cd201 to < 760ef2c579c2609cf17fb1cd5392f64d42d43d33affected
Linux Linux
Default version status: affected
4.18affected0 to < 4.18unaffected6.6.160 to ≤ 6.6.*unaffected6.12.114 to ≤ 6.12.*unaffected6.18.57 to ≤ 6.18.*unaffected7.1.4 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/6825a45f6b8ef76b0ee32649ec3d6e39ca143a18 ↗
- https://git.kernel.org/stable/c/27ead8c5418af6bfab711079fecb9414d78d4cae ↗
- https://git.kernel.org/stable/c/3eaec47518e126e6dcd1a48521d740278073f0ec ↗
- https://git.kernel.org/stable/c/550cfb8a81181331d4d0f76ab75ee58a0bf41e3e ↗
- https://git.kernel.org/stable/c/760ef2c579c2609cf17fb1cd5392f64d42d43d33 ↗