summaryrefslogtreecommitdiff
path: root/drivers/vfio
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2019-05-01 15:27:09 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-27 16:50:45 +0300
commit4dcb3d8ab2f90e689921747dcb26dc8c360da913 (patch)
tree8b6c6de2558a98a969767bea9397ca7fa43d5db0 /drivers/vfio
parent6c5d98c80e56d45919094662a0502a5fb62b9fc9 (diff)
downloadlinux-4dcb3d8ab2f90e689921747dcb26dc8c360da913.tar.xz
afs: Fix the afs.cell and afs.volume xattr handlers
[ Upstream commit c73aa4102f5b9f261a907c3b3df94cd2c478504d ] Fix the ->get handlers for the afs.cell and afs.volume xattrs to pass the source data size to memcpy() rather than target buffer size. Overcopying the source data occasionally causes the kernel to oops. Fixes: d3e3b7eac886 ("afs: Add metadata xattrs") Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions