# CVE-2026-99532: ksmbd: validate security descriptor offsets before pointer arithmetic

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-11-19T14:44:44.973Z
- Modified: 2026-11-23T08:17:55.277Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: validate security descriptor offsets before pointer arithmetic

parse_sec_desc() constructs SID and DACL pointers by adding untrusted
32-bit offsets to the security descriptor before checking their bounds.
The existing checks reject offsets into the descriptor header, but do
not reject offsets beyond the descriptor's length.

On a 32-bit kernel, a large offset can wrap the pointer before the
descriptor. The end-only checks in parse_sid() and parse_dacl() can then
accept it, allowing an authenticated SMB2 SET_INFO request to access
memory outside the security descriptor and fault the kernel.

Check each nonzero offset against acl_len before constructing its
pointer. Initialize the optional owner and group SID pointers to NULL
so an omitted SID remains absent when parsing the DACL.

(As written by CVE List.)

## Affected

- Linux Linux: from 0626e6641f6b467447c81dd7678a69c66f7746cf before 6d9bd792f0aedef467fe76430a2c5b8d19de5a0d; from 0626e6641f6b467447c81dd7678a69c66f7746cf before a20f213f0bac5b911268ec2c3b932ee85e05c87d; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 1e1bf8ea2768f8b32fc280308a96f1dcbd5cf24c; from 0626e6641f6b467447c81dd7678a69c66f7746cf before f2eca58cf5de3554f7083c0ae5f78a93e2fe88c3; from 0626e6641f6b467447c81dd7678a69c66f7746cf before e8aa0ac634f0d30a5df8106791ba67b17f71e2ae; from 0626e6641f6b467447c81dd7678a69c66f7746cf before e14b640498c4c5dae35ee1c605a76527f01fdc8b; from 0626e6641f6b467447c81dd7678a69c66f7746cf before 3474e1a304fbf9f7c996b24adcd519e031227a90; 5.15 (not affected: before 5.15; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/6d9bd792f0aedef467fe76430a2c5b8d19de5a0d>
- <https://git.kernel.org/stable/c/a20f213f0bac5b911268ec2c3b932ee85e05c87d>
- <https://git.kernel.org/stable/c/1e1bf8ea2768f8b32fc280308a96f1dcbd5cf24c>
- <https://git.kernel.org/stable/c/f2eca58cf5de3554f7083c0ae5f78a93e2fe88c3>
- <https://git.kernel.org/stable/c/e8aa0ac634f0d30a5df8106791ba67b17f71e2ae>
- <https://git.kernel.org/stable/c/e14b640498c4c5dae35ee1c605a76527f01fdc8b>
- <https://git.kernel.org/stable/c/3474e1a304fbf9f7c996b24adcd519e031227a90>

## Sources

- CVE List: [CVE-2026-99532](https://www.cve.org/CVERecord?id=CVE-2026-99532), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99532](https://nvd.nist.gov/vuln/detail/CVE-2026-99532), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99532 · Whole record: https://cve.day/CVE-2026-99532.json · Rebuilt by cve.day 2026-11-25T22:59:52.105Z
