summaryrefslogtreecommitdiffstats
path: root/mm/swap_state.c
diff options
context:
space:
mode:
authorRoss Lagerwall <ross.lagerwall@citrix.com>2019-01-08 19:30:57 +0100
committerSteve French <stfrench@microsoft.com>2019-01-11 14:14:40 +0100
commitb9a74cde94957d82003fb9f7ab4777938ca851cd (patch)
treeccd9808334e6bc7ab6d53193aa7590f69de830ab /mm/swap_state.c
parentcifs: Limit memory used by lock request calls to a page (diff)
downloadlinux-b9a74cde94957d82003fb9f7ab4777938ca851cd.tar.xz
linux-b9a74cde94957d82003fb9f7ab4777938ca851cd.zip
cifs: Fix potential OOB access of lock element array
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions