In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix incorrect validation for num_aces field of smb_acl parse_dcal() validate num_aces to allocate posix_ace_state_array. if (num_aces > ULONG_MAX / sizeof(struct smb_ace *)) It is an incorrect validation that we can create an array of size ULONG_MAX. smb_acl has ->size field to calculate actual number of aces in request buffer size. Use this to check invalid num_aces.
| Product | Vendor | Version |
|---|---|---|
| Linux | Linux | Windows 10 for x64-based Systems |
| Linux | Linux | Windows Server 2016 |
| Linux | Linux | < 4.5.2.1566 build 20210202 |
| Linux | Linux | < h4.5.1.1472 build 20201031 |