| From | David Laight <> | Subject | RE: [PATCH] keys/encrypted: Fix two crypto-on-the-stack bugs | Date | Tue, 13 Dec 2016 12:20:08 +0000 |
| |
From: Andy Lutomirski > Sent: 12 December 2016 20:53 > The driver put a constant buffer of all zeros on the stack and > pointed a scatterlist entry at it in two places. This doesn't work > with virtual stacks. Use a static 16-byte buffer of zeros instead. ...
I didn't think you could dma from static data either.
David
|