# CVE-2026-97561: 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.

- Web page: https://patchblox.com/security/cve/CVE-2026-97561
- Priority: Routine
- CVSS: 6.5 (Moderate)
- EPSS: 0.0021
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 25, 2026
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-97561

## Description

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

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | dtb-aarch64 opensuse-leap 16.0 | 6.12.0-160000.40.1 | [OPENSUSE-SU-2026:22167-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-22167-1.md) | Nov 7, 2026 |
| Linux | kernel-64kb opensuse-leap 16.0 | 6.12.0-160000.40.1 | [OPENSUSE-SU-2026:22167-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-22167-1.md) | Nov 7, 2026 |
| Linux | kernel-64kb sles 16.0 | 6.12.0-160000.40.1 | [SUSE-SU-2026:24446-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-24446-1.md) | Nov 7, 2026 |
| Linux | kernel-azure opensuse-leap 16.0 | 6.12.0-160000.40.1 | [OPENSUSE-SU-2026:22167-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-22167-1.md) | Nov 7, 2026 |
| Linux | kernel-azure sles 16.0 | 6.12.0-160000.40.1 | [SUSE-SU-2026:24446-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-24446-1.md) | Nov 7, 2026 |
| Linux | kernel-default opensuse-leap 16.0 | 6.12.0-160000.40.1 | [OPENSUSE-SU-2026:22167-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-22167-1.md) | Nov 7, 2026 |
| Linux | kernel-default sles 16.0 | 6.12.0-160000.40.1 | [SUSE-SU-2026:24446-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-24446-1.md) | Nov 7, 2026 |
| Linux | kernel-default-base opensuse-leap 16.0 | 6.12.0-160000.40.1.160000.2.29 | [OPENSUSE-SU-2026:22167-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-22167-1.md) | Nov 7, 2026 |
| Linux | kernel-default-base sles 16.0 | 6.12.0-160000.40.1.160000.2.29 | [SUSE-SU-2026:24446-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-24446-1.md) | Nov 7, 2026 |
| Linux | kernel-docs opensuse-leap 16.0 | 6.12.0-160000.40.1 | [OPENSUSE-SU-2026:22167-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-22167-1.md) | Nov 7, 2026 |
| Linux | kernel-docs sles 16.0 | 6.12.0-160000.40.1 | [SUSE-SU-2026:24446-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-24446-1.md) | Nov 7, 2026 |
| Linux | kernel-kvmsmall opensuse-leap 16.0 | 6.12.0-160000.40.1 | [OPENSUSE-SU-2026:22167-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-22167-1.md) | Nov 7, 2026 |
| Linux | kernel-kvmsmall sles 16.0 | 6.12.0-160000.40.1 | [SUSE-SU-2026:24446-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-24446-1.md) | Nov 7, 2026 |
| Linux | kernel-obs-build opensuse-leap 16.0 | 6.12.0-160000.40.1 | [OPENSUSE-SU-2026:22167-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-22167-1.md) | Nov 7, 2026 |
| Linux | kernel-obs-qa opensuse-leap 16.0 | 6.12.0-160000.40.1 | [OPENSUSE-SU-2026:22167-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-22167-1.md) | Nov 7, 2026 |
| Linux | kernel-obs-qa sles 16.0 | 6.12.0-160000.40.1 | [SUSE-SU-2026:24446-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-24446-1.md) | Nov 7, 2026 |
| Linux | kernel-rt opensuse-leap 16.0 | 6.12.0-160000.40.1 | [OPENSUSE-SU-2026:22167-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-22167-1.md) | Nov 7, 2026 |
| Linux | kernel-source opensuse-leap 16.0 | 6.12.0-160000.40.1 | [OPENSUSE-SU-2026:22167-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-22167-1.md) | Nov 7, 2026 |
| Linux | kernel-source sles 16.0 | 6.12.0-160000.40.1 | [SUSE-SU-2026:24446-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-24446-1.md) | Nov 7, 2026 |
| Linux | kernel-syms opensuse-leap 16.0 | 6.12.0-160000.40.1 | [OPENSUSE-SU-2026:22167-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-22167-1.md) | Nov 7, 2026 |
| Linux | kernel-syms sles 16.0 | 6.12.0-160000.40.1 | [SUSE-SU-2026:24446-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-24446-1.md) | Nov 7, 2026 |
| Linux | kernel-zfcpdump opensuse-leap 16.0 | 6.12.0-160000.40.1 | [OPENSUSE-SU-2026:22167-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-22167-1.md) | Nov 7, 2026 |
| Linux | kernel-zfcpdump sles 16.0 | 6.12.0-160000.40.1 | [SUSE-SU-2026:24446-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-24446-1.md) | Nov 7, 2026 |
| Linux | linux Debian 13.5 (trixie) | 6.12.115-2 | [DEBIAN-CVE-2026-97561](https://patchblox.com/security/data/fix/linux/debian-cve-2026-97561.md) | Oct 2, 2026 |
| Linux | linux Debian 14 | 7.2.7-1 | [DEBIAN-CVE-2026-97561](https://patchblox.com/security/data/fix/linux/debian-cve-2026-97561.md) | Oct 2, 2026 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

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.
