CVE-2026-97554

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

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.

Key facts

Published
25 Sep 2026
Last changed
30 Oct 2026
Assigned by
Linux
EPSS
0.212% likely to be exploited in the next 30 days, higher than 11.555% of CVEs (scores for 17 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 9934430e2178d5164eb1ac91a9b092f9e7e64745 up to but excluding 1915b69e36906968e2b698699d0f219875ae846e (affected)
  • 9934430e2178d5164eb1ac91a9b092f9e7e64745 up to but excluding 604feb3e8141bf11f5afd48d36d401fee5af9536 (affected)
  • 9934430e2178d5164eb1ac91a9b092f9e7e64745 up to but excluding 33106019c3be57b5fc6411cfaad6d98214a51265 (affected)
  • 9934430e2178d5164eb1ac91a9b092f9e7e64745 up to but excluding 2be31f252ade791b84f7164991f14436aed1d4b9 (affected)
  • 9934430e2178d5164eb1ac91a9b092f9e7e64745 up to but excluding c9a8b60ce140a68d172452f418137fc7ddbae7db (affected)
  • 9934430e2178d5164eb1ac91a9b092f9e7e64745 up to but excluding da6e25842431982d5a53cf00d925b98c690f4467 (affected)
  • dd80b98bdf0a4b3206739f3513b0518f27a7b4ef (affected)
  • d8e39c11f66125f49de55537a6efc8ecadf4a0f7 (affected)
  • 5.8.17 up to but excluding 5.9 (affected)
  • 5.9.2 up to but excluding 5.10 (affected)
LinuxLinux
  • Default status: affected
  • 5.10 (affected)
  • 0 up to but excluding 5.10 (unaffected)
  • 6.1.191 up to and including 6.1.* (unaffected)
  • 6.6.160 up to and including 6.6.* (unaffected)
  • 6.12.114 up to and including 6.12.* (unaffected)
  • 6.18.57 up to and including 6.18.* (unaffected)
  • 7.2.7 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 25 Sep 2026 Published

References