VDB

CVE-2026-97554

CVE-2026-97554 PUBLISHED

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

Reported by linux · Published September 25, 2026

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.

EPSS 0.21% · 11.5th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxda6e25842431982d5a53cf00d925b98c690f4467, c9a8b60ce140a68d172452f418137fc7ddbae7db, 604feb3e8141bf11f5afd48d36d401fee5af9536, 5.10, 5.9, 33106019c3be57b5fc6411cfaad6d98214a51265, 2be31f252ade791b84f7164991f14436aed1d4b9, 1915b69e36906968e2b698699d0f219875ae846e

Risk scores

EPSS Score
0.21%
11.5th percentile

Affected products

VendorProductVersions
LinuxLinux9934430e2178d5164eb1ac91a9b092f9e7e64745, 9934430e2178d5164eb1ac91a9b092f9e7e64745, 9934430e2178d5164eb1ac91a9b092f9e7e64745
LinuxLinux5.10, 0, 6.1.191
LinuxLinux9934430e2178d5164eb1ac91a9b092f9e7e64745, 7.3, 7.2.7
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.12-headers0
amazon:2023python3-perf6.120
amazon:2023perf6.120
amazon:2023kernel-livepatch-6.12.114-139.2100
amazon:2023kernel6.12-tools0
linuxlinux_kernel5.10, 5.10, 5.9.2
amazon:2023bpftool6.120
amazon:2023kernel6.120
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-tools-devel0

Timeline

  • Sep 25, 2026 Coalition ESS Score
  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (12 in total, the first dated here)
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-97554
vulnetix vdb fixes CVE-2026-97554

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-97554/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›