diff options
author | Tero Kristo <t-kristo@ti.com> | 2020-05-27 15:24:25 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-06-04 22:03:40 +1000 |
commit | 7e34e0bbc6449458a8de675814ffa22dec003698 (patch) | |
tree | f2bd36258761a2e231f1e1c3a980e2faf8fd205c /Documentation | |
parent | 8dc43636e39a89ec51188b012a789625fa83bbe0 (diff) | |
download | linux-7e34e0bbc6449458a8de675814ffa22dec003698.tar.gz linux-7e34e0bbc6449458a8de675814ffa22dec003698.tar.bz2 linux-7e34e0bbc6449458a8de675814ffa22dec003698.zip |
crypto: omap-crypto - fix userspace copied buffer access
In case buffers are copied from userspace, directly accessing the page
will most likely fail because it hasn't been mapped into the kernel
memory space. Fix the issue by forcing a kmap / kunmap within the
cleanup functionality.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions