CVE-2026-97561
smb: client: honor forceuid/forcegid when mapping SIDs to uid/gid
Reported by linux · Published September 25, 2026
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.
EPSS 0.21% · 11.5th percentile
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 9409ae58e0759d010b347e7b19ebc90ab5d4b98f, 9409ae58e0759d010b347e7b19ebc90ab5d4b98f, 9409ae58e0759d010b347e7b19ebc90ab5d4b98f |
| Linux | Linux | 3.0, 0, 6.1.191 |
| linux | linux_kernel | 3.0, 3.0, 3.0 |
| Linux | Linux | 7.3, 9409ae58e0759d010b347e7b19ebc90ab5d4b98f, 9409ae58e0759d010b347e7b19ebc90ab5d4b98f |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.12.114-139.210 | 0 |
Timeline
- Sep 25, 2026 Coalition ESS Score
- Sep 25, 2026 CVE Published
- Sep 26, 2026 EPSS Score (12 in total, the first dated here)
- Oct 30, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-97561
vulnetix vdb fixes CVE-2026-97561
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-97561/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart