Skip to content
Threat Brief

← All advisories

CVE-2026-97561

Medium 6.5No known exploitationFix available

smb: client: honor forceuid/forcegid when mapping SIDs to uid/gid

Record last updated

CVSS score

6.5

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.2%

Higher than 12% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Patching and mitigation

Patch status
Fix available (source: Microsoft MSRC)
Fix documented (source date)
Mitigation
None documented
Vendor guidance
msrc.microsoft.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
LinuxLinuxfrom 9409ae58e0759d010b347e7b19ebc90ab5d4b98f before 89a3b4704af2208e381c55037ff2d1e2365b83e489a3b4704af2208e381c55037ff2d1e2365b83e4CVE Program
LinuxLinuxfrom 9409ae58e0759d010b347e7b19ebc90ab5d4b98f before 6ac7a29691558bed18e2df1780636b8aa0fd13d56ac7a29691558bed18e2df1780636b8aa0fd13d5CVE Program
LinuxLinuxfrom 9409ae58e0759d010b347e7b19ebc90ab5d4b98f before 18a72975e9f35aadecc75b031f693f2d1f49308f18a72975e9f35aadecc75b031f693f2d1f49308fCVE Program
LinuxLinuxfrom 9409ae58e0759d010b347e7b19ebc90ab5d4b98f before e1b74f8f8c1d13190b09fe623b729d36b7ac22a8e1b74f8f8c1d13190b09fe623b729d36b7ac22a8CVE Program
LinuxLinuxfrom 9409ae58e0759d010b347e7b19ebc90ab5d4b98f before be6eccccec867c22d7c65fab4ea4e91ec3d5b8c6be6eccccec867c22d7c65fab4ea4e91ec3d5b8c6CVE Program
LinuxLinuxfrom 9409ae58e0759d010b347e7b19ebc90ab5d4b98f before bc35de451c128d399ad185d6269f8847e97cd1c9bc35de451c128d399ad185d6269f8847e97cd1c9CVE Program
LinuxLinux3.0Not documentedCVE Program
Microsoftazl3 kernel 6.6.157.1-1 on Azure Linux 3.0Not documentedNot documentedMicrosoft MSRC
Microsoftazl3 kernel 6.6.159.1-1 on Azure Linux 3.0Not documented6.6.161.1-1Microsoft MSRC
Microsoftazl4 kernel 6.18.50-1.5.azl4 on Azure Linux 4.0Not documented0:6.18.57-1.1.azl4Microsoft MSRC
LinuxLinux (unaffected)from 6.1.191 up to and including 6.1.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.12.114 up to and including 6.12.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.18.57 up to and including 6.18.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.6.160 up to and including 6.6.*Not documentedCVE Program
LinuxLinux (unaffected)from 7.2.7 up to and including 7.2.*Not documentedCVE Program
LinuxLinux (unaffected)7.3Not documentedCVE Program
LinuxLinux (unaffected)all versions before 3.0Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by Linux

    Source: CVE Program (opens in a new tab)

  2. Advisory

    Microsoft advisory published

    Source: Microsoft MSRC (opens in a new tab)

  3. Advisory change

    Microsoft advisory revised (2.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  4. Advisory change

    Microsoft advisory revised (3.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  5. Advisory change

    Microsoft advisory revised (4.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  6. Advisory change

    Microsoft advisory revised (5.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  7. Advisory change

    Microsoft advisory revised (6.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  8. Patch

    Fix documented by Microsoft MSRC

    Source: Microsoft MSRC (opens in a new tab)

Vendor guidance and references