{"id":"CVE-2026-99532","summary":"ksmbd: validate security descriptor offsets before pointer arithmetic","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: validate security descriptor offsets before pointer arithmetic\n\nparse_sec_desc() constructs SID and DACL pointers by adding untrusted\n32-bit offsets to the security descriptor before checking their bounds.\nThe existing checks reject offsets into the descriptor header, but do\nnot reject offsets beyond the descriptor's length.\n\nOn a 32-bit kernel, a large offset can wrap the pointer before the\ndescriptor. The end-only checks in parse_sid() and parse_dacl() can then\naccept it, allowing an authenticated SMB2 SET_INFO request to access\nmemory outside the security descriptor and fault the kernel.\n\nCheck each nonzero offset against acl_len before constructing its\npointer. Initialize the optional owner and group SID pointers to NULL\nso an omitted SID remains absent when parsing the DACL.","modified":"2026-11-19T17:01:26.940874561Z","published":"2026-11-19T14:44:44.973Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99532.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3474e1a304fbf9f7c996b24adcd519e031227a90"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e14b640498c4c5dae35ee1c605a76527f01fdc8b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e8aa0ac634f0d30a5df8106791ba67b17f71e2ae"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f2eca58cf5de3554f7083c0ae5f78a93e2fe88c3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99532.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99532"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf"},{"fixed":"f2eca58cf5de3554f7083c0ae5f78a93e2fe88c3"},{"fixed":"e8aa0ac634f0d30a5df8106791ba67b17f71e2ae"},{"fixed":"e14b640498c4c5dae35ee1c605a76527f01fdc8b"},{"fixed":"3474e1a304fbf9f7c996b24adcd519e031227a90"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99532.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99532.json"}}],"schema_version":"1.9.2"}