VDB

CVE-2026-97561

CVE-2026-97561 PUBLISHED

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

EPSS Score
0.21%
11.5th percentile

Affected products

VendorProductVersions
LinuxLinux9409ae58e0759d010b347e7b19ebc90ab5d4b98f, 9409ae58e0759d010b347e7b19ebc90ab5d4b98f, 9409ae58e0759d010b347e7b19ebc90ab5d4b98f
LinuxLinux3.0, 0, 6.1.191
linuxlinux_kernel3.0, 3.0, 3.0
LinuxLinux7.3, 9409ae58e0759d010b347e7b19ebc90ab5d4b98f, 9409ae58e0759d010b347e7b19ebc90ab5d4b98f
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-headers0
amazon:2023python3-perf6.120
amazon:2023bpftool6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-devel0
amazon:2023perf6.120
amazon:2023kernel6.120
amazon:2023kernel-livepatch-6.12.114-139.2100

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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›