diff options
author | Keith Busch | 2018-11-07 07:37:45 -0700 |
---|---|---|
committer | Jens Axboe | 2018-11-07 15:41:31 -0700 |
commit | f3587d76da05f68098ddb1cb3c98cc6a9e8a402c (patch) | |
tree | 8b63b149df907b539e68069d20bcfcfd1480a06d /arch | |
parent | e31d36b0a453d581fb077fce6883811c5e14874d (diff) |
block: Clear kernel memory before copying to user
If the kernel allocates a bounce buffer for user read data, this memory
needs to be cleared before copying it to the user, otherwise it may leak
kernel memory to user space.
Laurence Oberman <loberman@redhat.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions