diff options
author | Jan Beulich <jbeulich@suse.com> | 2017-06-13 22:28:27 +0200 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2017-06-13 22:28:32 +0200 |
commit | 089bc0143f489bd3a4578bdff5f4ca68fb26f341 (patch) | |
tree | cacf9b2c4a98d97f7b697537fbbcd0909eb7ff1f /crypto/poly1305_generic.c | |
parent | xen/blkback: don't use xen_blkif_get() in xen-blkback kthread (diff) | |
download | linux-089bc0143f489bd3a4578bdff5f4ca68fb26f341.tar.xz linux-089bc0143f489bd3a4578bdff5f4ca68fb26f341.zip |
xen-blkback: don't leak stack data via response ring
Rather than constructing a local structure instance on the stack, fill
the fields directly on the shared ring, just like other backends do.
Build on the fact that all response structure flavors are actually
identical (the old code did make this assumption too).
This is XSA-216.
Cc: stable@vger.kernel.org
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'crypto/poly1305_generic.c')
0 files changed, 0 insertions, 0 deletions