summaryrefslogtreecommitdiffstats
path: root/drivers/fpga
diff options
context:
space:
mode:
authorJann Horn2018-07-07 04:16:33 +0200
committerGreg Kroah-Hartman2018-07-07 09:59:35 +0200
commita0341fc1981a950c1e902ab901e98f60e0e243f3 (patch)
tree8a9327399df531520167dc77e6d3d62742735562 /drivers/fpga
parentMAINTAINERS: Add myself as driver core changes reviewer (diff)
downloadkernel-qcow2-linux-a0341fc1981a950c1e902ab901e98f60e0e243f3.tar.gz
kernel-qcow2-linux-a0341fc1981a950c1e902ab901e98f60e0e243f3.tar.xz
kernel-qcow2-linux-a0341fc1981a950c1e902ab901e98f60e0e243f3.zip
ibmasm: don't write out of bounds in read handler
This read handler had a lot of custom logic and wrote outside the bounds of the provided buffer. This could lead to kernel and userspace memory corruption. Just use simple_read_from_buffer() with a stack buffer. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Cc: stable@vger.kernel.org Signed-off-by: Jann Horn <jannh@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions