smb: client: honor forceuid/forcegid when mapping SIDs to uid/gid
CVE-2026-97561 is fixed in 14 products on 1 platform, first by DEBIAN-CVE-2026-97561, released October 2, 2026. It is not reported as exploited. Patch Radar priority: Routine.
In the Linux kernel, the following vulnerability has been resolved: smb: client: honor forceuid/forcegid when mapping SIDs to uid/gid When the administrator mounts with forceuid or forcegid (uid=/gid= mount options), they expect all files to appear owned by the specified user/group. However, several code paths unconditionally called sid_to_id() to overwrite cf_uid/cf_gid with server-provided values, ignoring the administrator's explicit override: - smb311_posix_info_to_fattr() (stat via POSIX extensions) - cifs_posix_to_fattr() (readdir via POSIX extensions) - parse_sec_desc() (CIFS ACL ownership mapping) This allowed an untrusted server to dictate local file ownership even when the mount was configured to force specific uid/gid values. Fix all three call sites to check CIFS_MOUNT_OVERR_UID and CIFS_MOUNT_OVERR_GID before calling sid_to_id(), following the same pattern already used by cifs_unix_basic_to_fattr() for unix extensions.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| dtb-aarch64 · opensuse-leap 16.0 | 6.12.0-160000.40.1 | OPENSUSE-SU-2026:22167-1 | Nov 7, 2026 |
| kernel-64kb · opensuse-leap 16.0 | 6.12.0-160000.40.1 | OPENSUSE-SU-2026:22167-1 | Nov 7, 2026 |
| kernel-64kb · sles 16.0 | 6.12.0-160000.40.1 | SUSE-SU-2026:24446-1 | Nov 7, 2026 |
| kernel-azure · opensuse-leap 16.0 | 6.12.0-160000.40.1 | OPENSUSE-SU-2026:22167-1 | Nov 7, 2026 |
| kernel-azure · sles 16.0 | 6.12.0-160000.40.1 | SUSE-SU-2026:24446-1 | Nov 7, 2026 |
| kernel-default · opensuse-leap 16.0 | 6.12.0-160000.40.1 | OPENSUSE-SU-2026:22167-1 | Nov 7, 2026 |
| kernel-default · sles 16.0 | 6.12.0-160000.40.1 | SUSE-SU-2026:24446-1 | Nov 7, 2026 |
| kernel-default-base · opensuse-leap 16.0 | 6.12.0-160000.40.1.160000.2.29 | OPENSUSE-SU-2026:22167-1 | Nov 7, 2026 |
| kernel-default-base · sles 16.0 | 6.12.0-160000.40.1.160000.2.29 | SUSE-SU-2026:24446-1 | Nov 7, 2026 |
| kernel-docs · opensuse-leap 16.0 | 6.12.0-160000.40.1 | OPENSUSE-SU-2026:22167-1 | Nov 7, 2026 |
| kernel-docs · sles 16.0 | 6.12.0-160000.40.1 | SUSE-SU-2026:24446-1 | Nov 7, 2026 |
| kernel-kvmsmall · opensuse-leap 16.0 | 6.12.0-160000.40.1 | OPENSUSE-SU-2026:22167-1 | Nov 7, 2026 |
| kernel-kvmsmall · sles 16.0 | 6.12.0-160000.40.1 | SUSE-SU-2026:24446-1 | Nov 7, 2026 |
| kernel-obs-build · opensuse-leap 16.0 | 6.12.0-160000.40.1 | OPENSUSE-SU-2026:22167-1 | Nov 7, 2026 |
| kernel-obs-qa · opensuse-leap 16.0 | 6.12.0-160000.40.1 | OPENSUSE-SU-2026:22167-1 | Nov 7, 2026 |
| kernel-obs-qa · sles 16.0 | 6.12.0-160000.40.1 | SUSE-SU-2026:24446-1 | Nov 7, 2026 |
| kernel-rt · opensuse-leap 16.0 | 6.12.0-160000.40.1 | OPENSUSE-SU-2026:22167-1 | Nov 7, 2026 |
| kernel-source · opensuse-leap 16.0 | 6.12.0-160000.40.1 | OPENSUSE-SU-2026:22167-1 | Nov 7, 2026 |
| kernel-source · sles 16.0 | 6.12.0-160000.40.1 | SUSE-SU-2026:24446-1 | Nov 7, 2026 |
| kernel-syms · opensuse-leap 16.0 | 6.12.0-160000.40.1 | OPENSUSE-SU-2026:22167-1 | Nov 7, 2026 |
| kernel-syms · sles 16.0 | 6.12.0-160000.40.1 | SUSE-SU-2026:24446-1 | Nov 7, 2026 |
| kernel-zfcpdump · opensuse-leap 16.0 | 6.12.0-160000.40.1 | OPENSUSE-SU-2026:22167-1 | Nov 7, 2026 |
| kernel-zfcpdump · sles 16.0 | 6.12.0-160000.40.1 | SUSE-SU-2026:24446-1 | Nov 7, 2026 |
| linux · Debian 13.5 (trixie) | 6.12.115-2 | DEBIAN-CVE-2026-97561 | Oct 2, 2026 |
| linux · Debian 14 | 7.2.7-1 | DEBIAN-CVE-2026-97561 | Oct 2, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.