← VULNERABILITIES

CVE-2026-99532

ksmbd: validate security descriptor offsets before pointer arithmetic

UnscoredFix available
CVSS
—
EPSS
0.21% (p12)
Published
2026-11-19
Age
15d old
Modified
2026-11-23
Product
Linux 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.

Fixed in

1e1bf8ea2768f8b32fc280308a96f1dcbd5cf24c · 3474e1a304fbf9f7c996b24adcd519e031227a90 · 6.12.117 · 6.18.61 · 6d9bd792f0aedef467fe76430a2c5b8d19de5a0d · 7.3.2 · a20f213f0bac5b911268ec2c3b932ee85e05c87d · e14b640498c4c5dae35ee1c605a76527f01fdc8b · e8aa0ac634f0d30a5df8106791ba67b17f71e2ae · f2eca58cf5de3554f7083c0ae5f78a93e2fe88c3

Affected packages

EcosystemPackageRangeFixed
LinuxKernel>=5.15.0, <6.12.1176.12.117
LinuxKernel>=6.13.0, <6.18.616.18.61
LinuxKernel>=6.19.0, <7.3.27.3.2
vendorLinux>=0626e6641f6b467447c81dd7678a69c66f7746cf, <1e1bf8ea2768f8b32fc280308a96f1dcbd5cf24c1e1bf8ea2768f8b32fc280308a96f1dcbd5cf24c
vendorLinux>=0626e6641f6b467447c81dd7678a69c66f7746cf, <3474e1a304fbf9f7c996b24adcd519e031227a903474e1a304fbf9f7c996b24adcd519e031227a90
vendorLinux>=0626e6641f6b467447c81dd7678a69c66f7746cf, <6d9bd792f0aedef467fe76430a2c5b8d19de5a0d6d9bd792f0aedef467fe76430a2c5b8d19de5a0d
vendorLinux>=0626e6641f6b467447c81dd7678a69c66f7746cf, <a20f213f0bac5b911268ec2c3b932ee85e05c87da20f213f0bac5b911268ec2c3b932ee85e05c87d
vendorLinux>=0626e6641f6b467447c81dd7678a69c66f7746cf, <e14b640498c4c5dae35ee1c605a76527f01fdc8be14b640498c4c5dae35ee1c605a76527f01fdc8b
vendorLinux>=0626e6641f6b467447c81dd7678a69c66f7746cf, <e8aa0ac634f0d30a5df8106791ba67b17f71e2aee8aa0ac634f0d30a5df8106791ba67b17f71e2ae
vendorLinux>=0626e6641f6b467447c81dd7678a69c66f7746cf, <f2eca58cf5de3554f7083c0ae5f78a93e2fe88c3f2eca58cf5de3554f7083c0ae5f78a93e2fe88c3

Sources

  • NVD · first seen 15d ago · NVD terms of use
  • OSV · first seen 15d ago · CC-BY 4.0
  • CVE List · first seen 15d ago · CVE Terms of Use

References

JSON