CVE-2026-97561
Last modified
CVE-2026-97561 is a vulnerability of currently unknown severity. 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..
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.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e1b74f8f8c1d13190b09fe623b729d36b7ac22a8; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 18a72975e9f35aadecc75b031f693f2d1f49308f; < 7.2.7 |
| Linux | Linux | All versions |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-97561?
How severe is CVE-2026-97561?
How do I fix CVE-2026-97561?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-97556In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97557In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97558In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97559In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9756The GenerateBlocks plugin for WordPress is vulnerable to Sto…6.4
- CVE-2026-97560In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97562In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97563In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97564In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97565In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97566In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97567In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-97561?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
