CVE-2026-97561
Received Received - Intake

SMB Client Forceuid Forcegid Ownership Bypass

Vulnerability report for CVE-2026-97561, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-25

Last updated on: 2026-09-25

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-25
Last Modified
2026-09-25
Generated
2026-09-25
AI Q&A
2026-09-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel allows a malicious SMB server to override local file ownership settings when a client mounts a share with forceuid or forcegid options. Normally, these options force all files to appear owned by a specified user or group, but certain code paths ignored these settings and used server-provided values instead.

Impact Analysis

If you mount an SMB share with forceuid or forcegid, an untrusted server could manipulate file ownership, potentially allowing unauthorized access to sensitive files or causing system instability by altering ownership of critical files.

Compliance Impact

This vulnerability could lead to unauthorized access or modification of sensitive data, violating compliance requirements like GDPR (data protection) or HIPAA (health information privacy) by allowing improper file ownership changes.

Mitigation Strategies

Update the Linux kernel to the latest patched version to resolve the vulnerability. Ensure that the forceuid and forcegid mount options are properly enforced by verifying the kernel behavior after update.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-97561. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart