{"id":"CVE-2026-97554","summary":"smb: client: avoid using uninitialized SIDs in cifs_posix_to_fattr()","details":"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.","modified":"2026-11-13T04:02:55.387961649Z","published":"2026-09-25T10:21:45.851Z","related":["SUSE-SU-2026:24386-1","SUSE-SU-2026:24422-1","SUSE-SU-2026:24437-1","SUSE-SU-2026:24446-1","SUSE-SU-2026:24550-1","SUSE-SU-2026:24619-1","openSUSE-SU-2026:12074-1","openSUSE-SU-2026:22167-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97554.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1915b69e36906968e2b698699d0f219875ae846e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2be31f252ade791b84f7164991f14436aed1d4b9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/33106019c3be57b5fc6411cfaad6d98214a51265"},{"type":"WEB","url":"https://git.kernel.org/stable/c/604feb3e8141bf11f5afd48d36d401fee5af9536"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c9a8b60ce140a68d172452f418137fc7ddbae7db"},{"type":"WEB","url":"https://git.kernel.org/stable/c/da6e25842431982d5a53cf00d925b98c690f4467"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97554.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97554"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9934430e2178d5164eb1ac91a9b092f9e7e64745"},{"fixed":"1915b69e36906968e2b698699d0f219875ae846e"},{"fixed":"604feb3e8141bf11f5afd48d36d401fee5af9536"},{"fixed":"33106019c3be57b5fc6411cfaad6d98214a51265"},{"fixed":"2be31f252ade791b84f7164991f14436aed1d4b9"},{"fixed":"c9a8b60ce140a68d172452f418137fc7ddbae7db"},{"fixed":"da6e25842431982d5a53cf00d925b98c690f4467"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"dd80b98bdf0a4b3206739f3513b0518f27a7b4ef"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d8e39c11f66125f49de55537a6efc8ecadf4a0f7"}]}],"versions":["v5.8.18","v5.8.17","v5.9.16","v5.9.15","v5.9.14","v5.9.13","v5.9.12","v5.9.11","v5.9.10","v5.9.9","v5.9.8","v5.9.7","v5.9.6","v5.9.5","v5.9.4","v5.9.3","v5.9.2"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-97554.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.8.17"},{"fixed":"5.9"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.9.2"},{"fixed":"5.10"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.10.0"},{"fixed":"6.1.191"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.114"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.57"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-97554.json"}}],"schema_version":"1.9.2"}