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: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure via Kernel Stack Leakage
Action: Apply Patch
AI Analysis

Impact

The Linux kernel’s SMB client processes POSIX directory attributes sent by SMB servers. In the function cifs_posix_to_fattr(), the return value of posix_info_parse() is ignored. When a server sends a malformed entry—such as invalid SID lengths—the parse function returns –1 and does not populate the parsed.owner and parsed.group fields. The code then passes these uninitialized values to sid_to_id(), which creates a SID string and forwards it to request_key(), leaking kernel stack contents to the userspace idmap daemon. The flaw thus permits disclosure of sensitive kernel data to an attacker who can influence SMB traffic.

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 EPSS score is reported as < 1%, indicating a very low but non‑zero probability of exploitation. The CVSS base score of 5.5 reflects a moderate impact. The vulnerability is not listed in the CISA KEV catalog. An attacker who can establish SMB communication with the vulnerable client can trigger the flaw and export kernel stack contents to userspace, potentially exposing confidential information. The likely attack vector involves a malicious or compromised SMB server sending crafted directory entries to a client that maintains the vulnerable code path.

Generated by OpenCVE AI on October 1, 2026 at 10:12 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the patch checking the return value of posix_info_parse().
  • After updating the kernel, 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 SMB client traffic to trusted servers using firewall rules or by disabling SMB client services if not required.

Generated by OpenCVE AI on October 1, 2026 at 10:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 15 Oct 2026 13:30:00 +0000


Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-908
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


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-10-15T10:11:50.279Z

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-10-15T11:18:08.807

Link: CVE-2026-97554

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-97554 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T10:15:06Z

Weaknesses
  • CWE-908

    Use of Uninitialized Resource