CVE-2026-97554
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | da6e25842431982d5a53cf00d925b98c690f4467, c9a8b60ce140a68d172452f418137fc7ddbae7db, 604feb3e8141bf11f5afd48d36d401fee5af9536, 5.10, 5.9, 33106019c3be57b5fc6411cfaad6d98214a51265, 2be31f252ade791b84f7164991f14436aed1d4b9, 1915b69e36906968e2b698699d0f219875ae846e |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 9934430e2178d5164eb1ac91a9b092f9e7e64745, 9934430e2178d5164eb1ac91a9b092f9e7e64745, 9934430e2178d5164eb1ac91a9b092f9e7e64745 |
| Linux | Linux | 5.10, 0, 6.1.191 |
| Linux | Linux | 9934430e2178d5164eb1ac91a9b092f9e7e64745, 7.3, 7.2.7 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.12.114-139.210 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| linux | linux_kernel | 5.10, 5.10, 5.9.2 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
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