aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorJeffrey Mitchell <[email protected]>2020-08-05 17:23:19 +0000
committerTrond Myklebust <[email protected]>2020-08-12 13:46:22 +0000
commitb4487b93545214a9db8cbf32e86411677b0cca21 (patch)
treee19a8f9cbb3f0a7540eb9106fe85b6982d07f439 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentNFS: Don't return layout segments that are in use (diff)
downloadkernel-b4487b93545214a9db8cbf32e86411677b0cca21.tar.gz
kernel-b4487b93545214a9db8cbf32e86411677b0cca21.zip
nfs: Fix getxattr kernel panic and memory overflow
Move the buffer size check to decode_attr_security_label() before memcpy() Only call memcpy() if the buffer is large enough Fixes: aa9c2669626c ("NFS: Client implementation of Labeled-NFS") Signed-off-by: Jeffrey Mitchell <[email protected]> [Trond: clean up duplicate test of label->len != 0] Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions