commit | 7e34e0bbc6449458a8de675814ffa22dec003698 | [log] [tgz] |
---|---|---|
author | Tero Kristo <t-kristo@ti.com> | Wed May 27 15:24:25 2020 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Jun 04 22:03:40 2020 +1000 |
tree | f2bd36258761a2e231f1e1c3a980e2faf8fd205c | |
parent | 8dc43636e39a89ec51188b012a789625fa83bbe0 [diff] |
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>