Description
In the Linux kernel, the following vulnerability has been resolved:

smb: client: avoid using uninitialized SIDs in cifs_posix_to_fattr()

cifs_posix_to_fattr() ignores the return value of posix_info_parse().
When a malformed POSIX directory entry is encountered (e.g. invalid
SID lengths from an untrusted server), posix_info_parse() returns -1
without populating the 'parsed' struct. The uninitialized stack
memory in parsed.owner and parsed.group is then passed to
sid_to_id(), which processes the garbage bytes and passes them to
request_key() to construct a SID string, potentially leaking kernel
stack contents to the userspace idmap daemon.

Fix this by checking the return value and skipping the SID-to-id
mapping when parsing fails. The remaining fattr fields (timestamps,
mode, etc.) are populated directly from the 'info' pointer so they
are unaffected.
Published: 2026-09-25
Score: n/a
EPSS: n/a
KEV: No
Impact: Information Disclosure via Kernel Stack Leakage
Action: Apply Patch
AI Analysis

Impact

The Linux kernel's SMB client contains a flaw in the function that translates POSIX attributes to Windows ACLs. When a malicious SMB server sends a malformed POSIX directory entry, the parsing routine fails but the code continues to use the uninitialized fields for the owner and group. These garbage values are converted to a SID string and sent to the userspace idmap daemon, exposing kernel stack contents to unprivileged processes.

Affected Systems

The vulnerability affects the Linux kernel, specifically the SMB client module. No specific kernel version range is listed, so any kernel build that includes the unpatched SMB client is potentially impacted.

Risk and Exploitability

The flaw is a classic instance of uninitialized memory use that can be exploited if an attacker controls or can influence the SMB server's response. While no EPSS score is available, the potential for kernel data leakage is sufficient for concern. The CVE is not listed in the CISA KEV catalog, but the impact remains a significant information disclosure risk. An attacker who can establish SMB traffic with the vulnerable client could trigger the flaw and export arbitrary kernel memory to userspace, compromising system confidentiality.

Generated by OpenCVE AI on September 25, 2026 at 13:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version where the SMB client bug has been fixed, ensuring the patch that checks the return value of posix_info_parse() is present.
  • After kernel update, reboot the system or reload the cifs module to apply the new code.
  • As a temporary defense, configure the system to reject malformed SMB packets or limit the SMB client to trusted servers by using firewall rules or disabling SMB client services if not required.

Generated by OpenCVE AI on September 25, 2026 at 13:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: smb: client: avoid using uninitialized SIDs in cifs_posix_to_fattr() cifs_posix_to_fattr() ignores the return value of posix_info_parse(). When a malformed POSIX directory entry is encountered (e.g. invalid SID lengths from an untrusted server), posix_info_parse() returns -1 without populating the 'parsed' struct. The uninitialized stack memory in parsed.owner and parsed.group is then passed to sid_to_id(), which processes the garbage bytes and passes them to request_key() to construct a SID string, potentially leaking kernel stack contents to the userspace idmap daemon. Fix this by checking the return value and skipping the SID-to-id mapping when parsing fails. The remaining fattr fields (timestamps, mode, etc.) are populated directly from the 'info' pointer so they are unaffected.
Title smb: client: avoid using uninitialized SIDs in cifs_posix_to_fattr()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-25T10:21:45.851Z

Reserved: 2026-09-24T16:01:01.154Z

Link: CVE-2026-97554

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:05.860

Modified: 2026-09-25T11:17:05.860

Link: CVE-2026-97554

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T16:00:16Z

Weaknesses

No weakness.