smb/client: fix chown/chgrp with SMB3 POSIX Extensions
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ b326614ea2159ea5c835d320f261d05d080cd201 · < 760ef2c579c2609cf17fb1cd5392f64d42d43d33| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel SMB client can ignore chown and chgrp changes on mounts using SMB3 POSIX Extensions unless specific CIFS mount options are also set. The input does not describe an attacker, authentication requirements, or user interaction; the impact is that requested ownership and group changes may not take effect.
Administrators running Linux kernels with SMB3 POSIX Extensions mounts should check their systems; affected versions are not specified.