{"id":"CVE-2026-97554","published":"2026-09-25T10:21:45Z","modified":"2026-10-30T12:37:18Z","title":"smb: client: avoid using uninitialized SIDs in cifs_posix_to_fattr()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: avoid using uninitialized SIDs in cifs_posix_to_fattr()\n\ncifs_posix_to_fattr() ignores the return value of posix_info_parse().\nWhen a malformed POSIX directory entry is encountered (e.g. invalid\nSID lengths from an untrusted server), posix_info_parse() returns -1\nwithout populating the 'parsed' struct.  The uninitialized stack\nmemory in parsed.owner and parsed.group is then passed to\nsid_to_id(), which processes the garbage bytes and passes them to\nrequest_key() to construct a SID string, potentially leaking kernel\nstack contents to the userspace idmap daemon.\n\nFix this by checking the return value and skipping the SID-to-id\nmapping when parsing fails.  The remaining fattr fields (timestamps,\nmode, etc.) are populated directly from the 'info' pointer so they\nare unaffected.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00215,"percentile":0.06831,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/1915b69e36906968e2b698699d0f219875ae846e","tags":[]},{"url":"https://git.kernel.org/stable/c/604feb3e8141bf11f5afd48d36d401fee5af9536","tags":[]},{"url":"https://git.kernel.org/stable/c/33106019c3be57b5fc6411cfaad6d98214a51265","tags":[]},{"url":"https://git.kernel.org/stable/c/2be31f252ade791b84f7164991f14436aed1d4b9","tags":[]},{"url":"https://git.kernel.org/stable/c/c9a8b60ce140a68d172452f418137fc7ddbae7db","tags":[]},{"url":"https://git.kernel.org/stable/c/da6e25842431982d5a53cf00d925b98c690f4467","tags":[]}],"priority":{"score":1.4,"factors":[{"name":"EPSS percentile","points":1.37}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 9934430e2178d5164eb1ac91a9b092f9e7e64745, < 1915b69e36906968e2b698699d0f219875ae846e",">= 9934430e2178d5164eb1ac91a9b092f9e7e64745, < 604feb3e8141bf11f5afd48d36d401fee5af9536",">= 9934430e2178d5164eb1ac91a9b092f9e7e64745, < 33106019c3be57b5fc6411cfaad6d98214a51265",">= 9934430e2178d5164eb1ac91a9b092f9e7e64745, < 2be31f252ade791b84f7164991f14436aed1d4b9",">= 9934430e2178d5164eb1ac91a9b092f9e7e64745, < c9a8b60ce140a68d172452f418137fc7ddbae7db",">= 9934430e2178d5164eb1ac91a9b092f9e7e64745, < da6e25842431982d5a53cf00d925b98c690f4467","dd80b98bdf0a4b3206739f3513b0518f27a7b4ef","d8e39c11f66125f49de55537a6efc8ecadf4a0f7",">= 5.8.17, < 5.9",">= 5.9.2, < 5.10"]},{"vendor":"Linux","product":"Linux","versions":["5.10"]}],"euvd":{"id":"EUVD-2026-86862","exploited":false,"provenance":"source"}}