CVE-2026-97554
High 7.1No known exploitationFix availablesmb: client: avoid using uninitialized SIDs in cifs_posix_to_fattr()
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 12% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from 5.8.17 before 5.9 | 5.9 | CVE Program |
| Linux | Linux | from 5.9.2 before 5.10 | 5.10 | CVE Program |
| Linux | Linux | from 9934430e2178d5164eb1ac91a9b092f9e7e64745 before 604feb3e8141bf11f5afd48d36d401fee5af9536 | 604feb3e8141bf11f5afd48d36d401fee5af9536 | CVE Program |
| Linux | Linux | from 9934430e2178d5164eb1ac91a9b092f9e7e64745 before 33106019c3be57b5fc6411cfaad6d98214a51265 | 33106019c3be57b5fc6411cfaad6d98214a51265 | CVE Program |
| Linux | Linux | from 9934430e2178d5164eb1ac91a9b092f9e7e64745 before 1915b69e36906968e2b698699d0f219875ae846e | 1915b69e36906968e2b698699d0f219875ae846e | CVE Program |
| Linux | Linux | from 9934430e2178d5164eb1ac91a9b092f9e7e64745 before 2be31f252ade791b84f7164991f14436aed1d4b9 | 2be31f252ade791b84f7164991f14436aed1d4b9 | CVE Program |
| Linux | Linux | from 9934430e2178d5164eb1ac91a9b092f9e7e64745 before c9a8b60ce140a68d172452f418137fc7ddbae7db | c9a8b60ce140a68d172452f418137fc7ddbae7db | CVE Program |
| Linux | Linux | from 9934430e2178d5164eb1ac91a9b092f9e7e64745 before da6e25842431982d5a53cf00d925b98c690f4467 | da6e25842431982d5a53cf00d925b98c690f4467 | CVE Program |
| Linux | Linux | 5.10 | Not documented | CVE Program |
| Linux | Linux | d8e39c11f66125f49de55537a6efc8ecadf4a0f7 | Not documented | CVE Program |
| Linux | Linux | dd80b98bdf0a4b3206739f3513b0518f27a7b4ef | Not documented | CVE Program |
| Microsoft | azl3 kernel 6.6.157.1-1 on Azure Linux 3.0 | Not documented | Not documented | Microsoft MSRC |
| Microsoft | azl3 kernel 6.6.159.1-1 on Azure Linux 3.0 | Not documented | 6.6.161.1-1 | Microsoft MSRC |
| Microsoft | azl4 kernel 6.18.50-1.5.azl4 on Azure Linux 4.0 | Not documented | 0:6.18.57-1.1.azl4 | Microsoft MSRC |
| Linux | Linux (unaffected) | from 6.1.191 up to and including 6.1.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.12.114 up to and including 6.12.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.57 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.6.160 up to and including 6.6.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 7.2.7 up to and including 7.2.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.3 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 5.10 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Advisory change
Microsoft advisory revised (4.0): Information published.
Advisory change
Microsoft advisory revised (5.0): Information published.
Advisory change
Microsoft advisory revised (6.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- https://git.kernel.org/stable/c/1915b69e36906968e2b698699d0f219875ae846e (opens in a new tab)
- https://git.kernel.org/stable/c/2be31f252ade791b84f7164991f14436aed1d4b9 (opens in a new tab)
- https://git.kernel.org/stable/c/33106019c3be57b5fc6411cfaad6d98214a51265 (opens in a new tab)
- https://git.kernel.org/stable/c/604feb3e8141bf11f5afd48d36d401fee5af9536 (opens in a new tab)
- https://git.kernel.org/stable/c/c9a8b60ce140a68d172452f418137fc7ddbae7db (opens in a new tab)
- https://git.kernel.org/stable/c/da6e25842431982d5a53cf00d925b98c690f4467 (opens in a new tab)