smb/client: fix chown/chgrp with SMB3 POSIX Extensions
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel c0fe1118a1471d459f76c3e70ff2abbf784ce6bf, Kernel 27ead8c5418af6bfab711079fecb9414d78d4cae, Kernel 3eaec47518e126e6dcd1a48521d740278073f0ec and 8 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=b326614ea2159ea5c835d320f261d05d080cd201 <c0fe1118a1471d459f76c3e70ff2abbf784ce6bf, >=b326614ea2159ea5c835d320f261d05d080cd201 <27ead8c5418af6bfab711079fecb9414d78d4cae, >=b326614ea2159ea5c835d320f261d05d080cd201 <3eaec47518e126e6dcd1a48521d740278073f0ec, >=b326614ea2159ea5c835d320f261d05d080cd201 <550cfb8a81181331d4d0f76ab75ee58a0bf41e3e, >=b326614ea2159ea5c835d320f261d05d080cd201 <6825a45f6b8ef76b0ee32649ec3d6e39ca143a18, >=b326614ea2159ea5c835d320f261d05d080cd201 <760ef2c579c2609cf17fb1cd5392f64d42d43d33, =4.18 | c0fe1118a1471d459f76c3e70ff2abbf784ce6bf, 27ead8c5418af6bfab711079fecb9414d78d4cae, 3eaec47518e126e6dcd1a48521d740278073f0ec, 550cfb8a81181331d4d0f76ab75ee58a0bf41e3e, 6825a45f6b8ef76b0ee32649ec3d6e39ca143a18, 760ef2c579c2609cf17fb1cd5392f64d42d43d33 |
| linux-kernel: Kernel | >=6.13.0 <6.18.57, >=6.19.0 <7.1.4, >=6.2.0 <6.6.160, >=6.7.0 <6.12.114, >=4.18.0 <6.1.191 | 6.18.57, 7.1.4, 6.6.160, 6.12.114, 6.1.191 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket