commit | baf6b1921da38ee9549e80511a9c8b9b0542f127 | [log] [tgz] |
---|---|---|
author | Ross Lagerwall <ross.lagerwall@citrix.com> | Tue Jan 08 18:30:57 2019 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 16 22:12:31 2019 +0100 |
tree | 91a3ced367103422908309c6fd5bc9ebc496304e | |
parent | cf5ff10d75f6c8f08d98f0efc0a582f26a4454ba [diff] |
cifs: Fix potential OOB access of lock element array commit b9a74cde94957d82003fb9f7ab4777938ca851cd upstream. If maxBuf is small but non-zero, it could result in a zero sized lock element array which we would then try and access OOB. Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com> Signed-off-by: Steve French <stfrench@microsoft.com> CC: Stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>