{"id":"CVE-2026-97554","aliases":["CVE-2026-97554"],"related":[],"kind":"vulnerability","state":"published","title":"smb: client: avoid using uninitialized SIDs in cifs_posix_to_fattr()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-25T10:21:45.851Z","modified":"2026-10-30T13:21:07.387Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"9934430e2178d5164eb1ac91a9b092f9e7e64745","fixed":"1915b69e36906968e2b698699d0f219875ae846e","status":"affected"},{"type":"git","introduced":"9934430e2178d5164eb1ac91a9b092f9e7e64745","fixed":"604feb3e8141bf11f5afd48d36d401fee5af9536","status":"affected"},{"type":"git","introduced":"9934430e2178d5164eb1ac91a9b092f9e7e64745","fixed":"33106019c3be57b5fc6411cfaad6d98214a51265","status":"affected"},{"type":"git","introduced":"9934430e2178d5164eb1ac91a9b092f9e7e64745","fixed":"2be31f252ade791b84f7164991f14436aed1d4b9","status":"affected"},{"type":"git","introduced":"9934430e2178d5164eb1ac91a9b092f9e7e64745","fixed":"c9a8b60ce140a68d172452f418137fc7ddbae7db","status":"affected"},{"type":"git","introduced":"9934430e2178d5164eb1ac91a9b092f9e7e64745","fixed":"da6e25842431982d5a53cf00d925b98c690f4467","status":"affected"},{"type":"git","version":"dd80b98bdf0a4b3206739f3513b0518f27a7b4ef","status":"affected"},{"type":"git","version":"d8e39c11f66125f49de55537a6efc8ecadf4a0f7","status":"affected"},{"type":"semver","introduced":"5.8.17","fixed":"5.9","status":"affected"},{"type":"semver","introduced":"5.9.2","fixed":"5.10","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/1915b69e36906968e2b698699d0f219875ae846e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/604feb3e8141bf11f5afd48d36d401fee5af9536","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/33106019c3be57b5fc6411cfaad6d98214a51265","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2be31f252ade791b84f7164991f14436aed1d4b9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c9a8b60ce140a68d172452f418137fc7ddbae7db","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da6e25842431982d5a53cf00d925b98c690f4467","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-97554","url":"https://www.cve.org/CVERecord?id=CVE-2026-97554","licence":"CVE Terms of Use","modified":"2026-10-30T12:37:18.935Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-97554","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97554","licence":"Public domain","modified":"2026-10-30T13:21:07.387Z"}],"updatedAt":"2026-11-25T22:59:40.955Z","epss":{"score":0.00212,"percentile":0.122,"date":"2026-12-01T12:00:22.000Z"}}